Skip to content

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<> & {...}
NameTypeDescription
tooltipTitlestring Title text displayed in the tooltip
tooltipViewType"all" | "single" Controls whether the tooltip shows all data or single item data
headerReact.ReactNode Header content for the chart
durationnumber Animation duration in milliseconds
onClick(key: , event: React.SyntheticEvent) => void Click handler that receives the data key and event

Released under the MIT License.

Released under the MIT License.