]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
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
Mohammad Ahmadi [Wed, 7 Apr 2021 16:51:45 +0000 (21:21 +0430)]
Fix typos in canvas-background.md (#8837)
Jukka Kurkela [Wed, 7 Apr 2021 11:32:28 +0000 (14:32 +0300)]
_boundSegments did not work on rising line (#8838)
Mohammad Ahmadi [Wed, 7 Apr 2021 05:05:33 +0000 (09:35 +0430)]
Fix typo in migration guide (#8836)
Jukka Kurkela [Tue, 6 Apr 2021 22:54:36 +0000 (01:54 +0300)]
Fix: update line options on resize, for gradients (#8832)
mjcross [Tue, 6 Apr 2021 22:54:18 +0000 (23:54 +0100)]
complete the first 'getting-started' example (#8829)
This page is very likely the first example a new user sees, so we should make it clear how to actually use the config and setup show to actually render a chart.
Evert Timberg [Mon, 5 Apr 2021 03:48:59 +0000 (23:48 -0400)]
Document plugin event handling (#8828)
Jukka Kurkela [Sun, 4 Apr 2021 18:19:07 +0000 (21:19 +0300)]
Dissociate border options from grid options (#8823)
* Dissociate border options from grid options
* Update docs
Jukka Kurkela [Sun, 4 Apr 2021 15:24:42 +0000 (18:24 +0300)]
Time: Use callback helper on ticks.callback (#8822)
Evert Timberg [Sun, 4 Apr 2021 13:39:48 +0000 (09:39 -0400)]
Allow the CI to be manually run (#8821)
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:32:32 +0000 (14:32 +0300)]
Update codepen url in bug template (#8816)
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)
Jukka Kurkela [Sat, 3 Apr 2021 22:08:20 +0000 (01:08 +0300)]
Update chart type documentation (#8805)
* Update chart type documentation
* Self-review
Evert Timberg [Sat, 3 Apr 2021 20:10:39 +0000 (16:10 -0400)]
HTML Legend sample (#8804)
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
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
Evert Timberg [Sat, 3 Apr 2021 15:55:27 +0000 (11:55 -0400)]
Add the ability to change font color per legend item (#8800)
Jukka Kurkela [Sat, 3 Apr 2021 15:10:52 +0000 (18:10 +0300)]
Proxy: Only create scopes when setting values (#8799)
Jukka Kurkela [Sat, 3 Apr 2021 13:34:57 +0000 (16:34 +0300)]
Update ticks.callback documentation (#8798)
Jukka Kurkela [Sat, 3 Apr 2021 13:23:35 +0000 (16:23 +0300)]
Add ability to stack different dataset types (#8797)
Jukka Kurkela [Sat, 3 Apr 2021 12:13:38 +0000 (15:13 +0300)]
Add legend events sample (#8795)
* Add legend events sample
* review update
Jukka Kurkela [Sat, 3 Apr 2021 12:13:00 +0000 (15:13 +0300)]
Add drawTime option to filler plugin (#8796)
Jukka Kurkela [Sat, 3 Apr 2021 12:01:48 +0000 (15:01 +0300)]
Logarithmic: handle null/NaN values (#8793)
Evert Timberg [Sat, 3 Apr 2021 11:58:51 +0000 (07:58 -0400)]
Doughnut/Pie chart border radius (#8682)
* Arc with rounded ends implementation
* End style option
* Working border radius implementation for arcs
* Linting
* Fix bug introduced when converting to new border object
* Fix bugs identified by tests
* Arc border radius tests
* Add test to cover small borderRadii
* Reduce the weight of the arc border implementation
* lint fix
Evert Timberg [Fri, 2 Apr 2021 21:25:14 +0000 (17:25 -0400)]
Clean up a few sample issues (#8790)
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