Skip to main content
PieChartComponentProps
PieChartComponent props
NameTypeDescription
className?stringOptional class name to set on the chart's root element.
data?Array<ObjectData>Data to load
dataSourceFilter?ChartModelFilterOptional filter to apply to the chart's data source.
interactive?booleanWhether the chart is interactive.
optionsOmit<PieChartOptions,"data" | "url" | "model">Options for the pie chart.
reactive?booleanWhether or not to respond to changes in the url or data prop. Defaults to true.
style?Record<string,any>Optional style object
url?stringURL to load data from