]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Jukka Kurkela [Mon, 12 Jul 2021 11:45:03 +0000 (14:45 +0300)]
Fix stacked box dimension calculation with weights (#9394)
* Fix stacked box dimension calculation with weights
* Fix typo in filename
Jukka Kurkela [Sun, 11 Jul 2021 10:23:42 +0000 (13:23 +0300)]
Layout: support box stacking (#9364)
* Layout: support box stacking
* Add stackWeight and sample
* Cleanup, update docs and types
* Avoid div0
* missing semi
Evert Timberg [Sat, 10 Jul 2021 22:36:46 +0000 (18:36 -0400)]
Adjust legend hitboxes when RTL and each item has a different size (#9353)
* Adjust legend hitboxes when RTL and
each item has a different size
* Add test for RTL legend hitboxes
Evert Timberg [Sat, 10 Jul 2021 13:26:37 +0000 (09:26 -0400)]
Indicate that `SubTitle` is a plugin in TS types (#9386)
* Indicate that `SubTitle` is a plugin in TS types
* Export subtitle plugin options
Jacco van den Berg [Sat, 10 Jul 2021 12:09:33 +0000 (14:09 +0200)]
Add SubTitle to the list of all esm imports (#9384)
Evert Timberg [Sat, 10 Jul 2021 12:08:27 +0000 (08:08 -0400)]
Fix type linting for merge between two PRs (#9385)
Jukka Kurkela [Fri, 9 Jul 2021 11:03:11 +0000 (14:03 +0300)]
Resolve warnings from typings (#9363)
Evert Timberg [Fri, 9 Jul 2021 10:57:55 +0000 (06:57 -0400)]
Point label specific scriptable context (#9373)
Evert Timberg [Fri, 9 Jul 2021 10:57:30 +0000 (06:57 -0400)]
Improve LegendElement and TooltipItem type definitions (#9376)
* Document LegendElement properties in TS
* Pass chart type to LegendElement
* Update tooltip item dataset type
Jukka Kurkela [Wed, 7 Jul 2021 21:45:31 +0000 (00:45 +0300)]
Decimation: Prevent buffer overflow (#9367)
Jukka Kurkela [Mon, 5 Jul 2021 21:03:19 +0000 (00:03 +0300)]
Add 'shape' mode for filler-plugin (#9360)
Nico-DF [Sun, 4 Jul 2021 17:19:35 +0000 (19:19 +0200)]
Adding threshold option to decimation plugin (#9327)
Jukka Kurkela [Sun, 4 Jul 2021 11:29:42 +0000 (14:29 +0300)]
Bump version to 3.4.1 (#9350)
Jukka Kurkela [Sun, 4 Jul 2021 11:27:00 +0000 (14:27 +0300)]
Update deps (#9349)
Jukka Kurkela [Sun, 4 Jul 2021 11:26:22 +0000 (14:26 +0300)]
Add type tests for float bar / object data arrays (#9348)
Jukka Kurkela [Sat, 3 Jul 2021 15:44:44 +0000 (18:44 +0300)]
Timeseries: support panning (#9345)
* Timeseries: support panning
* Update
* Missing semi, reduntant variables.
* cc
Evert Timberg [Thu, 1 Jul 2021 19:07:32 +0000 (15:07 -0400)]
Account for floating point error in niceNum helper (#9343)
* Account for floating point error in niceNum helper
* Better solution
Evert Timberg [Thu, 1 Jul 2021 18:15:06 +0000 (14:15 -0400)]
Enable pointStyle for doughnut, pie, and polar area charts (#9341)
* Enable pointStyle for doughnut, pie, and polar area charts
* Fix whitespace
Evert Timberg [Thu, 1 Jul 2021 18:14:05 +0000 (14:14 -0400)]
Ensure correct item is clicked when a horizontal legend is in RTL mode (#9340)
stockiNail [Thu, 1 Jul 2021 15:09:44 +0000 (17:09 +0200)]
Fixes spacing options in the table (#9338)
Evert Timberg [Thu, 1 Jul 2021 13:37:49 +0000 (09:37 -0400)]
Update types with more possible events (#9336)
Jacco van den Berg [Thu, 1 Jul 2021 12:24:40 +0000 (14:24 +0200)]
Fix typing of the isoWeekday field (#9330)
Tycho Bokdam [Mon, 28 Jun 2021 19:37:21 +0000 (21:37 +0200)]
Fix comma causing Terser issue (#9326)
Evert Timberg [Sat, 26 Jun 2021 16:04:20 +0000 (12:04 -0400)]
Bump to version 3.4.0 (#9322)
Jacco van den Berg [Fri, 25 Jun 2021 22:34:41 +0000 (00:34 +0200)]
Clarify how to import and use the helper functions with bundlers (#9319)
Алексей Дорохов [Fri, 25 Jun 2021 12:07:47 +0000 (19:07 +0700)]
fix typings (#9318)
Co-authored-by: Aleksey Dorokhov <aleksey.dorokhov@x5.ru>
Jacco van den Berg [Fri, 25 Jun 2021 12:07:11 +0000 (14:07 +0200)]
resolves #9316 (#9317)
Ben Lumley [Fri, 25 Jun 2021 11:08:38 +0000 (12:08 +0100)]
Fix broken link (#9315)
Jukka Kurkela [Sun, 20 Jun 2021 17:11:30 +0000 (20:11 +0300)]
Docs: describe catching events with plugin (#9296)
Jukka Kurkela [Sun, 20 Jun 2021 11:34:55 +0000 (14:34 +0300)]
New plugin: subtitle (#9294)
* New plugin: subtitle
* Fix naive error for multiple charts
Jacco van den Berg [Sun, 20 Jun 2021 11:31:53 +0000 (13:31 +0200)]
resolve auto register typescript failure (#9292)
Jukka Kurkela [Sat, 19 Jun 2021 22:31:33 +0000 (01:31 +0300)]
Legend: fix layout padding handling (#9290)
Jukka Kurkela [Sat, 19 Jun 2021 22:28:05 +0000 (01:28 +0300)]
Bar: ignore not-grouped bars from group bar count (#9291)
Jukka Kurkela [Fri, 18 Jun 2021 19:08:36 +0000 (22:08 +0300)]
Filler: skip NaN points from end of segment (#9287)
Jukka Kurkela [Fri, 18 Jun 2021 18:12:27 +0000 (21:12 +0300)]
Refactor radialLinear scale and renderText helper (#9276)
* Refactor radialLinear scale and renderText helper
* Undo the big move to make review possible
Jukka Kurkela [Fri, 18 Jun 2021 18:11:55 +0000 (21:11 +0300)]
Apply maxTicksLimit to grid when ticks are hidden (#9277)
Jukka Kurkela [Fri, 18 Jun 2021 18:11:33 +0000 (21:11 +0300)]
Fix: Don't use clip/unclipArea when `clip: false` (#9286)
Jacco van den Berg [Fri, 18 Jun 2021 11:20:13 +0000 (13:20 +0200)]
added fill type to line in options object and to radar dataset options (#9284)
Josh Kelley [Mon, 14 Jun 2021 04:49:27 +0000 (00:49 -0400)]
Fix type definitions for `getPixelForValue` (#9263)
Update docs: From what I can tell, the `index` parameter was re-introduced as part of the new `normalized` option.
Jukka Kurkela [Sun, 13 Jun 2021 11:40:51 +0000 (14:40 +0300)]
Docs: Add copy button to code blocks (#9262)
Jukka Kurkela [Sat, 12 Jun 2021 18:19:33 +0000 (21:19 +0300)]
Fix updating of active elements (#9261)
Evert Timberg [Sat, 12 Jun 2021 17:34:54 +0000 (13:34 -0400)]
Replace [...set] with Array.from(set) (#9260)
Evert Timberg [Sat, 12 Jun 2021 14:47:14 +0000 (10:47 -0400)]
`null` or `undefined` should skip grid lines in the time scale (#9252)
* `null` or `undefined` should skip grid lines in the time scale
* Refactor implementation per code review
Jukka Kurkela [Sat, 5 Jun 2021 12:04:57 +0000 (15:04 +0300)]
Docs: fix broken and inconsistent links (#9237)
jiho lee [Thu, 3 Jun 2021 19:34:54 +0000 (04:34 +0900)]
Fix broken guidelines url in PR template (#9228)
Jacco van den Berg [Thu, 3 Jun 2021 12:04:04 +0000 (14:04 +0200)]
add missing types to legend (#9226)
Jacco van den Berg [Wed, 2 Jun 2021 19:48:42 +0000 (21:48 +0200)]
Barheight no longer undefined (#9208)
Jacco van den Berg [Wed, 2 Jun 2021 19:48:04 +0000 (21:48 +0200)]
complete custom legend click sample to also work for pie/doughnut charts (#9219)
Jacco van den Berg [Wed, 2 Jun 2021 19:47:16 +0000 (21:47 +0200)]
Add explanation on how to run the samples locally (#9207)
* add explenation on how to run the samples locally
* Remove unecesarry parts from link
Evert Timberg [Tue, 1 Jun 2021 15:36:55 +0000 (11:36 -0400)]
Fix rtl legend text alignment (#9199)
* Start fixing RTL
* Broken test
* Fix right alignment for horizontal legends
Evert Timberg [Sun, 30 May 2021 20:59:49 +0000 (16:59 -0400)]
Tick backdrop padding is not scriptable (#9191)
* Tick backdrop padding is not scriptable
* Remove unneeded change
* Update _scriptable for callback
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:47:44 +0000 (17:47 -0400)]
Allow setting a constance spacing between arc elements (#9180)
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