Commit Graph

34 Commits

Author SHA1 Message Date
Hossein Pourbahrami
b52507b5c7
Typo fix (#10410) 2022-06-08 07:51:17 -04:00
linkviii
4183b7f04a
Add links to docs in all the samples (#10308) 2022-05-21 11:02:13 -04:00
Jacco van den Berg
7d3a1b874c
Sort docs sub menus alphabetically, add line and plugin sample (#10138)
* add sample plugin for doughnut empty state

* Add commented out sample, order sub cats alphabetically
2022-02-06 15:11:53 -05:00
Dimitri Papadopoulos Orfanos
a7d98fb1a0
Fix typos found by codespell (#10103) 2022-01-27 09:24:55 -05:00
Jacco van den Berg
2970e70858
Docs/Add sample for centered point labels (#10013)
* Add sample for centered point labels

* update chart title

* link to sample for more clarity from property
2021-12-22 15:59:58 +02:00
Jacco van den Berg
4a9f446ff5
Docs/clarify samples (#9960)
* add information to the samples root about using the samples

* Implement review feedback
2021-12-06 07:39:33 -05:00
Josh Kelley
d83f0467da
Improvements to tooltip positioners (#9944)
* Improve positioner types; allow overriding xAlign and yAlign

* More type improvements; pass in Chart as third parameter

* Expose chart as part of TooltipModel

I initially passed the Chart element as the third parameter to the positioner; however, Scale and LegendElement elements expose `this.chart`, and sample code for positioners used `this._chart`, so documenting the chart member and giving it a public name seems to make more sense.

* Update documentation

* Fix documentation

* Fix issues from code review
2021-12-06 07:39:06 -05:00
Jukka Kurkela
4ac11a7208
Try to improve documentation for new users (#9952)
* Try to improve documentation for new users
* Review update
2021-12-05 12:42:52 -05:00
Jukka Kurkela
6bc47d3cea
Update misleading sample comment (#9865) 2021-11-17 07:34:00 -05:00
Jukka Kurkela
2a97192154
New sample: Progressive Line With Easing (#9798) 2021-10-26 07:49:04 -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
a21c1c6dfa
Document sample components file (#9697) 2021-10-01 19:27:54 +03:00
Jukka Kurkela
990a2890d5
Fix some typings issues (#9680)
* Types: Add scope to ticks.callback

* Fix some typings issues
2021-09-24 18:13:53 -04:00
Jukka Kurkela
183a1a9f67
Fix segment styling with gaps (#9644) 2021-09-13 16:31:34 -04:00
Jukka Kurkela
cf951ac611
Add ability to hide specific data element (#9450) 2021-07-21 07:08:02 -04:00
Jukka Kurkela
47d4b04836
Layout: support box stacking (#9364)
* Layout: support box stacking

* Add stackWeight and sample

* Cleanup, update docs and types

* Avoid div0

* missing semi
2021-07-11 06:23:42 -04:00
Jukka Kurkela
c6976e8975
New plugin: subtitle (#9294)
* New plugin: subtitle

* Fix naive error for multiple charts
2021-06-20 07:34:55 -04:00
Jacco van den Berg
140cbb4cd6
show the utils file in the samples page to clarify what the functions do (#9160) 2021-05-26 07:55:26 -04:00
Evert Timberg
a87175f119
HTML legend handles doughnut/pie charts (#9044)
* HTML legend handles doughnut/pie charts

* Fix lint error
2021-05-08 08:10:18 +03:00
Jukka Kurkela
eaa3a68cea
Add drawTime: beforeDraw option to filler (#8973) 2021-04-24 15:27:52 -04:00
Evert Timberg
87ce198ac8
In html tooltip sample padding is read from the options (#8971) 2021-04-24 10:51:19 -04:00
Jukka Kurkela
019cb9f305
Add example plugins for border and quadrants (#8942) 2021-04-18 16:02:20 -04:00
Jukka Kurkela
ca50287a76
Add initial property to animation callbacks (#8926) 2021-04-17 08:09:22 -04:00
Jukka Kurkela
f8885ce7a2
Font validate style, move defaults to weight (#8877) 2021-04-10 15:58:11 -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
Evert Timberg
019233457f
HTML Legend sample (#8804) 2021-04-03 16:10:39 -04: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
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
Evert Timberg
96dd201028
Clean up a few sample issues (#8790) 2021-04-02 17:25:14 -04:00
Jukka Kurkela
0ef1897a98
Redirect to first sample (#8783) 2021-04-02 10:56:32 -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
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