Masahiro Wakame
|
55f5685aae
|
Merge pull request #4091 from Slimfit/patch-2
CircularInstance.addData was incorrect
|
2015-04-14 08:12:06 +09:00 |
|
Slimfit
|
262cd5c3fc
|
CircularInstance.addData was incorrect
addData takes a single object of type CircularChartData, not an array. Also the index is optional. See addData example in the documentation http://www.chartjs.org/docs/#doughnut-pie-chart-prototype-methods
|
2015-04-11 11:13:27 -04:00 |
|
Slimfit
|
43fe8614da
|
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.
|
2015-04-10 17:39:42 -04:00 |
|
Ivan Akulov
|
32b31deb18
|
Mark "highlight" and "label" properties of CircularChartData as optional
The "highlight" and "label" properties of CircularChartData are actually optional: highlight defaults to color (https://github.com/nnnick/Chart.js/blob/master/src/Chart.Doughnut.js#L98), and label is only rendered when present (https://github.com/nnnick/Chart.js/blob/master/src/Chart.Doughnut.js#L35).
|
2015-03-17 13:17:14 +03:00 |
|
Steve Fenton
|
c3da47bb1f
|
Update chart.d.ts
|
2014-09-29 10:03:33 +01:00 |
|
Steve Fenton
|
802b27946a
|
Create chart.d.ts
|
2014-09-29 08:17:34 +01:00 |
|