GraphTypeIcon component renders SVG icons representing different graph types.
Basic usage
Props
| Prop | Description |
|---|---|
type | The graph type to display (required) |
className | Optional CSS class name for styling |
Supported icons
The component supports all graph types:column– Column graphcolumnStacked– Stacked column graphcolumnStackedFill– 100% stacked column graphbar– Bar graphbarStacked– Stacked bar graphbarStackedFill– 100% stacked bar graphline– Line graphareaStacked– Stacked area graphcombo– Combo graphpie– Pie graphdonut– Donut graphfunnel– Funnelheatmap– Heatmaptable– Tablescatter– Scatter plotbubble– Bubble plotmekko– Mekkowaterfall– Waterfall
Styling
Icons inherit thecurrentColor for their fill, making them easy to theme. You can also pass a className for custom styling: