]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Jukka Kurkela [Tue, 26 Oct 2021 11:49:04 +0000 (14:49 +0300)]
New sample: Progressive Line With Easing (#9798)
Jacco van den Berg [Mon, 25 Oct 2021 16:48:51 +0000 (18:48 +0200)]
change namespace and chart types that override legend defaults (#9791)
Evert Timberg [Sun, 24 Oct 2021 16:14:37 +0000 (12:14 -0400)]
Add warning about chart types overriding plugin defaults (#9787)
Evert Timberg [Sat, 23 Oct 2021 17:21:28 +0000 (13:21 -0400)]
Bump to 3.6.0 (#9784)
Josh Kelley [Sat, 23 Oct 2021 15:46:33 +0000 (11:46 -0400)]
Fix cleaning up metasets (#9656)
* Fix cleaning up metasets
I believe it's a mistake to only delete the metaset if it has a valid controller; see
f191f2f5 for where this behavior was introduced.
This is a minimal fix for #9653; as discussed there, it may also be worth updating `updateHoverStyle`.
As of #7030, `this._metasets` should always be defined, so checking whether it's undefined is no longer necessary.
* Add a test covering metaset behavior
* Add a regression test for #9653; fix `toHaveSize` usage
* Fix test failure
gautammsuthar [Sat, 16 Oct 2021 19:55:14 +0000 (01:25 +0530)]
Added hyperlink on Chart.js LOGO (#9741)
Inserted a hyperlink on chart.js logo
So that users can easily be redirected to the HOME PAGE of the web application
Atharva Deshpande [Sat, 16 Oct 2021 19:41:27 +0000 (01:11 +0530)]
Fix: Typo 'is less' -> 'are lesser' (#9755)
* Fix: Typo 'is less' -> 'are lesser'
* Update plugin.decimation.js
Oscar Dominguez [Sat, 16 Oct 2021 19:18:11 +0000 (21:18 +0200)]
ci(workflow): add cache to workflows using actions/setup-node (#9757)
* ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows
* style(workflows): restore single quotes and remove unnecessary 'null'
Jukka Kurkela [Fri, 15 Oct 2021 19:56:29 +0000 (22:56 +0300)]
Add chart, p0.raw, p1.raw to segment context (#9761)
* Add chart, p0.raw, p1.raw to segment context
* Types
mikidoodle [Fri, 15 Oct 2021 19:36:53 +0000 (01:06 +0530)]
Fixed 4 links (#9720)
* Update linear.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Padding.md links work now
* Decimation plugin links work now
* Three links work now
I’ve made the Specify a rotation value and ticks.sampleSize links work.
* Update linear.md
Jukka Kurkela [Fri, 15 Oct 2021 12:00:14 +0000 (15:00 +0300)]
Fix stacked fill with lines over multiple scales (#9767)
Jukka Kurkela [Fri, 15 Oct 2021 11:57:39 +0000 (14:57 +0300)]
Bubble: Properly parse radius for non-object data (#9764)
Jukka Kurkela [Thu, 14 Oct 2021 12:35:51 +0000 (15:35 +0300)]
Support nested scriptable defaults for datasets (#9770)
Josh Kelley [Thu, 14 Oct 2021 12:35:29 +0000 (08:35 -0400)]
Don't require --grep to be given on the command line (#9768)
This makes it easier to use the `karma` CLI directly, if desired, and makes it easier to use WebStorm's integrated debugger (which makes up `karma` command-line invocations itself). Prior to this change, if `--grep` isn't given, Karma looks for `*undefined*.js` and finds no tests to run.
Jukka Kurkela [Wed, 13 Oct 2021 21:24:38 +0000 (00:24 +0300)]
Fix controller.getMinMax for stacked charts (#9766)
PrashoonB [Wed, 13 Oct 2021 18:51:33 +0000 (00:21 +0530)]
Changed var to const/let in the docs (#9744)
Changed var to const/let in the docs
Jukka Kurkela [Wed, 13 Oct 2021 12:41:22 +0000 (15:41 +0300)]
Support nested scriptable options for datasets (#9758)
* Support nested scriptable options for datasets
Sandeep Suman [Mon, 11 Oct 2021 21:52:32 +0000 (03:22 +0530)]
linked LICENSE.md to README (#9747)
Jukka Kurkela [Mon, 11 Oct 2021 18:37:25 +0000 (21:37 +0300)]
Disable animations for BasicPlatform (offcreen) (#9751)
* Disable animations for BasicPlatform (offcreen)
* Update types
Jukka Kurkela [Wed, 6 Oct 2021 12:53:27 +0000 (15:53 +0300)]
Types: Move tooltip methods to model from plugin (#9729)
0xflotus [Tue, 5 Oct 2021 22:55:42 +0000 (00:55 +0200)]
docs: fix small error (#9724)
Jukka Kurkela [Mon, 4 Oct 2021 21:43:04 +0000 (00:43 +0300)]
Linear: determine grace amount from range (#9719)
Toni Dietze [Mon, 4 Oct 2021 18:02:45 +0000 (20:02 +0200)]
cache also undefined values in option resolver (#9661)
Otherwise, repeated lookups of undefined properties always trigger the
comparatively expensive resolution. This can be the case for example in
_calculateBarIndexPixels() in controller.bar.js when looking up
options.skipNull and options.maxBarThickness, which is done for each bar
in a bar chart.
Jukka Kurkela [Mon, 4 Oct 2021 18:01:10 +0000 (21:01 +0300)]
Add layout.autoPadding option (#9716)
Jukka Kurkela [Mon, 4 Oct 2021 18:00:27 +0000 (21:00 +0300)]
Fix chart crashing when only min is defined (#9718)
Kurt Preston [Mon, 4 Oct 2021 17:30:16 +0000 (12:30 -0500)]
Fix chart crashing when max is defined but ticks are empty (#9641)
* Fix chart crashing when max is defined but ticks are empty
* Adding spec to reproduce scale bounds calculation error
Co-authored-by: Kurt Preston <kpreston@drw.com>
nikethan rai [Sun, 3 Oct 2021 13:39:20 +0000 (19:09 +0530)]
Fix: Typo spaning--> spanning (#9710)
nikethan rai [Sun, 3 Oct 2021 12:50:02 +0000 (18:20 +0530)]
Fix: Typo ingnore-->ignore (#9711)
nikethan rai [Sat, 2 Oct 2021 21:02:38 +0000 (02:32 +0530)]
Fix: Typo that-->than (#9708)
Evert Timberg [Fri, 1 Oct 2021 16:27:54 +0000 (12:27 -0400)]
Document sample components file (#9697)
Evert Timberg [Fri, 1 Oct 2021 16:17:36 +0000 (12:17 -0400)]
Support false for doughnut and polar area chart animation options (#9699)
Jukka Kurkela [Sat, 25 Sep 2021 04:52:03 +0000 (07:52 +0300)]
Bar: fix too thick borders (#9678)
Jukka Kurkela [Fri, 24 Sep 2021 22:13:53 +0000 (01:13 +0300)]
Fix some typings issues (#9680)
* Types: Add scope to ticks.callback
* Fix some typings issues
Jukka Kurkela [Fri, 24 Sep 2021 22:13:10 +0000 (01:13 +0300)]
Add sanity check for stepSize (#9679)
Evert Timberg [Tue, 14 Sep 2021 11:37:22 +0000 (07:37 -0400)]
Remove const me = this pattern (#9646)
Jukka Kurkela [Mon, 13 Sep 2021 20:31:34 +0000 (23:31 +0300)]
Fix segment styling with gaps (#9644)
David Sandoz [Wed, 8 Sep 2021 11:26:43 +0000 (13:26 +0200)]
Add align to interface of scale title config (#9634)
aha-oretama [Mon, 6 Sep 2021 13:14:00 +0000 (22:14 +0900)]
fix getRelativePosition type definition (#9610)
* fix getRelativePosition type definition
* Update helpers.dom.d.ts
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Evert Timberg [Mon, 6 Sep 2021 13:13:21 +0000 (09:13 -0400)]
Configurable tooltip box padding (#9625)
Jukka Kurkela [Mon, 6 Sep 2021 04:51:18 +0000 (07:51 +0300)]
Add sanity checks for scale options (#9624)
Iurii Golskyi [Sun, 5 Sep 2021 20:31:00 +0000 (23:31 +0300)]
fix: broken link to `cubicInterpolationMode` (#9626)
* fix: broken link to `cubicInterpolationMode`
Elements -> Line configurations -> cubicInterpolationMode
* fix: broken link in Line Configuration
Evert Timberg [Sun, 5 Sep 2021 17:46:26 +0000 (13:46 -0400)]
Add parsing support to pie/doughnut charts (#9622)
Evert Timberg [Sun, 5 Sep 2021 17:07:28 +0000 (13:07 -0400)]
Enable per-corner border radius in tooltip (#9620)
Evert Timberg [Sun, 5 Sep 2021 16:59:23 +0000 (12:59 -0400)]
Remove offscreen canvas (#9617)
Evert Timberg [Sat, 4 Sep 2021 18:07:24 +0000 (14:07 -0400)]
Update tooltip callback docs (#9618)
Evert Timberg [Sat, 4 Sep 2021 18:03:52 +0000 (14:03 -0400)]
Update old codepen links to ones for v3 (#9619)
Shubham Aggarwal [Sat, 4 Sep 2021 17:43:34 +0000 (23:13 +0530)]
Ensure that controllers derived from the bar controller work correct in stacked charts (#9587)
* change parameter of functions
* argument and parameter change in DatasetController.js
* changing variable name to proper convention
* Update controller.bar.js
Jukka Kurkela [Sat, 4 Sep 2021 17:41:47 +0000 (20:41 +0300)]
Fix plugin event filtering of renamed events (#9613)
Jukka Kurkela [Thu, 2 Sep 2021 00:39:48 +0000 (03:39 +0300)]
Fix control points on animated line w/o border (#9592)
Co-authored-by: Jukka Kurkela <jukka.kurkela@scmbest.fi>
Jukka Kurkela [Thu, 2 Sep 2021 00:27:26 +0000 (03:27 +0300)]
Add missing typings of helpers, add automatic test (#9570)
* Add missing typings of helpers, add automatic test
* Add error handling to autogen.js
Jukka Kurkela [Wed, 18 Aug 2021 22:14:09 +0000 (01:14 +0300)]
Detect attach/detach from any level (#9557)
Evert Timberg [Wed, 18 Aug 2021 12:12:37 +0000 (08:12 -0400)]
Update to 3.5.1 version number (#9565)
Alex Van Liew [Wed, 18 Aug 2021 11:48:36 +0000 (04:48 -0700)]
[feat] support crossAlign on mirrored y-axis (#9563)
Jukka Kurkela [Tue, 17 Aug 2021 11:52:04 +0000 (14:52 +0300)]
Remove chart.scale property (always undefined) (#9556)
Ewan Mellor [Tue, 17 Aug 2021 09:29:18 +0000 (02:29 -0700)]
Fix broken link. (#9555)
Fix broken link from Creating Custom Tick Formats section to the Tick
API page.
Evert Timberg [Sat, 14 Aug 2021 17:17:48 +0000 (13:17 -0400)]
Ensure that docs have more width in the page (#9549)
Evert Timberg [Sat, 14 Aug 2021 17:17:12 +0000 (13:17 -0400)]
Grid line z property in TS types (#9550)
Evert Timberg [Sat, 14 Aug 2021 13:07:58 +0000 (09:07 -0400)]
Keep track of parsed array changes when parsing===false (#9525)
* Keep track of parsed array changes when parsing===false
* Code review feedback
Jacco van den Berg [Fri, 13 Aug 2021 12:28:10 +0000 (14:28 +0200)]
Add number to the title scale padding as input type (#9546)
Jukka Kurkela [Wed, 11 Aug 2021 12:23:18 +0000 (15:23 +0300)]
Update eslint settings for readable errors (#9534)
Jacco van den Berg [Sun, 8 Aug 2021 20:52:09 +0000 (22:52 +0200)]
fix 2 broken links, clarify order property (#9516)
Evert Timberg [Sun, 8 Aug 2021 20:51:56 +0000 (16:51 -0400)]
Add more details on legend sort function (#9524)
M4sterShake [Sun, 1 Aug 2021 04:02:44 +0000 (05:02 +0100)]
fixing typo in docs on axes labelling (#9503)
Co-authored-by: Max <max.borkowski@reedbusiness.com>
Jacco van den Berg [Fri, 30 Jul 2021 12:14:07 +0000 (14:14 +0200)]
Move pointStyle types and update plugin link&render chart (#9479)
* Place canvasElement on next line to keep table clean
* move typing to global location, update plugin page
Jukka Kurkela [Wed, 28 Jul 2021 11:57:55 +0000 (14:57 +0300)]
Types: Add `tooltip` to chart instance (#9490)
Jukka Kurkela [Wed, 28 Jul 2021 11:57:35 +0000 (14:57 +0300)]
Fix _isPointInArea helper when no area is provided (#9489)
Yash Singh [Tue, 27 Jul 2021 20:48:14 +0000 (13:48 -0700)]
Shorthand labels key in getting started (#9465)
* Shorthand labels key in getting started
* Change to longhand
Jukka Kurkela [Tue, 27 Jul 2021 12:26:54 +0000 (15:26 +0300)]
Types: Change `context.chart` to plain `Chart` (#9477)
Jacco van den Berg [Tue, 27 Jul 2021 11:59:39 +0000 (13:59 +0200)]
Remove index override, (#9469)
Make barchart more inline with v2 behaviour and other charts
Niklas Noldin [Mon, 26 Jul 2021 17:15:39 +0000 (19:15 +0200)]
Adjust text to code example (#9475)
The previous text explains that, in the example, the font color is set and overridden but the code sets and overrides the _font size_.
Juan Cortés Ross [Mon, 26 Jul 2021 13:35:03 +0000 (15:35 +0200)]
Update charts.md (#9472)
Jukka Kurkela [Sun, 25 Jul 2021 11:56:33 +0000 (14:56 +0300)]
Bump version to 3.5.0, update deps (#9464)
Jukka Kurkela [Sat, 24 Jul 2021 18:35:13 +0000 (21:35 +0300)]
Update radar dataset option typings (#9462)
Evert Timberg [Sat, 24 Jul 2021 03:40:03 +0000 (23:40 -0400)]
Ensure getPrototypeOf will not crash on plugin options with no scopes (#9431)
* Ensure getPrototypeOf will not crash on plugin options with no scopes
* Code review improvements
Jukka Kurkela [Fri, 23 Jul 2021 05:28:09 +0000 (08:28 +0300)]
Fix DomPlatform.isAttached (#9448)
stockiNail [Fri, 23 Jul 2021 05:26:49 +0000 (07:26 +0200)]
Adds HTMLCanvasElement as possible value for pointStyle option (#9458)
Jukka Kurkela [Wed, 21 Jul 2021 11:13:45 +0000 (14:13 +0300)]
Bar: add 'middle' option for borderSkipped (#9452)
* Bar: add 'middle' option for borderSkipped
* Split in 2
Jukka Kurkela [Wed, 21 Jul 2021 11:08:02 +0000 (14:08 +0300)]
Add ability to hide specific data element (#9450)
Jukka Kurkela [Wed, 21 Jul 2021 11:00:05 +0000 (14:00 +0300)]
Add data/dataset indices to line segment context (#9451)
Jukka Kurkela [Tue, 20 Jul 2021 12:45:18 +0000 (15:45 +0300)]
Apply segment styles with only single segment (#9447)
Jukka Kurkela [Tue, 20 Jul 2021 11:57:56 +0000 (14:57 +0300)]
Fix interaction on partially visible bar (#9446)
Jukka Kurkela [Tue, 20 Jul 2021 11:55:51 +0000 (14:55 +0300)]
Typescript 4.2+ compatibility (#9444)
Jukka Kurkela [Tue, 20 Jul 2021 11:52:41 +0000 (14:52 +0300)]
Don't draw points outside chartArea (#9443)
Jukka Kurkela [Tue, 20 Jul 2021 11:51:16 +0000 (14:51 +0300)]
Fix: config.platform was ignored (#9442)
Evert Timberg [Mon, 19 Jul 2021 17:33:18 +0000 (13:33 -0400)]
Allow dataset specific ChartMeta type extensions (#9432)
Filip Borkiewicz [Mon, 19 Jul 2021 17:06:12 +0000 (17:06 +0000)]
Define bounds as a field common to all cartesian axes options (#9438)
Associated with #9437.
Evert Timberg [Sun, 18 Jul 2021 15:14:33 +0000 (11:14 -0400)]
Linear scale handle min === max when abs(max) > Number.MAX_SAFE_INTEGER (#9433)
Jacco van den Berg [Fri, 16 Jul 2021 15:16:31 +0000 (17:16 +0200)]
lower default value of grid z index so it draws behind chart elements (#9426)
Jukka Kurkela [Fri, 16 Jul 2021 11:15:54 +0000 (14:15 +0300)]
Properly update stacks when datasets index changes (#9425)
Evert Timberg [Thu, 15 Jul 2021 12:20:22 +0000 (08:20 -0400)]
Fix center axis title positions (#9413)
* Fix the title positions for center positioned axes
* Handle center position for vertical axes
* Tests
Jukka Kurkela [Wed, 14 Jul 2021 11:39:22 +0000 (14:39 +0300)]
Update a failing fixture (#9414)
Evert Timberg [Wed, 14 Jul 2021 06:14:29 +0000 (02:14 -0400)]
Limit Math.asin inputs to the range [-1, 1] (#9410)
Jukka Kurkela [Tue, 13 Jul 2021 22:20:24 +0000 (01:20 +0300)]
Bar: inflate rects by 0.33px to avoid artifacts (#9399)
* Bar: inflate rects by 0.33px to avoid artifacts
* Update fixture
* YAGNI
Drew J. Sonne [Tue, 13 Jul 2021 17:43:21 +0000 (18:43 +0100)]
Add missing resizeDelay option to types (#9403)
This option is defined in the documentation (https://www.chartjs.org/docs/master/configuration/responsive.html) and the native js code, but not listed in the types. This allows its use in typescript.
Jukka Kurkela [Tue, 13 Jul 2021 12:02:14 +0000 (15:02 +0300)]
Fix bar direction when minBarLength is applied (#9400)
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)