Evert Timberg
71fa55acac
Add parsing support to pie/doughnut charts ( #9622 )
2021-09-05 13:46:26 -04:00
Shubham Aggarwal
4af9851584
Ensure that controllers derived from the bar controller work correct in stacked charts ( #9587 )
...
* change parameter of functions
* argument and parameter change in DatasetController.js
* changing variable name to proper convention
* Update controller.bar.js
2021-09-04 13:43:34 -04:00
Jacco van den Berg
e8f2a5a271
Remove index override, ( #9469 )
...
Make barchart more inline with v2 behaviour and other charts
2021-07-27 07:59:39 -04:00
Jukka Kurkela
b32fb48574
Bar: add 'middle' option for borderSkipped ( #9452 )
...
* Bar: add 'middle' option for borderSkipped
* Split in 2
2021-07-21 07:13:45 -04:00
Jukka Kurkela
cf951ac611
Add ability to hide specific data element ( #9450 )
2021-07-21 07:08:02 -04:00
Jukka Kurkela
151188e2f2
Add data/dataset indices to line segment context ( #9451 )
2021-07-21 07:00:05 -04:00
Jukka Kurkela
c3e709e90e
Fix bar direction when minBarLength is applied ( #9400 )
2021-07-13 08:02:14 -04:00
Evert Timberg
3934935caa
Enable pointStyle for doughnut, pie, and polar area charts ( #9341 )
...
* Enable pointStyle for doughnut, pie, and polar area charts
* Fix whitespace
2021-07-01 14:15:06 -04:00
Jukka Kurkela
ba5ebceca8
Bar: ignore not-grouped bars from group bar count ( #9291 )
2021-06-19 18:28:05 -04:00
Jukka Kurkela
4002694e26
Fix: Don't use clip/unclipArea when clip: false ( #9286 )
2021-06-18 14:11:33 -04:00
Jukka Kurkela
22c02ede02
Fix updating of active elements ( #9261 )
2021-06-12 14:19:33 -04:00
Jacco van den Berg
1a7212dff5
Barheight no longer undefined ( #9208 )
2021-06-02 22:48:42 +03:00
Evert Timberg
c853ca6942
Allow setting a constance spacing between arc elements ( #9180 )
2021-05-29 17:47:44 -04:00
Jukka Kurkela
a553d57033
Fix doughnut rotation on float edge cases ( #9121 )
2021-05-18 19:24:23 -04:00
Akihiko Kusanagi
0ba5c70618
Support monotone cubic interpolation for vertical line charts ( #9084 )
...
* Support monotone cubic interpolation for vertical line charts
* Use more more intuitive veriable names
2021-05-14 17:07:26 -04:00
Akihiko Kusanagi
953b23b4ef
Fix element reset animations in vertical line and bubble charts ( #9088 )
2021-05-13 16:22:58 -04:00
Evert Timberg
024f406223
Fix polar area tooltip item label ( #9067 )
2021-05-12 07:54:21 -04:00
Jukka Kurkela
12bf256fd5
Ignore truncated pixels in bar width calculation ( #8995 )
2021-04-28 16:42:08 -04:00
Jukka Kurkela
0ad0d35c09
Fix skipNull for subsequent datasets ( #8972 )
2021-04-24 15:20:52 -04:00
Evert Timberg
b92f9e52fd
Only enable the bar borderRadius at the end of the stacks ( #8941 )
...
* Only enable the bar borderRadius at the end of the stacks
* Float bars always get borders enabled
* Tests
* Update documentation
2021-04-18 16:30:54 -04:00
Evert Timberg
a84347b035
Handle animating stacked bars from null values ( #8872 )
...
* Handle animating stacked bars from null values
* Skipped bars / points should be in the reset state
2021-04-10 20:31:14 +03:00
Jukka Kurkela
4eb59454be
Allow styling of line segments ( #8844 )
...
Allow styling of line segments
* docs & sample
* Types
* update sample
2021-04-08 18:02:12 -04:00
Nico-DF
ba3320ef19
Filtering data before decimation ( #8843 )
...
* Filtering data before decimation
Using only points between the currently displayed x-axis for the decimation algorithm.
Allows better resolution, especially if using a zoom
If data are outside range, they will not be displayed, hence the line graph will not show the trend at extremities
* Fix LTTB algorithm
* Adding test file
* Simplifying count algorithm for decimation plugin
2021-04-07 16:40:45 -04:00
Jukka Kurkela
757ddf2882
Fix: update line options on resize, for gradients ( #8832 )
2021-04-06 18:54:36 -04:00
Jukka Kurkela
dd99005b5a
Remove line interaction overrides + hover.onHover ( #8770 )
...
* Remove interaction mode overrides + hover.onHover
* Restore bar override
2021-04-01 13:47:11 -04:00
Jukka Kurkela
f1810586f7
Pie: Fix last slice animation and NaN handling ( #8760 )
...
* Pie: Fix last slice animation and NaN handling
* Add tests
* Fix polarArea
2021-03-31 15:25:25 -04:00
Jukka Kurkela
396cbcb979
Bubble: Fix maxOverflow before elements update ( #8736 )
2021-03-26 18:20:05 -04:00
Jukka Kurkela
74f2f85ec3
Line: update all points when scale range changes ( #8703 )
2021-03-23 08:28:38 -04:00
Evert Timberg
375d856a87
Expose formatNumber as a helper ( #8683 )
2021-03-21 11:04:27 +02:00
Jukka Kurkela
79cc6d3206
Use maxOverflow as minimum layout padding ( #8650 )
...
* Use maxOverflow as minimum layout padding
* fixes
2021-03-16 16:32:29 -04:00
Jukka Kurkela
420aa027b3
Exclude base-line from bar size ( #8648 )
...
* Exclude base-line from bar size
* lint
* add to types
2021-03-16 08:49:19 -04:00
Jukka Kurkela
85123ac074
Add option to turn off grouping of bar datasets ( #8641 )
...
* Add option to turn off grouping of bar datasets
* Disregard time offset
2021-03-14 11:27:57 -04:00
Evert Timberg
6ac89cbb25
Rename scale gridLines options to be clearer ( #8628 )
...
* Rename `options.gridLines` to `options.grid`
* Rename `offsetGridLines` to `offset`
2021-03-13 19:49:09 +02:00
Jukka Kurkela
7ec99c38c1
Move startAngle to scale options ( #8593 )
2021-03-08 13:36:54 -05:00
Jukka Kurkela
160534f913
Add 'single' mode for stacking ( #8586 )
...
* Add `'single'` mode for stacking
* Update fixture
2021-03-07 10:52:31 -05:00
Jukka Kurkela
7ccf9e2d4d
Add grace option for linear scale ( #8581 )
...
* Add `grace` option for linear scale
* cc
2021-03-06 17:18:49 -05:00
Jukka Kurkela
8d6e87881a
Relocate chart type and dataset type defaults ( #8563 )
...
* Relocate chart type and dataset type defaults
* Update types
* Separate overrides and descriptors
* Update derived sample, use merge for inherit
* Don't merge overrides
* Review update
2021-03-06 10:34:52 -05:00
Ben McCann
7c75310a0c
Use null for skipped values instead of NaN ( #8510 )
...
* Use null for skipped values instead of NaN
* Document skipped values when parsing is false
* Update src/core/core.datasetController.js
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com >
* Update src/core/core.datasetController.js
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com >
* fix lint issue
* use isFinite
* revert change checking for pixel values
* ternary readability
* revert accidental paren movement
* test with parsing: false
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com >
2021-02-24 18:20:11 -05:00
Jukka Kurkela
12e9020ab7
Remove unused getRingIndex from Doughnut ( #8521 )
2021-02-24 18:13:51 -05:00
Jukka Kurkela
b06cd36697
Rename cutoutPercentage to cutout + chores ( #8514 )
2021-02-24 16:58:01 -05:00
Jukka Kurkela
65bfacd9a5
Add outerRadius option to doughnut/pie ( #8487 )
2021-02-21 17:30:37 -05:00
Jukka Kurkela
329b826b74
Disable fastPathSegment when data is decimated ( #8465 )
2021-02-20 13:06:40 -05:00
Jukka Kurkela
5d5e48d01b
Isolate properties / modes from animation options ( #8332 )
...
* Isolate properties / modes from animation options
* tabs, something wrong with the linter
* Update misleading variable name
2021-02-20 09:02:22 -05:00
Jukka Kurkela
cfd9c98575
Option resolution with proxies ( #8374 )
...
* Option resolution with proxies
* Remove plugin fallback to root options/defaults
* Update core plugins, reduntant font fallbacks
* Add some notes
2021-02-15 14:42:32 -05:00
Jukka Kurkela
6de5b3fa9e
Small chores ( #8408 )
2021-02-10 18:06:48 +02:00
Jukka Kurkela
ddfbcf777a
Update eslint-config-chartjs to v0.3.0 ( #8406 )
2021-02-10 08:21:39 -05:00
LeeLenaleee
b50fba3759
Fix/scatter tooltip mode ( #8354 )
...
* scatter tooltip should be point by default
* edited mode on better level and updated docs to be bit more clear
2021-01-30 16:22:01 -05:00
LeeLenaleee
bc312d0dbc
feature: choose custom point style for bar legend display ( #8341 )
...
* add feature to choose custom point style for bar legend display
* add documentation and type
* the docs are in the right place now
2021-01-30 11:02:08 -05:00
Jukka Kurkela
ea34e8b814
Disable Path2D caching when chart is animated ( #8319 )
...
* Disable Path2D caching when chart is animated
* Add note to performance docs
2021-01-16 14:06:27 -05:00
Jukka Kurkela
0c48c1148a
Fix resize bug of line / radar charts ( #8266 )
...
* Line: Make sure control points are re-calculated
* Radar: always set point on update
2021-01-05 07:24:12 +02:00