]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Jukka Kurkela [Sun, 30 May 2021 19:03:08 +0000 (22:03 +0300)]
Bump version to 3.3.2 (#9190)
Jukka Kurkela [Sun, 30 May 2021 18:51:11 +0000 (21:51 +0300)]
Make sure data is parsed before updateElements (#9187)
* Make sure data is parsed before updateElements
* Add test
Jukka Kurkela [Sun, 30 May 2021 11:39:00 +0000 (14:39 +0300)]
Fix error when swapping dataset locations (#9183)
Evert Timberg [Sat, 29 May 2021 21:35:57 +0000 (17:35 -0400)]
Version bump to 3.3.1 (#9182)
Jukka Kurkela [Sat, 29 May 2021 21:32:03 +0000 (00:32 +0300)]
Linear: Respect bounds option in tick generation (#9181)
* Linear: Respect bounds option in tick generation
* Remove leftover _filterBetween
Jukka Kurkela [Fri, 28 May 2021 11:37:21 +0000 (14:37 +0300)]
Add documentation about default scales (#9173)
Jukka Kurkela [Fri, 28 May 2021 11:36:24 +0000 (14:36 +0300)]
Add declaration for Decimation plugin (#9172)
Jukka Kurkela [Fri, 28 May 2021 04:36:59 +0000 (07:36 +0300)]
Fix clearStacks with custom scaleId (#9170)
Jukka Kurkela [Thu, 27 May 2021 21:15:50 +0000 (00:15 +0300)]
Ignore items outside chart area for interaction (#9171)
Jacco van den Berg [Wed, 26 May 2021 15:21:57 +0000 (17:21 +0200)]
Update pointstyle type and default value (#9168)
Jacco van den Berg [Wed, 26 May 2021 11:55:26 +0000 (13:55 +0200)]
show the utils file in the samples page to clarify what the functions do (#9160)
Jukka Kurkela [Tue, 25 May 2021 12:13:37 +0000 (15:13 +0300)]
Stop mutating arc state while drawing (#9153)
* Stop mutating arc state while drawing
* No need for default values
* Nits
* Remove #9152
* Use correct endAngle for clipping
Jukka Kurkela [Mon, 24 May 2021 20:14:35 +0000 (23:14 +0300)]
Fix: Arc getCenterPoint when full circle (#9152)
Jukka Kurkela [Mon, 24 May 2021 11:49:10 +0000 (14:49 +0300)]
Bump version to 3.3, update dependencies (#9149)
Evert Timberg [Sat, 22 May 2021 12:59:02 +0000 (08:59 -0400)]
Improved error message when no date adapter provided (#9147)
Sylhare [Fri, 21 May 2021 21:56:21 +0000 (17:56 -0400)]
Fix scales option in example (#9146)
Jukka Kurkela [Thu, 20 May 2021 11:59:55 +0000 (14:59 +0300)]
Update chartjs-test-utils and mis-sized fixtures (#9135)
Jukka Kurkela [Thu, 20 May 2021 07:01:47 +0000 (10:01 +0300)]
Further improve linear tick collision estimation (#9129)
* Further improve linear tick collision estimation
* More tolerance
* Re-create fixtures
* And more tolerance
Evert Timberg [Wed, 19 May 2021 22:31:15 +0000 (18:31 -0400)]
Show correct decimal places when using count but `min` is not an integer (#9122)
* Show correct decimal places when using count but `min` is not an integer
* Fix lint issues
Jacco van den Berg [Wed, 19 May 2021 14:40:10 +0000 (16:40 +0200)]
add legend to the default onclick to make sample work (#9126)
Jon Rimmer [Wed, 19 May 2021 14:39:48 +0000 (15:39 +0100)]
Correctly extend ExtendedPlugin interface (#9124)
Jon Rimmer [Wed, 19 May 2021 14:39:27 +0000 (15:39 +0100)]
Add missing props to ChartArea type (#9123)
Jukka Kurkela [Tue, 18 May 2021 23:24:57 +0000 (02:24 +0300)]
Fix arc offset calculation (#9118)
Jukka Kurkela [Tue, 18 May 2021 23:24:35 +0000 (02:24 +0300)]
Fix animations when data is replaced (#9120)
Jukka Kurkela [Tue, 18 May 2021 23:24:23 +0000 (02:24 +0300)]
Fix doughnut rotation on float edge cases (#9121)
Evert Timberg [Tue, 18 May 2021 12:11:17 +0000 (08:11 -0400)]
Add documentation note about only styling the parent div (#9115)
Jacco van den Berg [Mon, 17 May 2021 14:08:39 +0000 (16:08 +0200)]
remove double sentence and adjust scale to scales.r (#9111)
Jukka Kurkela [Sat, 15 May 2021 12:22:15 +0000 (15:22 +0300)]
Delay data to elements synchronization to update (#9105)
Evert Timberg [Sat, 15 May 2021 05:14:23 +0000 (01:14 -0400)]
Upgrade dependencies (#9102)
Jukka Kurkela [Fri, 14 May 2021 21:16:22 +0000 (00:16 +0300)]
Make sure context indices are up to date (#9101)
Akihiko Kusanagi [Fri, 14 May 2021 21:07:26 +0000 (05:07 +0800)]
Support monotone cubic interpolation for vertical line charts (#9084)
* Support monotone cubic interpolation for vertical line charts
* Use more more intuitive veriable names
Evert Timberg [Fri, 14 May 2021 20:58:02 +0000 (16:58 -0400)]
Add test for issue 9085 (#9091)
Akihiko Kusanagi [Thu, 13 May 2021 20:22:58 +0000 (04:22 +0800)]
Fix element reset animations in vertical line and bubble charts (#9088)
Jukka Kurkela [Wed, 12 May 2021 20:08:17 +0000 (23:08 +0300)]
Fix setting options in array of objects (#9062)
* Fix setting options in array of objects
* CC
Evert Timberg [Wed, 12 May 2021 11:54:21 +0000 (07:54 -0400)]
Fix polar area tooltip item label (#9067)
Jacco van den Berg [Mon, 10 May 2021 12:50:17 +0000 (14:50 +0200)]
add default values so it wont crash on out of memory calculation by calcualting power of infinity (#9060)
Josh Kelley [Mon, 10 May 2021 12:48:03 +0000 (08:48 -0400)]
Fix detecting changed events (#9050)
* Fix detecting changed events
Because `this._listeners` may contain both event handlers from options and internal event handlers for responsive support, the `setsEqual` check would often fail, causing event handlers to be unnecessarily detached and reattached and fired.
If I'm understanding correctly, this is the root cause of #9049.
* Use a separate object for responsive listeners
Correctly update events when responsive property changes as well as when requested events change.
* Code review feedback
Toni Dietze [Sat, 8 May 2021 05:11:52 +0000 (07:11 +0200)]
Round canvas.style dimensions to avoid blurring (#9015)
When canvas.height and canvas.width are set, the numbers are rounded to
integers. The same rounding must be applied to canvas.style.height and
canvas.style.width to avoid scaling of the canvas which would lead to
blurring.
Acknowledging that canvas.height and canvas.width are integers, the
framebuffer is now only redrawn if those integer values change.
Evert Timberg [Sat, 8 May 2021 05:10:18 +0000 (01:10 -0400)]
HTML legend handles doughnut/pie charts (#9044)
* HTML legend handles doughnut/pie charts
* Fix lint error
Jukka Kurkela [Fri, 7 May 2021 19:49:23 +0000 (22:49 +0300)]
Types: Export DecinmationAlgorithm as const (#9046)
Jukka Kurkela [Fri, 7 May 2021 19:48:55 +0000 (22:48 +0300)]
Allow scale to auto-adjust it's min when stacked (#9045)
Jukka Kurkela [Fri, 7 May 2021 06:03:37 +0000 (09:03 +0300)]
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
Jukka Kurkela [Fri, 7 May 2021 01:06:40 +0000 (04:06 +0300)]
Fix line segments with alignToPixel (#9042)
Jukka Kurkela [Wed, 5 May 2021 11:49:44 +0000 (14:49 +0300)]
Fix: Avoid negative layout dimensions (#9027)
hiroki shimizu [Wed, 5 May 2021 11:49:05 +0000 (20:49 +0900)]
fix typo on api.md (#9030)
Jacco van den Berg [Wed, 5 May 2021 02:18:25 +0000 (04:18 +0200)]
add index for radial axes to nav and update fonts location file in pointlabels (#9024)
Jukka Kurkela [Sat, 1 May 2021 18:04:59 +0000 (21:04 +0300)]
Bump version to 3.2.1 (#9014)
Evert Timberg [Sat, 1 May 2021 17:30:14 +0000 (13:30 -0400)]
Enable scriptable element chart options (#9012)
Evert Timberg [Sat, 1 May 2021 16:36:40 +0000 (12:36 -0400)]
Add test for DecimationAlgorithm type (#9010)
* Add test for DecimationAlgorithm type
* Allow strings to be set
* Linting
Evert Timberg [Sat, 1 May 2021 15:57:13 +0000 (11:57 -0400)]
Add documentation on tooltip xAlign and yAlign (#9011)
Akihiko Kusanagi [Fri, 30 Apr 2021 12:14:13 +0000 (20:14 +0800)]
Fix for enabling monotone cubicInterpolationMode when tension is 0 (#9008)
Jukka Kurkela [Wed, 28 Apr 2021 20:42:08 +0000 (23:42 +0300)]
Ignore truncated pixels in bar width calculation (#8995)
Jukka Kurkela [Wed, 28 Apr 2021 20:41:57 +0000 (23:41 +0300)]
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
Evert Timberg [Sat, 24 Apr 2021 20:12:18 +0000 (16:12 -0400)]
Bump to version 3.2.0 (#8974)
Jukka Kurkela [Sat, 24 Apr 2021 19:27:52 +0000 (22:27 +0300)]
Add drawTime: beforeDraw option to filler (#8973)
Jukka Kurkela [Sat, 24 Apr 2021 19:20:52 +0000 (22:20 +0300)]
Fix skipNull for subsequent datasets (#8972)
Evert Timberg [Sat, 24 Apr 2021 14:51:19 +0000 (10:51 -0400)]
In html tooltip sample padding is read from the options (#8971)
Jukka Kurkela [Mon, 19 Apr 2021 11:50:43 +0000 (14:50 +0300)]
Update helpers types export (#8944)
Evert Timberg [Sun, 18 Apr 2021 20:30:54 +0000 (16:30 -0400)]
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
Jukka Kurkela [Sun, 18 Apr 2021 20:02:20 +0000 (23:02 +0300)]
Add example plugins for border and quadrants (#8942)
Jukka Kurkela [Sun, 18 Apr 2021 11:38:46 +0000 (14:38 +0300)]
Scale: draw border on separate layer after grid (#8936)
Jukka Kurkela [Sun, 18 Apr 2021 11:30:54 +0000 (14:30 +0300)]
Time: cache options needed by parse (#8933)
Prateek R Patil [Sun, 18 Apr 2021 11:28:56 +0000 (04:28 -0700)]
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>
Evert Timberg [Sun, 18 Apr 2021 09:49:22 +0000 (05:49 -0400)]
Cartesian scale tick backdrop (#8931)
Evert Timberg [Sat, 17 Apr 2021 18:08:36 +0000 (14:08 -0400)]
Allow the events option to be changed at runtime (#8928)
Jukka Kurkela [Sat, 17 Apr 2021 12:09:22 +0000 (15:09 +0300)]
Add `initial` property to animation callbacks (#8926)
Evert Timberg [Sat, 17 Apr 2021 11:50:47 +0000 (07:50 -0400)]
Bump to 3.1.1 (#8927)
Jukka Kurkela [Sat, 17 Apr 2021 11:31:58 +0000 (14:31 +0300)]
Fix: Fill vertical lines (#8919)
Jukka Kurkela [Sat, 17 Apr 2021 11:31:15 +0000 (14:31 +0300)]
Scale: Make sure grace is applied only once (#8913)
* Scale: Make sure grace is applied only once
* Add description to fixture
Jukka Kurkela [Sat, 17 Apr 2021 11:29:41 +0000 (14:29 +0300)]
Fix: Initialize data object when replaced (#8918)
Jukka Kurkela [Sat, 17 Apr 2021 11:28:33 +0000 (14:28 +0300)]
Skip ticks by callback value as documented (#8914)
Jukka Kurkela [Fri, 16 Apr 2021 21:14:55 +0000 (00:14 +0300)]
Fix: don't draw segments out of bounds (#8911)
Jukka Kurkela [Fri, 16 Apr 2021 19:46:14 +0000 (22:46 +0300)]
Fix minor issues in docs (#8910)
Jukka Kurkela [Fri, 16 Apr 2021 19:45:33 +0000 (22:45 +0300)]
Fix tooltip positioners and scriptable signature (#8909)
Касымов Нурлан [Fri, 16 Apr 2021 17:32:26 +0000 (20:32 +0300)]
Fix javascript syntax error in docs/general/padding.md (#8907)
Evert Timberg [Thu, 15 Apr 2021 20:36:03 +0000 (16:36 -0400)]
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
Jacco van den Berg [Thu, 15 Apr 2021 20:08:07 +0000 (22:08 +0200)]
Update v3-migration.md (#8904)
Update link to index axis of horizontal bar
Jacco van den Berg [Tue, 13 Apr 2021 19:24:59 +0000 (21:24 +0200)]
add number, null and undefined as valid return types (#8891)
Jukka Kurkela [Mon, 12 Apr 2021 21:18:02 +0000 (00:18 +0300)]
Docs: Update version menu title (#8887)
Nico-DF [Mon, 12 Apr 2021 13:08:39 +0000 (15:08 +0200)]
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
Jukka Kurkela [Sun, 11 Apr 2021 17:47:38 +0000 (20:47 +0300)]
Update @simonbrunel/vuepress-plugin-versions (#8882)
Evert Timberg [Sat, 10 Apr 2021 20:13:47 +0000 (16:13 -0400)]
Bump to 3.1.0 (#8878)
Jukka Kurkela [Sat, 10 Apr 2021 20:13:30 +0000 (23:13 +0300)]
Limit onHover to chartArea (#8794)
Jukka Kurkela [Sat, 10 Apr 2021 20:10:59 +0000 (23:10 +0300)]
Add version menu in documentation (#8866)
* Add version menu in documentation
* Use filters for tags
* Use limit
* Update
* Use released plugin
* use published version
Jukka Kurkela [Sat, 10 Apr 2021 19:58:11 +0000 (22:58 +0300)]
Font validate style, move defaults to `weight` (#8877)
Jukka Kurkela [Sat, 10 Apr 2021 19:18:30 +0000 (22:18 +0300)]
Enable event filtering per plugin (#8876)
Evert Timberg [Sat, 10 Apr 2021 19:05:34 +0000 (15:05 -0400)]
Legend boxes support borderRadius (#8875)
Evert Timberg [Sat, 10 Apr 2021 17:37:22 +0000 (13:37 -0400)]
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
Evert Timberg [Sat, 10 Apr 2021 17:31:14 +0000 (13:31 -0400)]
Handle animating stacked bars from null values (#8872)
* Handle animating stacked bars from null values
* Skipped bars / points should be in the reset state
Jukka Kurkela [Sat, 10 Apr 2021 13:01:38 +0000 (16:01 +0300)]
Support mirror option on x-axis (#8867)
Jukka Kurkela [Sat, 10 Apr 2021 12:59:14 +0000 (15:59 +0300)]
Document the no-parsing requirement of decimation (#8869)
Jukka Kurkela [Sat, 10 Apr 2021 12:58:39 +0000 (15:58 +0300)]
Consider dynamically positioned scales for padding (#8868)
Jukka Kurkela [Fri, 9 Apr 2021 23:10:48 +0000 (02:10 +0300)]
Filler: support segment backgroundColor (#8864)
Jacco van den Berg [Fri, 9 Apr 2021 21:06:18 +0000 (23:06 +0200)]
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
Jukka Kurkela [Thu, 8 Apr 2021 22:03:14 +0000 (01:03 +0300)]
Update dependencies (excluding typescript) (#8856)
Jukka Kurkela [Thu, 8 Apr 2021 22:02:12 +0000 (01:02 +0300)]
Allow styling of line segments (#8844)
Allow styling of line segments
* docs & sample
* Types
* update sample
Moses Mendoza [Thu, 8 Apr 2021 04:21:03 +0000 (21:21 -0700)]
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>
Jacco van den Berg [Thu, 8 Apr 2021 04:15:43 +0000 (06:15 +0200)]
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
stockiNail [Wed, 7 Apr 2021 20:45:39 +0000 (22:45 +0200)]
Apply scale context to ticks scriptable options instead of chart context (#8839)
* Fixes #8835
* context as argument because protected
* fixes test case on formatters
* reverts previous commits and sets the scale context in the scale init
* changes documentation about linear ticks, adding scriptable Yes
Nico-DF [Wed, 7 Apr 2021 20:40:45 +0000 (22:40 +0200)]
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