Commit Graph

98 Commits

Author SHA1 Message Date
Jacco van den Berg
9568a315d2
Update link to filler plugin (#10250) 2022-03-20 19:59:12 -04:00
Evert Timberg
cb81592989
Allow spanGaps to be specified on LineOptions (#10133) 2022-02-06 15:11:02 -05:00
stockiNail
56661e448d
Sort line and bubble dataset options alphabetically (#10100)
* Sort line and bubble dataset options alphabetically
* moves drawActiveElementsOnTop to general section
2022-02-01 07:50:19 -05:00
Dimitri Papadopoulos Orfanos
a7d98fb1a0
Fix typos found by codespell (#10103) 2022-01-27 09:24:55 -05:00
Jacco van den Berg
6d3a1c5fa6
Feature/active elements on top (#9920)
* add flag to draw active items on top

* add documentation and types

* remove redundent check

* added test

* resolve linting errors

* increase tollerance

* remove axes for better test, hope no tolerance needed
2021-12-05 08:56:53 -05:00
Jukka Kurkela
cd9d5289a4
Add borderJoinStyle option for arc elements (#9877)
* Add borderJoinStyle option for arc elements
* docs + types
* Consistently enumerate the possible choices
2021-12-05 08:56:37 -05: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
Jukka Kurkela
c3a53f06d7
Bar: fix too thick borders (#9678) 2021-09-25 07:52:03 +03:00
Jukka Kurkela
183a1a9f67
Fix segment styling with gaps (#9644) 2021-09-13 16:31:34 -04:00
Jacco van den Berg
bc6ef16f31
fix 2 broken links, clarify order property (#9516) 2021-08-08 16:52:09 -04:00
Jacco van den Berg
f0a53fd44e
Move pointStyle types and update plugin link&render chart (#9479)
* Place canvasElement on next line to keep table clean

* move typing to global location, update plugin page
2021-07-30 08:14:07 -04:00
stockiNail
3311377682
Adds HTMLCanvasElement as possible value for pointStyle option (#9458) 2021-07-23 08:26:49 +03:00
Jukka Kurkela
b32fb48574
Bar: add 'middle' option for borderSkipped (#9452)
* Bar: add 'middle' option for borderSkipped
* Split in 2
2021-07-21 07:13:45 -04:00
Jukka Kurkela
151188e2f2
Add data/dataset indices to line segment context (#9451) 2021-07-21 07:00:05 -04:00
Jukka Kurkela
840599637f
Add 'shape' mode for filler-plugin (#9360) 2021-07-05 17:03:19 -04:00
stockiNail
548d042099
Fixes spacing options in the table (#9338) 2021-07-01 11:09:44 -04:00
Ben Lumley
3bb0241dee
Fix broken link (#9315) 2021-06-25 14:08:38 +03:00
Evert Timberg
c853ca6942
Allow setting a constance spacing between arc elements (#9180) 2021-05-29 17:47:44 -04:00
Jacco van den Berg
f486610693
Update pointstyle type and default value (#9168) 2021-05-26 11:21:57 -04:00
Jacco van den Berg
43d3f4d19b
remove double sentence and adjust scale to scales.r (#9111) 2021-05-17 17:08:39 +03:00
Jukka Kurkela
eaa3a68cea
Add drawTime: beforeDraw option to filler (#8973) 2021-04-24 15:27:52 -04:00
Evert Timberg
b92f9e52fd
Only enable the bar borderRadius at the end of the stacks (#8941)
* Only enable the bar borderRadius at the end of the stacks
* Float bars always get borders enabled
* Tests
* Update documentation
2021-04-18 16:30:54 -04:00
Jukka Kurkela
ba84cc5c2a
Filler: support segment backgroundColor (#8864) 2021-04-09 19:10:48 -04:00
Jukka Kurkela
4eb59454be
Allow styling of line segments (#8844)
Allow styling of line segments

* docs & sample
* Types
* update sample
2021-04-08 18:02:12 -04:00
Jukka Kurkela
33df3a6d73
Update chart type documentation (#8805)
* Update chart type documentation
* Self-review
2021-04-03 18:08:20 -04:00
Jukka Kurkela
1451e5aee6
Add ability to stack different dataset types (#8797) 2021-04-03 09:23:35 -04:00
Jukka Kurkela
6df7fae625
Add drawTime option to filler plugin (#8796) 2021-04-03 08:13:00 -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
49f8fab448
Links: Rename .mdx to .md (#8775) 2021-04-02 07:48:50 -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
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
ce902e1963
Make br tags self-closing (#7275) 2020-04-27 16:25:02 -04:00
Jukka Kurkela
9ddda713e4
Rename steppedLine to stepped (#7127)
Rename steppedLine to stepped
2020-02-19 18:13:40 -05:00
Jukka Kurkela
7eb0c2ca68 Allow specifying spanGaps as number (max distance) (#6993) 2020-01-21 18:33:27 -05:00
Ben McCann
d4109ca14e Polar area: startAngle in degrees, 0 at top. (#6936)
* Polar area: startAngle in degrees, 0 at top.
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2020-01-10 18:30:29 -05:00
Evert Timberg
e431554072
#5573 Link PolarArea chart docs to radial axis docs (#6901) 2020-01-03 14:56:22 -05:00
Jukka Kurkela
f4792306e0 Remove global from defaults (#6893) 2020-01-03 14:07:38 -05:00
Jukka Kurkela
5d94cacb91 Update documentation of order (#6897) 2020-01-03 09:08:15 -05:00
Jukka Kurkela
53c6c618c6 Allow pre-parsed data (to scale id's) (#6768)
* Allow pre-parsed data (to scale id's)
* Only update `count` references in pre-parsed mode
* Documentation
2019-12-06 19:47:00 -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
L M
18e3bc0624 Allow filling above and below with different colors (#6318)
Two colors allowed : first one to fill above the target, second to fill below
Tests added
Docs edited
2019-11-21 13:48:31 -05:00
Jukka Kurkela
7f97adf5a0 Move scale defining options up from ticks (#6738)
* Move scale defining options up from `ticks`
* Include `ticks.reverse` in v3-migration
2019-11-15 12:11:13 -05:00
Jukka Kurkela
11ef1e5e89 Versatile clipping (#6642)
Versatile clipping algorithm for different chart types
2019-11-10 17:41:01 -05:00
Ben McCann
7c66b2f28c Combine performance docs (#6632) 2019-10-28 18:11:50 -04:00
Jukka Kurkela
333118bff6 Hover styling for dataset in 'dataset' mode (#6527)
* Hover styling for dataset in 'dataset' mode
2019-10-25 13:22:37 -04: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
Jukka Kurkela
6b6f1a4c51 Implement dataset.order (#6268)
Allow sorting datasets based on the `order` property
2019-10-22 19:14:54 -04:00
Takuya Uehara
e9f341889f Add link to linear radial axis for radar chart doc (#6554) 2019-10-06 10:02:00 -04:00