PieChartComponent
A Pie chart.
Extends
SeriesBasedChartComponent<PieChart,PieChartOptions,PieChartComponentOptions>
Methods
ngOnDestroy()
ngOnDestroy():
void
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Returns
void
Inherited from
SeriesBasedChartComponent.ngOnDestroy
Properties
data
data:
InputSignal<ObjectData[]>
Optional data to load into the chart. This is reactive and can be updated dynamically.
Input
Overrides
SeriesBasedChartComponent.data
options
options:
InputSignal<PieChartOptions>
Options for the chart. This is reactive and can be updated dynamically.
Input
Overrides
SeriesBasedChartComponent.options
url
url:
InputSignal<string>
Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
Input
Overrides
useModel?
optionaluseModel:boolean
If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.