ChartCard
Accessible chart
Internal Component
This component is intended solely for use within GitHub and is not available for external use.React
ready
Props
ChartCard
| Name | Default | Description |
|---|---|---|
size | "medium" | SizeThe chart’s height (which affects its width and the card’s size). The following presets are supported: |
border | true | booleanWhether the card has a border. When set to |
padding | "normal" | "normal" | "none" | "spacious"Whether the card has padding. When set to |
visibleControls | true | booleanWhether the chart menu is visible. When set to |
visibleChartOptions | true | booleanWhether the chart options button is visible. When set to |
className | stringAdditional classes to apply to the card. | |
children Required | React.ReactNodeThe card’s content. Supported subcomponents:
| |
chartRef | React.RefObject<any> |