]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Jukka Kurkela [Sun, 4 Apr 2021 13:26:41 +0000 (16:26 +0300)]
More script error fixes (#8820)
Jukka Kurkela [Sun, 4 Apr 2021 13:19:22 +0000 (16:19 +0300)]
Fix utils.sh location (#8819)
Jukka Kurkela [Sun, 4 Apr 2021 13:10:29 +0000 (16:10 +0300)]
Update release process to create versioned docs (#8817)
* Update release process to create versioned docs
* Remove test, separate tag
Jukka Kurkela [Sun, 4 Apr 2021 11:56:59 +0000 (14:56 +0300)]
Bump version to 3.0.2
Evert Timberg [Sat, 3 Apr 2021 17:06:31 +0000 (13:06 -0400)]
Correct decimation plugin documentation (#8801)
* Correct decimation plugin documentation
* The default for decimation is `false`.
* Added a sample for data decimation
* Corrected an issue in the decimation plugin when switched from enabled to disabled
Jukka Kurkela [Sun, 4 Apr 2021 11:04:56 +0000 (14:04 +0300)]
Patch release workflow (#8815)
* Allow manual triggering of release drafter
* Add instructions for patch release
Jukka Kurkela [Sun, 4 Apr 2021 11:03:48 +0000 (14:03 +0300)]
Fix: tick spacing when min=0 | niceMin or max=0 (#8811)
Jacco van den Berg [Sat, 3 Apr 2021 19:19:51 +0000 (21:19 +0200)]
Docs small update (#8791)
* 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
* Final tip to Note again and update latest v2 docs to latest release
* remove whitespace between tip and dots, remove double the in the note
* Update index.md
Implement feedback
Evert Timberg [Sat, 3 Apr 2021 18:16:26 +0000 (14:16 -0400)]
Update documentation for getElementsAtEventFor Mode (#8803)
The correct properties are `datasetIndex` and `index` without an '_' prefix
Jukka Kurkela [Sat, 3 Apr 2021 13:34:57 +0000 (16:34 +0300)]
Update ticks.callback documentation (#8798)
Jukka Kurkela [Sat, 3 Apr 2021 12:01:48 +0000 (15:01 +0300)]
Logarithmic: handle null/NaN values (#8793)
Jukka Kurkela [Fri, 2 Apr 2021 20:13:36 +0000 (23:13 +0300)]
Patch: option scope might not be an object (#8789)
Evert Timberg [Fri, 2 Apr 2021 18:56:54 +0000 (14:56 -0400)]
v3.0.0 version bump (#8781)
* v3.0.0 version bump
* Update urls for next -> latest
* Remove TS urls
Jacco van den Berg [Fri, 2 Apr 2021 18:32:55 +0000 (20:32 +0200)]
Added v2 to issue template as not supported and change links in readme to v3 versions (#8693)
Evert Timberg [Fri, 2 Apr 2021 17:57:05 +0000 (13:57 -0400)]
Tweak redirect urls (#8788)
* Redirect to html links
* No delay on redirect
Jukka Kurkela [Fri, 2 Apr 2021 17:47:05 +0000 (20:47 +0300)]
Proxy: make sure set value ends up in first scope (#8787)
Evert Timberg [Fri, 2 Apr 2021 17:33:56 +0000 (13:33 -0400)]
Vuepress HTML redirect for samples folder (#8785)
* HTML redirect using vuepress plugin
* Add other needed redirects
Co-authored-by: Evert Timberg <--global>
stockiNail [Fri, 2 Apr 2021 16:13:43 +0000 (18:13 +0200)]
Adds scriptable column to options table in the title documentation (#8786)
* Fixes typo on padding doc
* adds column to the options table for scriptable
* Fixes table headers
Jukka Kurkela [Fri, 2 Apr 2021 15:18:53 +0000 (18:18 +0300)]
Add vuepress-plugin-flexsearch (#8784)
Jukka Kurkela [Fri, 2 Apr 2021 14:56:32 +0000 (17:56 +0300)]
Redirect to first sample (#8783)
Evert Timberg [Fri, 2 Apr 2021 14:53:00 +0000 (10:53 -0400)]
Fix tooltip align & external types (#8782)
Jacco van den Berg [Fri, 2 Apr 2021 14:06:29 +0000 (16:06 +0200)]
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 (#8780)
Evert Timberg [Fri, 2 Apr 2021 13:32:59 +0000 (09:32 -0400)]
Bump to v3.0.0-rc.7 (#8779)
Evert Timberg [Fri, 2 Apr 2021 13:10:03 +0000 (09:10 -0400)]
Remove old sample files (#8777)
* Remove old sample files
* Code review feedback
* Add sample redirect
Evert Timberg [Fri, 2 Apr 2021 12:04:39 +0000 (08:04 -0400)]
Vuepress samples (#8756)
* Generate API docs with vuepress-plugin-typedoc
* Links, fixes, cleanup
* Convert bar samples to Vuepress
* Some line chart samples moved over
* Fix lint issues
* Derived axis type sample
* LineAreaStacked chart created in vuepress
* added radar area axample
* Line dataset added sample
* final area example added
* Add derived-chart-type
* Bar scriptable sample
* Scriptable samples
* Clean lint errors
* added linear axis samples to vuepress
* change tab to spaces to fix lint error
* Convert the rest of the scale samples
* Scale option samples
* Fix typo
* Fixes
* Legend samples
* Title samples
* Change the title of the tip block to Note (#8758)
* Convert bar samples to Vuepress
* Some line chart samples moved over
* Fix lint issues
* Derived axis type sample
* LineAreaStacked chart created in vuepress
* added radar area axample
* Line dataset added sample
* final area example added
* Add derived-chart-type
* Bar scriptable sample
* Scriptable samples
* Clean lint errors
* added linear axis samples to vuepress
* change tab to spaces to fix lint error
* Convert the rest of the scale samples
* Scale option samples
* Fix typo
* Fixes
* Legend samples
* Advanced samples
* Remove extra section
* Animation samples
* Hide legend from progressive line
* Add a comment on what `from` does
* Tooltip samples
* Ädd other charts to vuepress samples
* enable plugin again since all samples have been converted
* fix skip radar example, middle skip was not calculated correctly
* lint error
* Progressive-line: add 2nd line
* Fix lint errors
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Jukka Kurkela [Fri, 2 Apr 2021 11:48:50 +0000 (14:48 +0300)]
Links: Rename .mdx to .md (#8775)
AW [Fri, 2 Apr 2021 11:43:39 +0000 (20:43 +0900)]
Contributing link show 404 error page cause by wrong url (#8774)
Jukka Kurkela [Thu, 1 Apr 2021 17:47:11 +0000 (20:47 +0300)]
Remove line interaction overrides + hover.onHover (#8770)
* Remove interaction mode overrides + hover.onHover
* Restore bar override
Jukka Kurkela [Thu, 1 Apr 2021 15:11:14 +0000 (18:11 +0300)]
Fix typo, add tests to catch (#8768)
* Fix typo, add tests to catch
* Tune tests
Jukka Kurkela [Thu, 1 Apr 2021 11:17:02 +0000 (14:17 +0300)]
Ensure scriptable context reflects updated data (#8765)
Evert Timberg [Thu, 1 Apr 2021 07:16:03 +0000 (03:16 -0400)]
Scriptable title plugin options (#8764)
Jukka Kurkela [Wed, 31 Mar 2021 19:25:25 +0000 (22:25 +0300)]
Pie: Fix last slice animation and NaN handling (#8760)
* Pie: Fix last slice animation and NaN handling
* Add tests
* Fix polarArea
Jukka Kurkela [Wed, 31 Mar 2021 19:18:09 +0000 (22:18 +0300)]
Remove .d.ts from helper types location (#8761)
Jacco van den Berg [Tue, 30 Mar 2021 22:19:45 +0000 (00:19 +0200)]
Change the title of the tip block to Note (#8758)
Jukka Kurkela [Tue, 30 Mar 2021 20:19:59 +0000 (23:19 +0300)]
Generate API docs with vuepress-plugin-typedoc (#8755)
* Generate API docs with vuepress-plugin-typedoc
* Links, fixes, cleanup
Evert Timberg [Tue, 30 Mar 2021 14:48:40 +0000 (10:48 -0400)]
Build docs with node14 (#8754)
Evert Timberg [Tue, 30 Mar 2021 14:32:39 +0000 (10:32 -0400)]
Switch docs to Vuepress to match other chart.js repositories (#8751)
* Initial work
* Update doc commands
* Updated sidebar config
* Move docs
* Update theme version and enable
* Convert to chart.js sample
* Update scripts to point to local build
* Chart.js from local build
* Simplify getting-started example
* Axis docs updated except for imported content
* Common ticks import works
* Chart type docs ported to editor plugin
* Last pages to use editor
* Fix small errors
* Frontmatter title to heading
* Remove duplicate example
* Update sidebar
* Add paths
* Remove paths
* Add getting-started back
* Update menus and add copyright to license section of the docs
* Add GA plugin
* Style sub-groups
* Remove unneeded license page since it is covered on the main page
* Remove docusaurus readme page
* Remove docusaurus files
* Fix issues in docs
* Build and deploy scripts for docs work
* Conditional base URL for nice local testing
* Use eslint-plugin-markdown
* Remove hard coded lines
* Remove mentions of docusaurus
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Jukka Kurkela [Tue, 30 Mar 2021 14:12:07 +0000 (17:12 +0300)]
Legend: adjust lifecycle and event handling (#8753)
Jukka Kurkela [Tue, 30 Mar 2021 12:00:19 +0000 (15:00 +0300)]
Revert "Scale: draw offset grid for labels before autoSkip (#8748)" (#8752)
This reverts commit
cdba66ccef67c4671fe4bf7873fbba7524c4e935 .
Jukka Kurkela [Mon, 29 Mar 2021 20:53:47 +0000 (23:53 +0300)]
Scale: draw offset grid for labels before autoSkip (#8748)
* Scale: draw offset grid for labels before autoSkip
* fix tests
Jukka Kurkela [Sun, 28 Mar 2021 16:21:53 +0000 (19:21 +0300)]
Legend: Ignore replayed events (#8749)
Jukka Kurkela [Sat, 27 Mar 2021 21:32:59 +0000 (23:32 +0200)]
Bump version to 3.0.0-rc.6 (#8742)
Jukka Kurkela [Sat, 27 Mar 2021 20:43:56 +0000 (22:43 +0200)]
Add note about inline plugins and registration (#8741)
Jukka Kurkela [Sat, 27 Mar 2021 19:55:54 +0000 (21:55 +0200)]
Time: Fix offset with low data counts (#8740)
Evert Timberg [Sat, 27 Mar 2021 19:00:21 +0000 (15:00 -0400)]
Improved alignment of pixels in scales at low widths (#8739)
* Improved alignment of pixels in scales at low widths
* Undo scale changes
Jukka Kurkela [Sat, 27 Mar 2021 10:11:51 +0000 (12:11 +0200)]
Avoid recursive event replay loops (#8738)
* chart._lastEvent = null while processing onHover
* Pass replay flag to external tooltip
* Add test for replay
* cc
Jukka Kurkela [Fri, 26 Mar 2021 22:20:05 +0000 (00:20 +0200)]
Bubble: Fix maxOverflow before elements update (#8736)
Jukka Kurkela [Fri, 26 Mar 2021 22:10:41 +0000 (00:10 +0200)]
Add comments for finding registry hook calls (#8734)
Evert Timberg [Fri, 26 Mar 2021 22:09:46 +0000 (18:09 -0400)]
Document install/start/stop plugin hooks (#8733)
* Add code comment to make searching easier
* Update flowcharts
* Comment added in separate MR
Josh Kelley [Fri, 26 Mar 2021 20:20:59 +0000 (16:20 -0400)]
Add a convenience alias for scale options (#8732)
* Add a convenience alias for scale options
Closes #8731
* Add an automated test
* Use parameter for a more realistic test
Jacco van den Berg [Fri, 26 Mar 2021 14:58:13 +0000 (15:58 +0100)]
Update helper types location (#8729)
Comming from #8720 resolves #8728
Jacco van den Berg [Fri, 26 Mar 2021 04:59:21 +0000 (05:59 +0100)]
Update v3-migration.md (#8725)
update sentece to make it read/sound better
Evert Timberg [Thu, 25 Mar 2021 22:03:05 +0000 (18:03 -0400)]
Point to correct type file & bump (#8724)
Jukka Kurkela [Thu, 25 Mar 2021 21:34:31 +0000 (23:34 +0200)]
Bump version to 3.0.0-rc.4 (#8721)
Jukka Kurkela [Thu, 25 Mar 2021 19:09:35 +0000 (21:09 +0200)]
Make type-tests strict (#8717)
Josh Kelley [Thu, 25 Mar 2021 19:08:00 +0000 (15:08 -0400)]
Distribute types as is (#8720)
I had initially seen some oddities around type augmentation for type definitions in subdirectories of `types`, and using Rollup seemed to help with that. However, now that all of Chart.js's main types are directly under `types`, there seems to be no need for this.
This simplifies the build process, since it no longer needs to use rollup-plugin-dts.
It also improves some third-party tools. For example, I'm in the habit of using WebStorm's "Go To Declaration or Usages" hotkey with third-party TypeScript definitions as a quick way of getting more information about an API. With the Rollup-generate types, that works poorly; WebStorm goes to the imported-and-re-exported symbol within the barely-readable machine-generated dist/chart.esm.d.ts file, and I have to navigate two more hops to find the actual definitions.
Josh Kelley [Thu, 25 Mar 2021 15:09:01 +0000 (11:09 -0400)]
Minor type fixes (#8719)
* Update RadialLinearScaleOptions.pointLabels.callback type
The code passes `index` as the second parameter, and one of the tests uses this. `@default true` doesn't seem to make sense.
* Add types for additional documented parameters in tooltip callbacks
Jukka Kurkela [Wed, 24 Mar 2021 19:30:45 +0000 (21:30 +0200)]
Add defaults.describe/defaults.override typings (#8716)
Evert Timberg [Wed, 24 Mar 2021 17:38:25 +0000 (13:38 -0400)]
LayoutItem.update should return void (#8714)
Jacco van den Berg [Wed, 24 Mar 2021 13:39:48 +0000 (14:39 +0100)]
Remove the comparrison doc page (#8709)
Evert Timberg [Wed, 24 Mar 2021 13:33:47 +0000 (09:33 -0400)]
fix: Scales correctly respect the locale setting when generating labels (#8710)
Jukka Kurkela [Tue, 23 Mar 2021 20:14:22 +0000 (22:14 +0200)]
formatters.numeric: verify ticks length (#8705)
* formatters.numeric: verify ticks length
* use tickValue as fallback delta, add tests
* cc, chore
Jukka Kurkela [Tue, 23 Mar 2021 20:08:14 +0000 (22:08 +0200)]
Bump version to rc.3 (#8706)
Jukka Kurkela [Tue, 23 Mar 2021 12:28:38 +0000 (14:28 +0200)]
Line: update all points when scale range changes (#8703)
Jacco van den Berg [Tue, 23 Mar 2021 12:27:07 +0000 (13:27 +0100)]
Update api.md (#8701)
Add clarification that you can pass type and quality options
Evert Timberg [Mon, 22 Mar 2021 22:59:50 +0000 (18:59 -0400)]
Allow `fill: true` and `null` in `ChartDataset.data` (#8700)
* Handle `fill: true`
* ChartDataset allow number/null data
Jukka Kurkela [Mon, 22 Mar 2021 21:20:03 +0000 (23:20 +0200)]
Category: parse to valid index values only (#8697)
Jukka Kurkela [Sun, 21 Mar 2021 22:13:50 +0000 (00:13 +0200)]
Move scale defaults to separate file (#8692)
Jukka Kurkela [Sun, 21 Mar 2021 21:07:28 +0000 (23:07 +0200)]
Move autoSkip related functions to separate file (#8691)
Jukka Kurkela [Sun, 21 Mar 2021 21:07:09 +0000 (23:07 +0200)]
Add rollup-plugin-analyzer (#8690)
Jukka Kurkela [Sun, 21 Mar 2021 15:50:28 +0000 (17:50 +0200)]
Add typings for throttled and debounce (#8689)
* Add typings for throttled and debounce
* Review feedback
* args for fn too
* one more
Jukka Kurkela [Sun, 21 Mar 2021 15:27:30 +0000 (17:27 +0200)]
Make sure all helpers are exported (#8688)
Evert Timberg [Sun, 21 Mar 2021 15:15:41 +0000 (11:15 -0400)]
Bump to v3.0.0-rc.2 (#8687)
Jukka Kurkela [Sun, 21 Mar 2021 15:05:20 +0000 (17:05 +0200)]
Generalize toTRBL and toTRBLCorners (#8686)
Jukka Kurkela [Sun, 21 Mar 2021 14:20:05 +0000 (16:20 +0200)]
Modify Scale typing (#8681)
Evert Timberg [Sun, 21 Mar 2021 09:04:27 +0000 (05:04 -0400)]
Expose `formatNumber` as a helper (#8683)
Jukka Kurkela [Fri, 19 Mar 2021 20:09:13 +0000 (22:09 +0200)]
Fix _isPointInArea for undefined point (#8678)
Jukka Kurkela [Fri, 19 Mar 2021 12:02:51 +0000 (14:02 +0200)]
Update external tooltip docs (#8674)
Jacco van den Berg [Fri, 19 Mar 2021 07:09:55 +0000 (08:09 +0100)]
Docs/licence year update (#8671)
* Update license year
* Update docusaurus.config.js
update license year
* Update LICENSE.md
Jukka Kurkela [Thu, 18 Mar 2021 21:28:49 +0000 (23:28 +0200)]
Bumpo version to 3.0.0-rc (#8670)
Evert Timberg [Thu, 18 Mar 2021 21:07:32 +0000 (17:07 -0400)]
Allow changing the aspect ratio (#8659)
* Allow changing the aspect ratio
* Add test and require `resize()` call
* Update to respect maintainAspectRatio
Jukka Kurkela [Thu, 18 Mar 2021 20:34:08 +0000 (22:34 +0200)]
Fix category scale invalid data handling (#8668)
* Fix category scale invalid data handling
* Fix NaN
Jukka Kurkela [Thu, 18 Mar 2021 11:37:03 +0000 (13:37 +0200)]
Add textAlign for legend labels (#8665)
* Add textAlign for legend labels
* Update tests
Jukka Kurkela [Thu, 18 Mar 2021 11:27:37 +0000 (13:27 +0200)]
Fix tooltip padding (#8666)
Jukka Kurkela [Thu, 18 Mar 2021 11:12:43 +0000 (13:12 +0200)]
Re-enable oversized boxes (#8662)
stockiNail [Thu, 18 Mar 2021 07:57:56 +0000 (08:57 +0100)]
Changes defaults in documentation, applied by PR 8657 (#8660)
Jukka Kurkela [Wed, 17 Mar 2021 22:22:21 +0000 (00:22 +0200)]
Update tick positioning (#8657)
* Update tick positioning
* Update tests
coyotte508 [Wed, 17 Mar 2021 14:26:30 +0000 (15:26 +0100)]
Update stacked option's typing (#8656)
Jukka Kurkela [Tue, 16 Mar 2021 21:01:28 +0000 (23:01 +0200)]
Bump version to v3.0.0-beta.14 (#8653)
Jukka Kurkela [Tue, 16 Mar 2021 21:01:13 +0000 (23:01 +0200)]
Update deps (#8654)
Jukka Kurkela [Tue, 16 Mar 2021 20:32:29 +0000 (22:32 +0200)]
Use maxOverflow as minimum layout padding (#8650)
* Use maxOverflow as minimum layout padding
* fixes
Jukka Kurkela [Tue, 16 Mar 2021 12:49:19 +0000 (14:49 +0200)]
Exclude base-line from bar size (#8648)
* Exclude base-line from bar size
* lint
* add to types
Jukka Kurkela [Tue, 16 Mar 2021 12:41:51 +0000 (14:41 +0200)]
Add alignToPixles option for scales (#8649)
Jukka Kurkela [Tue, 16 Mar 2021 12:07:17 +0000 (14:07 +0200)]
Reduce duplication in drawGrid (#8647)
Jukka Kurkela [Tue, 16 Mar 2021 12:06:05 +0000 (14:06 +0200)]
Fix tooltip positioning issues (#8646)
* Fix tooltip positioning issues
* Update fixture, add npm run dev:ff
* Refactor determineXAlign
* Simplify more
* remove unneeded change
Evert Timberg [Mon, 15 Mar 2021 12:49:25 +0000 (08:49 -0400)]
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
Jukka Kurkela [Sun, 14 Mar 2021 15:29:54 +0000 (17:29 +0200)]
Allow tooltip callback override in dataset (#8640)
Jukka Kurkela [Sun, 14 Mar 2021 15:27:57 +0000 (17:27 +0200)]
Add option to turn off grouping of bar datasets (#8641)
* Add option to turn off grouping of bar datasets
* Disregard time offset
Jukka Kurkela [Sun, 14 Mar 2021 15:21:30 +0000 (17:21 +0200)]
Add x/y shorthand for padding options (#8637)
38elements [Sun, 14 Mar 2021 15:08:12 +0000 (00:08 +0900)]
Add og:image (#8635)