Commit Graph
78 Commits
Author SHA1 Message Date
Ken Elkabany d2efe5aac4 chart.js: Add options for time cartesian axis. (#25462)
- ChartPoint.t, scale distribution, and ticks source.
2018-05-07 10:49:34 -07:00
Dvorak e8fd14b182 chart.js -- ChartPoint.y is allowed to be string and Date (#25474)
* Papaparse: added Parser.pause() & Parser.resume()

* chart.js -- ChartPoint.y is allowed to be string and Date
2018-05-02 08:34:58 -07:00
Westin Christensen c914299740 Chart.js :: Added a missing type for beginAtZero for TickOptions. (#24920)
* Added a missing type for beginAtZero.

* Consolidated tick options into single interface, addressed PR comments.

* Added tslint disable for a depricated interface.
2018-04-13 12:12:02 -07:00
Simon Archer 509c1b2d90 chart.js - Add datasetIndex property to ChartLegendItem (#24712)
* Add datasetIndex property to ChartLegendItem.

* New sub-type interface for ChartLegendLabelItem.
2018-04-12 10:00:20 -07: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
makino fec9ddca98 Defined plugins option more precisely. 2018-03-09 13:49:02 +09:00
makino 4462b34e09 Added plugins option property to ChartOption 2018-03-07 19:10:40 +09:00
Benjamin Lichtman 56f2bb337e Merge pull request #23944 from stuartflgray/master
[Chart.js] Add radius 'r' property to ChartPoint interface for bubble charts
2018-02-28 13:37:57 -08:00
Stuart Gray 2f96ad4778 Add bubble chart radius property to ChartPoint 2018-02-27 11:19:02 +00:00
rtaseen cc768c7089 Merge pull request #1 from rtaseen/patch-2
Remove arbitrary plugin key in test object
2018-02-21 21:41:00 -05:00
rtaseen 5409ea85f9 Remove arbitrary plugin key in test object
Incorrect interface implementation
2018-02-21 21:38:12 -05:00
rtaseen 22531c8298 "plugins" key moved from ChartConfiguration to ChartOptions
https://stackoverflow.com/questions/44308458/inline-plugin-doesnt-work
2018-02-21 21:20:28 -05:00
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Ron Buckton 9a5b1dbfe0 Merge pull request #23371 from Silver-Connection/master
Add Tooltip positioners support for Chart.js
2018-02-07 18:54:41 -08:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Kiarash d4fbe68f63 #23371 Change ChartTooltipOptions.position tpye to string 2018-02-03 21:51:48 +01: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 657add1fa2 #23371 Better definition for Chart.js 2018-02-03 21:11:43 +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 7fc0863179 Increase version for Chart.Js 2018-02-02 17:32:37 +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
Guillaume RODRIGUEZ db0522e8fe [chart.js] Fix dafaults and controllers Chart (#23027) 2018-01-23 12:57:46 -08:00
ReDragon710 cd53b3f923 added unregister method to pluginservice (#22958)
* added unregister to pluginservice

added unregister method to plugin service,
the unregister method was absent

* Update index.d.ts
2018-01-23 11:11:45 -08:00
Aleksei Semin 004214636e Fix TickOptions.autoSkipPadding type
According to [chartjs](http://www.chartjs.org/docs/latest/axes/cartesian/#tick-configuration) docs `TickOptions` property `autoSkipPadding` has type `number`.
2017-12-11 11:57:33 +01:00
LeoTindall c14a1c5e2e [chart.js] Allow plugins options to be of any type. 2017-11-29 12:15:57 -06:00
Adrien Vergé 36e1028c29 chart.js: Add missing 'aspectRatio' in ChartOptions 2017-11-23 15:18:37 +01:00
Nathan Shively-Sanders 20d67fefc8 Merge pull request #21406 from tchandelle/chart_js_tooltip_callbacks
[Chart.js] Fixes tooltip callbacks, set return and data type
2017-11-16 09:50:56 -08:00
Thomas Chandelle 04ee02e9c8 Make the arguments non-optional, they will always be set by Chart.js 2017-11-16 08:53:18 +01:00
Thomas Chandelle 904f3cc6c6 Add labelColor and labelTextColor in tooltip callbacks 2017-11-12 15:06:14 +01:00
Thomas Chandelle 632e081d9b Fixes tooltip callbacks, set return and data type
http://www.chartjs.org/docs/latest/configuration/tooltip.html#tooltip-callbacks

All functions are called with the same arguments: a tooltip item and
the data object passed to the chart. All functions must return either
a string or an array of strings
2017-11-10 14:53:59 +01:00
Kubicek Daniel 528774a8a6 [chart.js] Add 'pie' to ChartType 2017-11-10 14:49:11 +01:00
Thomas Chandelle 84b1d3f482 Allow borderWidth and borderColor to be indexed
Useful only for bar charts,
see http://www.chartjs.org/docs/latest/charts/bar.html
2017-11-09 11:27:34 +01:00
Jacek Dargiel b10fee8e1b [Chart.js] Update chart onClick Interface to be more specific and include activeElements array 2017-10-30 17:35:24 +01:00
Dan Manastireanu 348c14e2f0 Add missing options to chart.js. Closes #19385 (#20824) 2017-10-24 11:04:42 -07:00
Jacek Dargiel ed5cfecfd7 Add ChartLayoutOptions (#20758) 2017-10-20 08:17:25 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Jakob Truelsen 6667645472 Move axe call back to axe from scales (#20273)
These callbacks do not exist on scales, but exist instead on the axe.
This is not well described in the documentation, but adding them to the scales
they are never called while they are called if they are added to the axe.
2017-10-06 10:02:33 -07:00
Dan Cervelli feb8964978 Fix typo, 'drawticks' -> 'drawTicks'. (#20150) 2017-10-02 10:36:44 -07:00
Chris Grigg cfe96c0b59 ChartLegendLabelOptions.fontStyle is a string (#20006)
Per docs at http://www.chartjs.org/docs/latest/configuration/legend.html#legend-label-configuration. Tested in code, string works correctly.
2017-09-25 12:12:05 -07:00
Joseph Page 94925c5376 Add ChartFontOptions to global Chart.js options 2017-09-18 13:15:50 -04:00
Daniel Luz 4ab3919c4e Add missing options to chart.js 2017-09-04 09:31:45 -03:00
Daniel Luz ebb97ec701 Improve specificity of types in chart.js 2017-09-04 09:31:39 -03:00
Daniel Luz 4936e07d7c Update chart.js constructor declaration
Any array-like value is accepted, not just jQuery; also, string[] is not
actually supported
2017-09-02 20:18:32 -03:00
Andy 1b54a38a43 Fix remaining lint errors (#19219) 2017-08-21 14:14:31 -07:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00