Dan Onoshko
e7372ade24
fix: same-looking tooltips on charts ( #10548 )
...
* fix: same-looking tooltips on multiseries charts
* fix: same-looknig tooltips on all chart types
* chore: restore tooltip plugin
* docs: additions to migration guide
* docs: remove labels from scatter and bubble examples
* docs: review fix
2022-08-18 07:34:35 -04:00
Jukka Kurkela
b06cd36697
Rename cutoutPercentage to cutout + chores ( #8514 )
2021-02-24 16:58:01 -05:00
Jukka Kurkela
a8329e4f13
Update chartjs-test-utils to v0.2.1 ( #8407 )
...
* Update chartjs-test-utils to v0.2.0
* to 0.2.1
2021-02-10 16:17:08 +02:00
Jukka Kurkela
ddfbcf777a
Update eslint-config-chartjs to v0.3.0 ( #8406 )
2021-02-10 08:21:39 -05:00
Jukka Kurkela
913a01a3a6
Move title, tooltip and legend to options.plugins ( #8089 )
...
* Move title, tooltip and legend to options.plugins
* Update tooltip.md
* Update legend.md and title.md
* Add migration notes
* typo
* Types
* Restore plurals
* One more s, restore tabs
* All plugins disabled
* lint
* cc
2020-11-25 08:50:12 +02:00
Evert Timberg
bc11f10216
Rename elements to mark as elements, i.e. Arc -> ArcElement ( #7924 )
...
* Rename elements to mark as elements, i.e. Arc -> ArcElement
* Rename RectangleElement to BarElement
* Also updates options.elements.rectangle to options.elements.bar
2020-10-20 08:18:56 -04:00
Evert Timberg
9b204eb278
Enable per-dataset circumference and rotation for pie/doughnut charts ( #7833 )
...
* Enable per-dataset circumference and rotation for pie/doughnut charts
* Convert `circumference` and `rotation` options to degrees
2020-10-03 16:47:39 -04:00
Jukka Kurkela
6bd5ad5518
Generic registry for controllers, scales, elements and plugins ( #7435 )
...
* Generic registry for controllers, scales, elements and plugins
* Remove references to scale service
2020-07-06 17:38:04 -04:00
Jukka Kurkela
7b029aa780
Doughnut / PolarArea cleanup ( #7113 )
...
Doughnut / PolarArea cleanup
2020-02-17 18:45:30 -05:00
Jukka Kurkela
fa79eb8797
Switch from chartjs-color to @kurkle/color ( #7059 )
2020-02-07 19:24:29 -05:00
Jukka Kurkela
a1c2dd6fb6
Throttle all events (to 1 / frame each) ( #6953 )
...
* Throttle all events
* Asynchronize event tests
2020-01-14 07:34:08 -05:00
Jukka Kurkela
b83f64b16e
Rewrite animation logic ( #6845 )
...
* Rewrite animation logic
* Review update 1
* Review update 2
* Review update 3
* Add 'none' to api.md
2019-12-27 17:13:24 -05:00
Ben McCann
e42413f3e8
Remove unused model properties ( #6691 )
...
* Remove unused model properties
* Add to migration guide
2019-11-05 18:10:44 -05:00
Ben McCann
0da237a315
Remove undocumented "custom" feature ( #6605 )
...
Remove undocumented "custom" feature
2019-10-27 16:33:21 -04:00
Evert Timberg
e1ed26f315
Implement scriptable options for doughnut charts ( #5966 )
2019-01-10 16:00:36 +01:00
Akihiko Kusanagi
db8f6c38dc
Add support for 'inner' border for arc elements ( #5841 )
2018-12-18 13:58:02 +01:00
Simon Brunel
be8d78a900
Make Chart.controllers.* importable ( #5871 )
...
`controllers.*.js` and `core.datasetController.js` are now importable (no more function export), that's why there is so many changes mainly due to one indentation level removed. Split code for `bar/horizontalBar` and `doughnut/pie` in separate files, added a global controllers import (`src/controllers/index.js`) and add tests to check that all dataset controllers are correctly registered under `chart.controllers.{type}`.
2018-11-29 21:06:34 +01:00
Akihiko Kusanagi
d6ac7d8a80
Fix cut off tick labels in radial scale ( #5848 )
...
Fix the issue that the topmost tick label and the bottom of the chart area are cut off with a radial scale.
2018-11-28 08:35:15 +01:00
Ben McCann
da3aa68f38
Restore original styles when removing hover ( #5570 )
...
Refactor `updateElement` and `removeHoverStyle` and fix tests.
2018-06-26 08:56:53 +02:00
Evert Timberg
26c44cf7ab
Treat negative values in doughnut charts as positive ( #5165 )
2018-01-21 12:12:33 -05:00
andig
2f950e2ab3
Improve controller tests stability ( #4698 )
2017-08-27 22:43:16 +02:00
Simon Brunel
c216c0af76
Cleanup and upgrade unit tests environment
...
`karma.conf.ci.js` has been merged into `karma.conf.js` for local testing consistency: `gulp unittestWatch` has been replaced by `gulp unittest --watch` and thus use exactly the same config file. Upgrade to latest jasmine and karma packages and remove deprecated `gulp-karma` dependency (directly use `karma.Server` in gulp).
Split `test/mockContext.js` into smaller `test/jasmine.*` modules to make easier unit tests maintenance and finally, move all `*.test.js` files under the `test/specs` folder.
2017-03-04 11:39:48 -05:00