Commit Graph

30 Commits

Author SHA1 Message Date
Simon Brunel
1411fb96dc Allow module augmentation for chart.js plugin options 2018-12-16 13:08:15 +01:00
Glen
76d38d894f hoverBackgroundColor and hoverBorderColor should accept Color/Color[] 2018-12-02 14:05:33 +02:00
Daniel Luz
e35089cc40 Allow null/undefined embedded within numeric values (#29723)
Nulls are used create deliberate gaps in charts.
2018-10-15 09:29:55 -07:00
Daniel Luz
f89eb54b58 Declare enum values where applicable (#29722) 2018-10-15 09:28:27 -07:00
Conrad Holtzhausen
5d8ff34ff2 @types/chart.js: added missing legendCallback to ChartOptions 2018-09-17 15:02:03 +02:00
Amiram Korach
26defd42ae fix chart.js plugins to be an array (#27298)
http://www.chartjs.org/docs/latest/developers/plugins.html#using-plugins
2018-07-15 12:29:57 -07:00
Paul van Brenk
c4778605c6
Merge pull request #26513 from alexdor/master
[chart.js] Add getDatasetMeta fucntion to chart
2018-06-26 13:31:55 -07:00
Christophe Migliorini
e0b2d7579a added tests for RadialLinearScale 2018-06-20 11:10:00 +02:00
Alexandros Dorodoulis
4b393891da test: Add test for getDatasetMeta 2018-06-13 17:03:48 +03:00
Benoît Zugmeyer
fbd66a68aa [chart.js] add the Chart option devicePixelRatio (#24926)
See [chart.js documentation](http://www.chartjs.org/docs/latest/general/device-pixel-ratio.html)
2018-04-12 09:59:57 -07:00
Benoît Zugmeyer
c61cfb1003 [chart.js] the text property of title options can be string[] (#24923)
See the [chart.js
documentation](http://www.chartjs.org/docs/latest/configuration/title.html):
"if specified as an array, text is rendered on multiple lines."
2018-04-11 16:14:16 -07:00
Dylan Simon
00ca94db93 chart.js: add ChartOptions.onHover alias and amend type (#24740)
Present in 2.7 as per docs and code
2018-04-09 10:02:39 -07:00
rtaseen
5409ea85f9
Remove arbitrary plugin key in test object
Incorrect interface implementation
2018-02-21 21:38:12 -05:00
Kiarash
2a5d98d3a4 #23371 Fix Travis error 2018-02-03 21:35:53 +01:00
Kiarash
e28df7ba4a #23371 Fiy typo and updat test 2018-02-03 21:24:56 +01:00
Kiarash
81cd768d63 Fix TravisCI Bugs 2018-02-02 19:05:24 +01:00
Kiarash
cdcf2aca3c Remove comments 2018-02-02 18:55:46 +01:00
Kiarash
539d38aa82 Add support for Tooltip positioners for Chart.Js 2018-02-02 17:29:45 +01:00
Sergey Rubanov
18c1596bad [chart.js] Add missing legend label configuration options (#23157) 2018-01-26 09:08:30 -08:00
LeoTindall
c14a1c5e2e [chart.js] Allow plugins options to be of any type. 2017-11-29 12:15:57 -06:00
Dan Manastireanu
348c14e2f0 Add missing options to chart.js. Closes #19385 (#20824) 2017-10-24 11:04:42 -07:00
Andy
1b54a38a43 Fix remaining lint errors (#19219) 2017-08-21 14:14:31 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
武田 憲太郎
56d8e354be Add property "intersect" to ChartHoverOptions
http://www.chartjs.org/docs/latest/general/interactions/
2017-07-16 18:45:05 +09:00
武田 憲太郎
ff91164e03 add properties of ChartTooltipOptions
http://www.chartjs.org/docs/latest/configuration/tooltip.html
filter, intersect, itemSort, position, caretPadding, displayColors, borderColor, borderWidth
2017-07-16 18:45:05 +09:00
武田 憲太郎
6805914e4c type of transformed data should be not only string but number.
Some convenient function for label conversion (e.g. Math.floor) returns number. It is harmless because when displaying, toString() called implicitly.
2017-07-16 18:45:05 +09:00
武田 憲太郎
e144f0643c chart instance has properties "ctx", "canvas", "chartArea"
ctx, canvas
https://github.com/chartjs/Chart.js/blob/master/src/core/core.controller.js#L78-L79

chartArea
https://github.com/chartjs/Chart.js/blob/master/src/core/core.layoutService.js#L417-L423
2017-07-16 18:44:47 +09:00
Fabien Lavocat
aad041f57f Add tslint and fix errors 2017-06-12 09:05:39 -07:00
Fabien Lavocat
3d7140921a Remove the interface LinearChartData and move the properties to ChartData 2017-06-12 08:28:17 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00