Commit Graph
71 Commits
Author SHA1 Message Date
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 LichtmanandGitHub 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
rtaseenandGitHub cc768c7089 Merge pull request #1 from rtaseen/patch-2
Remove arbitrary plugin key in test object
2018-02-21 21:41:00 -05:00
rtaseenandGitHub 5409ea85f9 Remove arbitrary plugin key in test object
Incorrect interface implementation
2018-02-21 21:38:12 -05:00
rtaseenandGitHub 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 BucktonandGitHub 9a5b1dbfe0 Merge pull request #23371 from Silver-Connection/master
Add Tooltip positioners support for Chart.js
2018-02-07 18:54:41 -08:00
AndyandGitHub 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 RubanovandAndy 18c1596bad [chart.js] Add missing legend label configuration options (#23157) 2018-01-26 09:08:30 -08:00
Guillaume RODRIGUEZandAndy db0522e8fe [chart.js] Fix dafaults and controllers Chart (#23027) 2018-01-23 12:57:46 -08:00
ReDragon710andAndy 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 SeminandGitHub 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-SandersandGitHub 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 ManastireanuandSheetal Nandi 348c14e2f0 Add missing options to chart.js. Closes #19385 (#20824) 2017-10-24 11:04:42 -07:00
Jacek DargielandAndy ed5cfecfd7 Add ChartLayoutOptions (#20758) 2017-10-20 08:17:25 -07:00
AndyandGitHub 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Jakob TruelsenandRyan Cavanaugh 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 CervelliandRyan Cavanaugh feb8964978 Fix typo, 'drawticks' -> 'drawTicks'. (#20150) 2017-10-02 10:36:44 -07:00
Chris GriggandMohamed Hegazy 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
AndyandGitHub 1b54a38a43 Fix remaining lint errors (#19219) 2017-08-21 14:14:31 -07:00
AndyandGitHub 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
AndyandGitHub 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Larry BahrandMohamed Hegazy 43cd9ff2b9 [chart.js] Added Line Chart Options (#18704)
* Added Line Chart Options

http://www.chartjs.org/docs/latest/charts/line.html#configuration-options
showLines - Boolean - If false, the lines between points are not drawn.
spanGaps - Boolean - If false, NaN data causes a break in the line.

* Moved location of property

* Update definitions by
2017-08-08 11:40:55 -07:00
Benjamin SvobodnyandWesley Wigham 1be93dbab9 Update index.d.ts (#18140)
Add parameters used for doughnut charts :  http://www.chartjs.org/docs/latest/charts/doughnut.html
2017-07-21 09:39:21 -07:00
武田 憲太郎 c402b5ed0e Bump version to chart.js 2.6 and add my credit 2017-07-16 18:52:32 +09: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