Commit Graph

3823 Commits

Author SHA1 Message Date
Jukka Kurkela
c6d43bbbc5 Update release process to create versioned docs (#8817)
* Update release process to create versioned docs
* Remove test, separate tag
2021-04-04 09:10:29 -04:00
Jukka Kurkela
77cdadb1dc Update codepen url in bug template (#8816) 2021-04-04 07:32:32 -04:00
Jukka Kurkela
c26f7b8fcc Patch release workflow (#8815)
* Allow manual triggering of release drafter
* Add instructions for patch release
2021-04-04 07:04:56 -04:00
Jukka Kurkela
697e3ffde7 Fix: tick spacing when min=0 | niceMin or max=0 (#8811) 2021-04-04 07:03:48 -04:00
Jukka Kurkela
33df3a6d73 Update chart type documentation (#8805)
* Update chart type documentation
* Self-review
2021-04-03 18:08:20 -04:00
Evert Timberg
019233457f HTML Legend sample (#8804) 2021-04-03 16:10:39 -04:00
Jacco van den Berg
35e8af726d 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
2021-04-03 22:19:51 +03:00
Evert Timberg
0ea9fa7efe Update documentation for getElementsAtEventFor Mode (#8803)
The correct properties are `datasetIndex` and `index` without an '_' prefix
2021-04-03 21:16:26 +03:00
Evert Timberg
bdfaa44ab3 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
2021-04-03 13:06:31 -04:00
Evert Timberg
238bfa589c Add the ability to change font color per legend item (#8800) 2021-04-03 11:55:27 -04:00
Jukka Kurkela
74f118818b Proxy: Only create scopes when setting values (#8799) 2021-04-03 11:10:52 -04:00
Jukka Kurkela
a4cc21f9a9 Update ticks.callback documentation (#8798) 2021-04-03 09:34:57 -04:00
Jukka Kurkela
1451e5aee6 Add ability to stack different dataset types (#8797) 2021-04-03 09:23:35 -04:00
Jukka Kurkela
5af8f8859b Add legend events sample (#8795)
* Add legend events sample
* review update
2021-04-03 08:13:38 -04:00
Jukka Kurkela
6df7fae625 Add drawTime option to filler plugin (#8796) 2021-04-03 08:13:00 -04:00
Jukka Kurkela
bd1df1bc34 Logarithmic: handle null/NaN values (#8793) 2021-04-03 08:01:48 -04:00
Evert Timberg
6f6b1b2d17 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
2021-04-03 07:58:51 -04:00
Evert Timberg
96dd201028 Clean up a few sample issues (#8790) 2021-04-02 17:25:14 -04:00
Jukka Kurkela
98e890cc7b Patch: option scope might not be an object (#8789) v3.0.1 2021-04-02 16:13:36 -04:00
Evert Timberg
8780e15c73 v3.0.0 version bump (#8781)
* v3.0.0 version bump
* Update urls for next -> latest
* Remove TS urls
v3.0.0
2021-04-02 14:56:54 -04:00
Jacco van den Berg
73a5ec3ea1 Added v2 to issue template as not supported and change links in readme to v3 versions (#8693) 2021-04-02 14:32:55 -04:00
Evert Timberg
dc6a660eeb Tweak redirect urls (#8788)
* Redirect to html links
* No delay on redirect
2021-04-02 13:57:05 -04:00
Jukka Kurkela
515d941df7 Proxy: make sure set value ends up in first scope (#8787) 2021-04-02 13:47:05 -04:00
Evert Timberg
678974654b Vuepress HTML redirect for samples folder (#8785)
* HTML redirect using vuepress plugin

* Add other needed redirects

Co-authored-by: Evert Timberg <--global>
2021-04-02 20:33:56 +03:00
stockiNail
69fae1a1e7 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
2021-04-02 12:13:43 -04:00
Jukka Kurkela
48f2039ac1 Add vuepress-plugin-flexsearch (#8784) 2021-04-02 11:18:53 -04:00
Jukka Kurkela
0ef1897a98 Redirect to first sample (#8783) 2021-04-02 10:56:32 -04:00
Evert Timberg
877f4c6b2d Fix tooltip align & external types (#8782) 2021-04-02 10:53:00 -04:00
Jacco van den Berg
c9eec3112f 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) 2021-04-02 10:06:29 -04:00
Evert Timberg
eef5c1ebf3 Bump to v3.0.0-rc.7 (#8779) v3.0.0-rc.7 2021-04-02 09:32:59 -04:00
Evert Timberg
d4cb431b84 Remove old sample files (#8777)
* Remove old sample files

* Code review feedback

* Add sample redirect
2021-04-02 09:10:03 -04:00
Evert Timberg
66ee0fecaf 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>
2021-04-02 08:04:39 -04:00
Jukka Kurkela
49f8fab448 Links: Rename .mdx to .md (#8775) 2021-04-02 07:48:50 -04:00
AW
38bd974c5a Contributing link show 404 error page cause by wrong url (#8774) 2021-04-02 07:43:39 -04:00
Jukka Kurkela
dd99005b5a Remove line interaction overrides + hover.onHover (#8770)
* Remove interaction mode overrides + hover.onHover

* Restore bar override
2021-04-01 13:47:11 -04:00
Jukka Kurkela
9fb18c2fd7 Fix typo, add tests to catch (#8768)
* Fix typo, add tests to catch
* Tune tests
2021-04-01 11:11:14 -04:00
Jukka Kurkela
bc2c92e65c Ensure scriptable context reflects updated data (#8765) 2021-04-01 07:17:02 -04:00
Evert Timberg
d2c8402445 Scriptable title plugin options (#8764) 2021-04-01 10:16:03 +03:00
Jukka Kurkela
f1810586f7 Pie: Fix last slice animation and NaN handling (#8760)
* Pie: Fix last slice animation and NaN handling

* Add tests

* Fix polarArea
2021-03-31 15:25:25 -04:00
Jukka Kurkela
5cb60d5110 Remove .d.ts from helper types location (#8761) 2021-03-31 15:18:09 -04:00
Jacco van den Berg
a6eaaf771f Change the title of the tip block to Note (#8758) 2021-03-30 18:19:45 -04:00
Jukka Kurkela
93e07ebb48 Generate API docs with vuepress-plugin-typedoc (#8755)
* Generate API docs with vuepress-plugin-typedoc

* Links, fixes, cleanup
2021-03-30 16:19:59 -04:00
Evert Timberg
4b7b3f277f Build docs with node14 (#8754) 2021-03-30 10:48:40 -04:00
Evert Timberg
ed2b96eeaf 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>
2021-03-30 10:32:39 -04:00
Jukka Kurkela
88c585b11e Legend: adjust lifecycle and event handling (#8753) 2021-03-30 10:12:07 -04:00
Jukka Kurkela
1a5a15265a Revert "Scale: draw offset grid for labels before autoSkip (#8748)" (#8752)
This reverts commit cdba66ccef.
2021-03-30 08:00:19 -04:00
Jukka Kurkela
cdba66ccef Scale: draw offset grid for labels before autoSkip (#8748)
* Scale: draw offset grid for labels before autoSkip
* fix tests
2021-03-29 16:53:47 -04:00
Jukka Kurkela
fe406bf717 Legend: Ignore replayed events (#8749) 2021-03-28 12:21:53 -04:00
Jukka Kurkela
c76ee82461 Bump version to 3.0.0-rc.6 (#8742) v3.0.0-rc.6 2021-03-27 17:32:59 -04:00
Jukka Kurkela
d6972abd48 Add note about inline plugins and registration (#8741) 2021-03-27 16:43:56 -04:00