Commit Graph

3886 Commits

Author SHA1 Message Date
Evert Timberg
ea7b8cb04f Add test for DecimationAlgorithm type (#9010)
* Add test for DecimationAlgorithm type
* Allow strings to be set
* Linting
2021-05-01 12:36:40 -04:00
Evert Timberg
55dd426a41 Add documentation on tooltip xAlign and yAlign (#9011) 2021-05-01 11:57:13 -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
12bf256fd5 Ignore truncated pixels in bar width calculation (#8995) 2021-04-28 16:42:08 -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
Evert Timberg
0f1d07a1cd Bump to version 3.2.0 (#8974) v3.2.0 2021-04-24 16:12:18 -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
87ce198ac8 In html tooltip sample padding is read from the options (#8971) 2021-04-24 10:51:19 -04:00
Jukka Kurkela
b319f2cfef Update helpers types export (#8944) 2021-04-19 07:50:43 -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
019cb9f305 Add example plugins for border and quadrants (#8942) 2021-04-18 16:02:20 -04:00
Jukka Kurkela
3e319f79ab Scale: draw border on separate layer after grid (#8936) 2021-04-18 07:38:46 -04:00
Jukka Kurkela
e1404ac834 Time: cache options needed by parse (#8933) 2021-04-18 07:30:54 -04:00
Prateek R Patil
c107f895aa Fix for allowing parsing:false with stacks (#8934)
* Initial fix for allowing parsing:false with stacks

* Added test from #8935 as requested.

Co-authored-by: tinfoilpancakes <tfm357@gmail.com>
2021-04-18 07:28:56 -04:00
Evert Timberg
af7965fc31 Cartesian scale tick backdrop (#8931) 2021-04-18 12:49:22 +03:00
Evert Timberg
e29ba78cd1 Allow the events option to be changed at runtime (#8928) 2021-04-17 14:08:36 -04:00
Jukka Kurkela
ca50287a76 Add initial property to animation callbacks (#8926) 2021-04-17 08:09:22 -04:00
Evert Timberg
c56cdedece Bump to 3.1.1 (#8927) v3.1.1 2021-04-17 07:50:47 -04: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
9e06f90d14 Fix: Initialize data object when replaced (#8918) 2021-04-17 07:29:41 -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
d5f4a82e74 Fix minor issues in docs (#8910) 2021-04-16 15:46:14 -04:00
Jukka Kurkela
aee45c611e Fix tooltip positioners and scriptable signature (#8909) 2021-04-16 15:45:33 -04:00
Касымов Нурлан
be7a2ce69e Fix javascript syntax error in docs/general/padding.md (#8907) 2021-04-16 20:32:26 +03:00
Evert Timberg
cc4ce7adef Do not redraw endlessly on mouse move (#8898)
* Do not redraw endlessly on mouse move

The tooltip incorrectly determined that the position changed leading to many redraws

* Code review feedback
2021-04-15 16:36:03 -04:00
Jacco van den Berg
768bd38822 Update v3-migration.md (#8904)
Update link to index axis of horizontal bar
2021-04-15 23:08:07 +03:00
Jacco van den Berg
f76ca010e8 add number, null and undefined as valid return types (#8891) 2021-04-13 22:24:59 +03:00
Jukka Kurkela
95faa4f2a2 Docs: Update version menu title (#8887) 2021-04-12 17:18:02 -04:00
Nico-DF
5a27de32da Setting correct decimated values when below threshold (#8883)
* Setting correct decimated values when below threshold
* Using existing function for cleaning decimated data
* Cleaning decimated only on current dataset
* Reordering decimation clean to avoid allocation
2021-04-12 09:08:39 -04:00
Jukka Kurkela
ef3a777e6b Update @simonbrunel/vuepress-plugin-versions (#8882) 2021-04-11 13:47:38 -04:00
Evert Timberg
981eff5553 Bump to 3.1.0 (#8878) v3.1.0 2021-04-10 16:13:47 -04:00
Jukka Kurkela
0ae0fd4b2a Limit onHover to chartArea (#8794) 2021-04-10 16:13:30 -04:00
Jukka Kurkela
05ba2eedff Add version menu in documentation (#8866)
* Add version menu in documentation
* Use filters for tags
* Use limit
* Update
* Use released plugin
* use published version
2021-04-10 16:10:59 -04:00
Jukka Kurkela
f8885ce7a2 Font validate style, move defaults to weight (#8877) 2021-04-10 15:58:11 -04:00
Jukka Kurkela
9e70913bed Enable event filtering per plugin (#8876) 2021-04-10 15:18:30 -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
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
7fab66ccd1 Support mirror option on x-axis (#8867) 2021-04-10 09:01:38 -04:00
Jukka Kurkela
c35bee1f4f Document the no-parsing requirement of decimation (#8869) 2021-04-10 08:59:14 -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
Jacco van den Berg
735764ac4f Docs/broken link (#8863)
* Change tabs from area samples to buttons to switch to be in line with other samples, change linewith of extra line datasets to default instead of 1 to be in line with all other lines in the sampels

* fix few broken links in docs
2021-04-09 17:06:18 -04:00
Jukka Kurkela
5b4aad746f Update dependencies (excluding typescript) (#8856) 2021-04-08 18:03:14 -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
Moses Mendoza
efc1902da7 Include grace in LinearScaleOptions type definition (#8847)
This commit adds the `grace` option, to the LinearScaleOptions type definition
as documented here,
https://www.chartjs.org/docs/latest/axes/cartesian/linear.html#grace. Without
this commit the TS compiler does not allow the option.

Signed-off-by: Moses Mendoza <mendoza.moses@gmail.com>
2021-04-08 07:21:03 +03:00
Jacco van den Berg
6c7bf2299b Docs migration register options (#8850)
* Change tabs from area samples to buttons to switch to be in line with other samples, change linewith of extra line datasets to default instead of 1 to be in line with all other lines in the sampels

* add link to all available import sample in the migration guide
2021-04-08 07:15:43 +03:00