Cigarette bar chart
D3 chart
For all common D3 chart properties, refer to D3 chart API.
Chart.Cigarette
js
import { Chart } from '@semcore/ui/d3-chart';CigaretteChartProps
BaseChartProps<> & {...}| Name | Type | Description |
|---|---|---|
| tooltipTitle | string | Title text displayed in the tooltip |
| tooltipViewType | "all" | "single" | Controls whether the tooltip shows all data or single item data |
| header | React.ReactNode | Header content for the chart |
| duration | number | Animation duration in milliseconds |
| onClick | (key: , event: React.SyntheticEvent) => void | Click handler that receives the data key and event |