mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +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:
1 parent
d5f92f93bd
commit
43fe8614da
1 file changed
+1
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