mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add segments array to CircularInstance
This is needed because a circular instance are set by updating CircularIntance.segments[0].value. See update() example in the following documentation: http://www.chartjs.org/docs/#doughnut-pie-chart-prototype-methods.
This commit is contained in:
Vendored
+1
@@ -115,6 +115,7 @@ interface CircularInstance extends ChartInstance {
|
||||
update: () => void;
|
||||
addData: (valuesArray: CircularChartData[], index: number) => void;
|
||||
removeData: (index: number) => void;
|
||||
segments: Array<CircularChartData>;
|
||||
}
|
||||
|
||||
interface LineChartOptions extends ChartOptions {
|
||||
|
||||
Reference in New Issue
Block a user