Commit Graph

25 Commits

Author SHA1 Message Date
Jukka Kurkela
e1ddaa8992
Dissociate border options from grid options (#8823)
* Dissociate border options from grid options
* Update docs
2021-04-04 14:19:07 -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
Ben McCann
738ee34d0b Scriptable tick fonts (#6939)
* Remove extra font parsing in Scale.fit
* Implement scriptable options for tick formatting
2020-01-13 19:33:46 -05:00
Jose Raul Pérez
b1421c6ea1 Add stroke lines option around ticks to improve readability (#6787)
Enable stroking of text on of axis labels
2020-01-12 14:22:51 -05:00
Evert Timberg
4ab6d7cc2a
Enable override settings for the axis border (#6883)
* Enable override settings for the axis border - #4041

Adds two new options to the cartesian axis: `borderColor` and `borderWidth`
which are used to control the border drawn at the edge of the axis area.
If these options are not set, the first grid line settings are used.

* Correct spelling
2020-01-03 13:55:50 -05:00
Evert Timberg
2354e2ff6b
Allow functions to be specified for scale grid line options (#6700)
Add scriptable options for scale styling
2019-11-12 07:03:00 -05:00
Evert Timberg
94afa63450
Remove zeroLineIndex functionality (#6697)
* Remove zeroLineIndex functionality

* Remove docs

* Code review updates
2019-11-07 06:27:49 -05:00
Ben McCann
9ff1c845f2 Bar options should not be defined on scale (#6249)
* Bar options should not be defined on scale

* Improve minimization

* Add tests

* Multiple datasets in test
2019-10-25 12:17:41 -04:00
Akihiko Kusanagi
0d3754254a Correct descriptions on ticks.display and add pointLabels.display (#6293)
* Correct descriptions on ticks.display and add pointLabels.display

* Remove notes about angleLines.display and pointLabels.display
2019-06-23 11:44:35 -04:00
Jukka Kurkela
2a96d83c2c Implement layers (z-index) for layout items (#6241) 2019-05-09 15:54:05 +02:00
Akihiko Kusanagi
946c6d0617 Fix document errors related to ticks (#6099) 2019-03-01 18:03:20 -05:00
Akihiko Kusanagi
0d01bcf5cc Fix typos and make the docs consistent (#6020) 2019-01-29 13:34:16 +01:00
Akihiko Kusanagi
d29ec5a485 Add scale.pointLabels.lineHeight and scale.ticks.lineHeight options (#5914) 2018-12-20 09:56:06 +01:00
Akihiko Kusanagi
0351a88a63 Add support for gridLines/angleLines borderDash for polarArea/radar charts (#5850) 2018-11-26 08:57:31 +01:00
Bart Deslagmulder
f40abe9244 Consistent use of punctuation and quick review in docs (#5796) 2018-11-02 08:46:06 +01:00
Jordan Ephron
6bea6aba7b Document padding option for ticks configuration (#5795) 2018-11-01 16:28:11 +01:00
Akihiko Kusanagi
119a86f399 Update the descriptions of barThickness, offsetGridLines and offset (#5600) 2018-07-14 09:57:16 +02:00
Niel Mistry
246b9a1a40 Add circular option documentation for grid lines (#5637) 2018-07-14 09:52:49 +02:00
beiz23
9a7182ba36 Fix typos and broken links in the docs (#5010) 2017-11-30 14:41:32 +01:00
minusf
11315fba2b minor doc fixes (#4851) 2017-10-16 18:45:54 -04:00
Akihiko Kusanagi
7dc71d009b Make offsetGridLines consistent and add new offset scale option (#4545)
Add a new `offset` option to scales to add extra space at edges and remove the `includeOffset` argument from `getPixelForValue()` and `getPixelForTick()`. The bar controller now automatically calculates the bar width to avoid overlaps. When `offsetGridLines` is true, grid lines move to the left by one half of the tick interval, and labels don't move.
2017-08-14 10:09:33 +02:00
Andrew
2d7c1f0d2c Time axis tick formatting with major and minor units (#4268)
Working towards creating the TimeSeries scale, this PR adds formatting for major and minor ticks on axes.
2017-06-15 07:20:16 -04:00
Lee N Dobryden
20a832809e Zero line dash options (#4019)
* Add of zero line border dash options
* Update Readme with zero line border dash config options
2017-03-21 06:38:09 -04:00
Evert Timberg
3e94b9431a Update the docs structure/content to use GitBook (#3751)
Update the docs structure/content to use GitBook
2017-03-20 20:36:54 -04:00