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
Jukka Kurkela
7c3a412887
Add includeBounds option for cartesian ticks ( #9020 )
...
* Add includeBounds option for cartesian ticks
* Types, test and fix
* lint
* Improve linear tick min/max collision detection
* Update comments
2021-05-07 09:03:37 +03:00
Jukka Kurkela
137b51d87d
Fix line segments with alignToPixel ( #9042 )
2021-05-06 21:06:40 -04:00
Akihiko Kusanagi
dffc086ad4
Fix for enabling monotone cubicInterpolationMode when tension is 0 ( #9008 )
2021-04-30 08:14:13 -04:00
Jukka Kurkela
44e62e77ca
Improve linear tick generators collision estimation ( #8983 )
...
* Increase distance to min/max tick to 1/3 space
* Better estimation on linear tick collision
* Lint fix
* Remove unused change
2021-04-28 16:41:57 -04:00
Jukka Kurkela
eaa3a68cea
Add drawTime: beforeDraw option to filler ( #8973 )
2021-04-24 15:27:52 -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
Jukka Kurkela
3e319f79ab
Scale: draw border on separate layer after grid ( #8936 )
2021-04-18 07:38:46 -04:00
Evert Timberg
af7965fc31
Cartesian scale tick backdrop ( #8931 )
2021-04-18 12:49:22 +03:00
Jukka Kurkela
ef4f504db9
Fix: Fill vertical lines ( #8919 )
2021-04-17 07:31:58 -04:00
Jukka Kurkela
853f094937
Scale: Make sure grace is applied only once ( #8913 )
...
* Scale: Make sure grace is applied only once
* Add description to fixture
2021-04-17 07:31:15 -04:00
Jukka Kurkela
8e535c574c
Skip ticks by callback value as documented ( #8914 )
2021-04-17 07:28:33 -04:00
Jukka Kurkela
f94e8828ae
Fix: don't draw segments out of bounds ( #8911 )
2021-04-16 17:14:55 -04:00
Jukka Kurkela
f8885ce7a2
Font validate style, move defaults to weight ( #8877 )
2021-04-10 15:58:11 -04:00
Evert Timberg
d6d189c804
Legend boxes support borderRadius ( #8875 )
2021-04-10 15:05:34 -04:00
Evert Timberg
7ee498e412
Tooltip colorbox supports configurable borderWidth, borderRadius, and dash effect ( #8874 )
...
* Start on extending tooltip style
* Correct borderRadius implementation
* Tests of updated tooltip styling
* Update docs
2021-04-10 13:37:22 -04:00
Jukka Kurkela
7fab66ccd1
Support mirror option on x-axis ( #8867 )
2021-04-10 09:01:38 -04:00
Jukka Kurkela
1ffdecfe68
Consider dynamically positioned scales for padding ( #8868 )
2021-04-10 08:58:39 -04:00
Jukka Kurkela
ba84cc5c2a
Filler: support segment backgroundColor ( #8864 )
2021-04-09 19:10:48 -04: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
Jukka Kurkela
e1ddaa8992
Dissociate border options from grid options ( #8823 )
...
* Dissociate border options from grid options
* Update docs
2021-04-04 14:19:07 -04:00
Jukka Kurkela
697e3ffde7
Fix: tick spacing when min=0 | niceMin or max=0 ( #8811 )
2021-04-04 07:03:48 -04:00
Jukka Kurkela
1451e5aee6
Add ability to stack different dataset types ( #8797 )
2021-04-03 09:23:35 -04:00
Jukka Kurkela
6df7fae625
Add drawTime option to filler plugin ( #8796 )
2021-04-03 08:13:00 -04:00
Jukka Kurkela
bd1df1bc34
Logarithmic: handle null/NaN values ( #8793 )
2021-04-03 08:01:48 -04:00
Evert Timberg
6f6b1b2d17
Doughnut/Pie chart border radius ( #8682 )
...
* Arc with rounded ends implementation
* End style option
* Working border radius implementation for arcs
* Linting
* Fix bug introduced when converting to new border object
* Fix bugs identified by tests
* Arc border radius tests
* Add test to cover small borderRadii
* Reduce the weight of the arc border implementation
* lint fix
2021-04-03 07:58:51 -04:00
Jukka Kurkela
9fb18c2fd7
Fix typo, add tests to catch ( #8768 )
...
* Fix typo, add tests to catch
* Tune tests
2021-04-01 11:11:14 -04:00
Evert Timberg
d2c8402445
Scriptable title plugin options ( #8764 )
2021-04-01 10:16:03 +03: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
1a5a15265a
Revert "Scale: draw offset grid for labels before autoSkip ( #8748 )" ( #8752 )
...
This reverts commit cdba66ccef67c4671fe4bf7873fbba7524c4e935.
2021-03-30 08:00:19 -04:00
Jukka Kurkela
cdba66ccef
Scale: draw offset grid for labels before autoSkip ( #8748 )
...
* Scale: draw offset grid for labels before autoSkip
* fix tests
2021-03-29 16:53:47 -04:00
Jukka Kurkela
64593ed74c
Time: Fix offset with low data counts ( #8740 )
2021-03-27 15:55:54 -04:00
Jukka Kurkela
b2c7baf10d
Avoid recursive event replay loops ( #8738 )
...
* chart._lastEvent = null while processing onHover
* Pass replay flag to external tooltip
* Add test for replay
* cc
2021-03-27 06:11:51 -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
Jukka Kurkela
851861e9cc
Fix category scale invalid data handling ( #8668 )
...
* Fix category scale invalid data handling
* Fix NaN
2021-03-18 16:34:08 -04:00
Jukka Kurkela
97136d0cbf
Add textAlign for legend labels ( #8665 )
...
* Add textAlign for legend labels
* Update tests
2021-03-18 07:37:03 -04:00
Jukka Kurkela
f10b510890
Fix tooltip padding ( #8666 )
2021-03-18 07:27:37 -04:00
Jukka Kurkela
282c85827a
Re-enable oversized boxes ( #8662 )
2021-03-18 07:12:43 -04:00
Jukka Kurkela
416062bf68
Update tick positioning ( #8657 )
...
* Update tick positioning
* Update tests
2021-03-17 18:22:21 -04: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
0a579b6813
Add alignToPixles option for scales ( #8649 )
2021-03-16 08:41:51 -04:00
Jukka Kurkela
a6b3b99675
Fix tooltip positioning issues ( #8646 )
...
* Fix tooltip positioning issues
* Update fixture, add npm run dev:ff
* Refactor determineXAlign
* Simplify more
* remove unneeded change
2021-03-16 08:06:05 -04:00
Evert Timberg
1f6d0a244b
Linear Scale: Ability to specify a fixed number of ticks ( #8643 )
...
* Option to specify exact number of ticks on linear scale
* Fix issue description in tests
* Add tests for conditions where min/max do not align with niceMin/niceMax
* Refactor linear tick generation algorithm
* Add TS definitions
* Update docs
* Code review feedback + lint fixes
2021-03-15 08:49:25 -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
d84db2cefc
Radial scale point label backdrop color ( #8633 )
...
* Radial scale point label backdrop color
* Update default tests
* backdropPadding is a single setting
* Up the tolerance a bit
* Update tick backdrop padding options
2021-03-13 17:37:43 -05:00
Jukka Kurkela
32fd5af904
Radial: min 1/2 of the max radius as chartArea ( #8630 )
...
* Radial: min 1/2 of the max radius as chartArea
* Keep fooling TS
2021-03-13 13:47:21 -05: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