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
Jukka Kurkela
6ffc380c6a
Line: Set points on resize (to reset Path2D cache) ( #8250 )
2020-12-30 08:31:44 -05:00
Jukka Kurkela
dd570f676d
Line: Update points directly, when possible ( #8246 )
2020-12-29 09:02:03 +02:00
Jukka Kurkela
59000abd1d
Use cached Intl.NumberFormat everywhere ( #8244 )
2020-12-28 12:31:19 -05:00
Evert Timberg
649f815328
Respect the set locale for in the pie/doughnut tooltips ( #8142 )
2020-12-06 18:17:22 -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
Jukka Kurkela
91fec4a397
Bubble: Use point.size() in getMaxOverflow ( #8018 )
2020-11-08 08:44:26 -05:00
Jukka Kurkela
34312fd66a
Remove +-10px limit from bar controller ( #8014 )
...
* Remove +-10px limit from Bar controller
* Remove unused import, update tests
2020-11-06 08:07:15 -05:00
Jukka Kurkela
d393fa8b51
Normalize rotation and circumference resolution ( #8015 )
2020-11-06 08:06:38 -05:00
Jukka Kurkela
ff76a236bf
Rename lineTension back to tension ( #7978 )
2020-10-31 14:54:14 +02:00
Dan Manastireanu
495c35950c
Add borderRadius to bar charts. Closes #7701 ( #7951 )
...
* Add helper to parse border radius options
* feat: Implement borderRadius for bar charts
* chore: add demo of bar charts with border radius
* chore: document bar borderRadius
* chore: update typescript with bar borderRadius property
* fix horizontal borders test failing due to antialiasing
* chore: Add border-radius visual test
2020-10-26 10:05:24 -04:00
Jukka Kurkela
6a72bcbeca
Rename showLines to showLine ( #7936 )
2020-10-21 08:13:27 -04: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
Jukka Kurkela
f5c4f97504
Add interaction options ( #7922 )
...
* Add interaction options
* Add migration note
2020-10-19 07:24:06 -04:00
paul cheung
b31a815382
some minor typo fix ( #7913 )
2020-10-18 09:35:21 -04:00
Evert Timberg
30d09f4701
Bar chart base value overrides ( #7904 )
...
* Bar chart base value overrides
* Ensure that `base` is marked as indexable and scriptable in the docs
2020-10-17 16:15:40 -04:00
Jukka Kurkela
c9b38b63dc
Share min sample size with all bars on same scale ( #7897 )
...
Share min sample size with all bars on same scale
2020-10-16 08:04:22 -04:00
Evert Timberg
cdd742d752
Polar Area elements.arc.angle option now returns degrees ( #7871 )
...
* Polar Area `elements.arc.angle` option now returns degrees
* Update wording of migration docs
2020-10-12 10:56:03 -04:00
Evert Timberg
3f89c25895
Ability to toggle individual bar visibility ( #7870 )
2020-10-12 10:22:55 -04:00
Jukka Kurkela
06b5325778
Add maxWidth/maxHeight options for legend ( #7852 )
2020-10-06 07:41:16 -04:00
Evert Timberg
56a8a23d54
Add new option, skipNull to bar charts that enables skipping null values ( #7849 )
...
* Add new option, `skipNull` to bar charts that enables skipping null
or undefined values.
* Address code review feedback
* Fix windows CI lint issues
2020-10-06 07:33:24 -04:00
Jukka Kurkela
8d36927b29
Normalize context creation for option resolution ( #7847 )
...
* Normalize context creation for option resolution
* Pass mode to _computeAngle
2020-10-05 09:03:16 -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
7633343c2f
Fix: Update/draw only visible -regression ( #7808 )
2020-09-20 16:46:55 -04:00
Jukka Kurkela
8cdc60ccd1
[perf] Update/draw only visible line/points ( #7793 )
...
* Restore count parameter to updateElements
* [perf] Update/draw only visible line/points
* CC
2020-09-15 18:57:31 -04:00
Jukka Kurkela
da33b1bb27
Fix shared option handling ( #7731 )
...
Fix shared option handling
2020-08-27 09:14:08 -04:00
Jukka Kurkela
689befa807
Make sure bezier control points are updated ( #7710 )
...
* Make sure bezier control points are updated
* Test
2020-08-15 17:06:03 -04:00
Evert Timberg
8fd7ef2901
Doughnut controller overrides ( #7702 )
2020-08-11 17:11:57 -04:00
Jukka Kurkela
f79d609548
Add offset option for arc ( #7691 )
...
* Add offset option for arc
* Finishing touches
2020-08-05 07:35:28 -04:00
Jukka Kurkela
7f4b74d956
minBarLength at base going both ways ( #7642 )
2020-07-17 13:29:43 -04:00
Jukka Kurkela
bc27b522c0
FloatBar: update range only for value scale ( #7634 )
2020-07-16 13:31:11 -04:00
Ben McCann
426d8debba
Tooltip: add dataPoint and rename value to formattedValue ( #7618 )
...
* Tooltip: add dataPoint and rename value to formattedValue
* Add a test
2020-07-14 17:40:32 -04:00
Jukka Kurkela
91164e8c66
Line hide ( #7612 )
...
* Add support for description in fixtures
* Update datasetController to draw active(s) last
* Handle hiding of line by borderWidth
* Disable filling of scatter charts by default
* Make radar chart consistent with line
2020-07-13 13:20:05 -04:00
Ben McCann
30e197742d
Align the tooltip callbacks parameters with scriptable options ( #7603 )
...
Align the tooltip callbacks parameters with scriptable options
2020-07-12 18:26:13 -04:00
Ben McCann
4cc3079e65
Add normalized option ( #7538 )
...
Add normalized option to time scales
2020-07-07 07:50:53 -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
Ben McCann
09a6aea396
Mark parameter as optional ( #7530 )
2020-06-20 07:31:04 -04:00
Jukka Kurkela
40871b0062
Parse from custom properties in data ( #7489 )
...
* Parse from custom properties in data
* Resolve CC issues
* Review update
2020-06-18 17:36:53 -04:00
Jukka Kurkela
59a1af91ac
Replace horizontalBar with indexAxis: 'y' ( #7514 )
...
* Replace horizontalBar with indexAxis: 'y'
* Fix drawing of line for last x-position
* Consistently determine axis of scale
* Add test
2020-06-18 17:35:52 -04:00
Evert Timberg
21fff1e4fe
Update horizontal bar chart default tooltip mode ( #7488 )
...
Ensures that vertical and horizontal bar charts behave the same way
2020-06-10 07:50:15 -04:00
Jukka Kurkela
026482a0cf
Correctly determine min/max for Float Bar ( #7398 )
2020-06-09 17:15:05 -04:00
Evert Timberg
08854a4241
Radar charts should fill to the center by default ( #7446 )
...
* Radar charts should fill to the center by default
* Update tests for new defaults
2020-05-30 16:42:23 -04:00
Evert Timberg
a35f7057f6
Default aspectRatio to 1 for square charts ( #7414 )
2020-05-25 16:55:12 -04:00
Evert Timberg
13b8924ac3
Legend onClick callback supports arrow functions ( #7410 )
...
#7409 Legend callbacks support arrow functions
The `Legend` is no longer implicitly found through `this` and instead
passed as an explicit argument to the callback functions.
2020-05-24 10:28:41 -04:00
Jukka Kurkela
37633c221a
Remove default export from controllers/index ( #7388 )
...
Remove default export from controllers/index
2020-05-21 16:44:49 -04:00
Ben McCann
53f5038252
Use correct index when resolving bubble options ( #7375 )
2020-05-19 10:28:16 -04:00
Ben McCann
19bb07a9f8
Upgrade dependencies ( #7352 )
2020-05-18 09:48:21 -04:00