Commit Graph

13 Commits

Author SHA1 Message Date
Jacco van den Berg
992d9322f0
Clarify update docs (#11345) 2023-06-13 18:24:13 +02:00
Muhammad Khalikov
0cbc292dc7
Refined grammar and updated overall .md documentation files (#11324) 2023-06-05 09:56:56 +02:00
wenzdey
1d6b8f3b44
Updated dead sample link (#10748)
* Updated dead sample link

* Updated option sample
2022-10-06 10:36:26 -04:00
Jacco van den Berg
7b01d33fed
clarify api docs (#10392) 2022-06-01 14:38:39 -04:00
Eric Theise
67c5a85144
Define with let to avoid "assignment to constant" errors (#9803)
* Define with let to avoid "assignment to constant" errors

Thanks for this example. Defining `label` with `const` rather than `let` results in `Uncaught TypeError: Assignment to constant variable.`

* Another case where const needs to be replaced with let.

* Requested cases where const needs to be replaced with let +1 (style).
2021-10-30 09:23:14 -04:00
PrashoonB
6f7e09540c
Changed var to const/let in the docs (#9744)
Changed var to const/let in the docs
2021-10-13 14:51:33 -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
Ben McCann
2851a94b92
Migrate from GitBook to Docusaurus (#7295)
Migrate from GitBook to Docusaurus
2020-05-05 15:19:57 -04:00
Jukka Kurkela
b83f64b16e Rewrite animation logic (#6845)
* Rewrite animation logic

* Review update 1

* Review update 2

* Review update 3

* Add 'none' to api.md
2019-12-27 17:13:24 -05:00
Jukka Kurkela
ce74eb76a1 Convert axis options from arrays to objects (#6773)
* Convert axis options from arrays to objects

* Updated all chart type defaults
* Throw errors when axis type or position are not specified
* Avoid raising unnecessary errors when merging options into the default configs

* Fix additional tests

* Ensure scale defaults are set if type is not explicitly defined

* Another step

* Include `scale` as `firstIDs.r`

* update docs

* Update for buildOrUpdateScales

* Update migration guide

* Add test back
2019-11-21 18:46:49 -05:00
Akihiko Kusanagi
0d01bcf5cc Fix typos and make the docs consistent (#6020) 2019-01-29 13:34:16 +01:00
Xingan Wang
333f2eba99 Fix scale options update (#4198)
- allow options to be updated in-place or as a new object
- re-merge new options and rebuild scales & tooltips
- preserve reference to old scale if id/type not changed
- related tests and new sample also added.
- update document about options update
- update doc and example
2017-11-29 22:52:23 +01:00
etimberg
d7335bf1ee initial data update docs 2017-05-08 18:44:01 -04:00