Commit Graph

22 Commits

Author SHA1 Message Date
Masahiro Wakame
55f5685aae Merge pull request #4091 from Slimfit/patch-2
CircularInstance.addData was incorrect
2015-04-14 08:12:06 +09:00
Slimfit
32aae2c650 Missed a couple addData() calls in the test file 2015-04-11 11:36:06 -04:00
Slimfit
8fa20fff1e Updated test file CircularInstance to match new addData signature 2015-04-11 11:27:24 -04: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
ad1e185b4c Update chart-tests.ts 2014-09-29 10:10:51 +01:00
Steve Fenton
8da8bce0b1 Update chart-tests.ts 2014-09-29 10:07:57 +01:00
Steve Fenton
a03690e46e Update chart-tests.ts 2014-09-29 10:03:53 +01:00
Steve Fenton
c3da47bb1f Update chart.d.ts 2014-09-29 10:03:33 +01:00
Steve Fenton
975a3b10b6 Create chart-tests.ts 2014-09-29 08:18:39 +01:00
Steve Fenton
802b27946a Create chart.d.ts 2014-09-29 08:17:34 +01:00
Basarat Ali Syed
0d254d3a18 Delete dx.chartjs.d.ts
This definition camps on an actual project http://www.chartjs.org/
2014-09-16 10:03:07 +10:00
Igor Kriklivets
2c3ed445c0 Headers restored 2014-09-11 09:10:21 +04:00
Igor Kriklivets
9811e39597 Added backward compatibility for old version 2014-09-11 09:05:58 +04:00
Igor Kriklivets
d6d44a1d7c Revert "Old versions removed"
This reverts commit f2646a12ef.
2014-09-11 09:00:55 +04:00
Igor Kriklivets
f2646a12ef Old versions removed 2014-09-03 19:58:15 +04:00
Igor Kriklivets
6b0e6361f4 Support for 0.9.5 compiler version 2013-12-12 21:31:41 +04:00
Igor Kriklivets
8a960c12ce Remove not required .tscparams 2013-12-05 16:40:33 +04:00
Igor Kriklivets
93a2a37b88 Removed implicit any from 2013-11-20 13:40:44 +04:00
Igor Kriklivets
2f4f78d500 Added .tscparams files 2013-11-20 12:31:37 +04:00
Igor Kriklivets
04556eb65a Added definitions for PhoneJS and ChartJS 2013-11-19 10:54:59 +04:00