Commit Graph

4048 Commits

Author SHA1 Message Date
Evert Timberg
d6d189c804
Legend boxes support borderRadius (#8875) 2021-04-10 15:05:34 -04:00
Evert Timberg
7ee498e412
Tooltip colorbox supports configurable borderWidth, borderRadius, and dash effect (#8874)
* Start on extending tooltip style
* Correct borderRadius implementation
* Tests of updated tooltip styling
* Update docs
2021-04-10 13:37:22 -04:00
Evert Timberg
a84347b035
Handle animating stacked bars from null values (#8872)
* Handle animating stacked bars from null values

* Skipped bars / points should be in the reset state
2021-04-10 20:31:14 +03:00
Jukka Kurkela
7fab66ccd1
Support mirror option on x-axis (#8867) 2021-04-10 09:01:38 -04:00
Jukka Kurkela
c35bee1f4f
Document the no-parsing requirement of decimation (#8869) 2021-04-10 08:59:14 -04:00
Jukka Kurkela
1ffdecfe68
Consider dynamically positioned scales for padding (#8868) 2021-04-10 08:58:39 -04:00
Jukka Kurkela
ba84cc5c2a
Filler: support segment backgroundColor (#8864) 2021-04-09 19:10:48 -04:00
Jacco van den Berg
735764ac4f
Docs/broken link (#8863)
* 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

* fix few broken links in docs
2021-04-09 17:06:18 -04:00
Jukka Kurkela
5b4aad746f
Update dependencies (excluding typescript) (#8856) 2021-04-08 18:03:14 -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
Moses Mendoza
efc1902da7
Include grace in LinearScaleOptions type definition (#8847)
This commit adds the `grace` option, to the LinearScaleOptions type definition
as documented here,
https://www.chartjs.org/docs/latest/axes/cartesian/linear.html#grace. Without
this commit the TS compiler does not allow the option.

Signed-off-by: Moses Mendoza <mendoza.moses@gmail.com>
2021-04-08 07:21:03 +03:00
Jacco van den Berg
6c7bf2299b
Docs migration register options (#8850)
* 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

* add link to all available import sample in the migration guide
2021-04-08 07:15:43 +03:00
stockiNail
7ae1064ab9
Apply scale context to ticks scriptable options instead of chart context (#8839)
* Fixes #8835

* context as argument because protected

* fixes test case on formatters

* reverts previous commits and sets the scale context in the scale init

* changes documentation about linear ticks, adding scriptable Yes
2021-04-07 16:45:39 -04:00
Nico-DF
ba3320ef19
Filtering data before decimation (#8843)
* Filtering data before decimation

Using only points between the currently displayed x-axis for the decimation algorithm.
Allows better resolution, especially if using a zoom

If data are outside range, they will not be displayed, hence the line graph will not show the trend at extremities

* Fix LTTB algorithm

* Adding test file

* Simplifying count algorithm for decimation plugin
2021-04-07 16:40:45 -04:00
Mohammad Ahmadi
82d42bd799
Fix typos in canvas-background.md (#8837) 2021-04-07 19:51:45 +03:00
Jukka Kurkela
c6473da16c
_boundSegments did not work on rising line (#8838) 2021-04-07 07:32:28 -04:00
Mohammad Ahmadi
873223fc78
Fix typo in migration guide (#8836) 2021-04-07 08:05:33 +03:00
Jukka Kurkela
757ddf2882
Fix: update line options on resize, for gradients (#8832) 2021-04-06 18:54:36 -04:00
mjcross
b4d118e6e9
complete the first 'getting-started' example (#8829)
This page is very likely the first example a new user sees, so we should make it clear how to actually use the config and setup show to actually render a chart.
2021-04-06 18:54:18 -04:00
Evert Timberg
ac0a86b95d
Document plugin event handling (#8828) 2021-04-05 06:48:59 +03:00
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
Jukka Kurkela
7d08bab45d
Time: Use callback helper on ticks.callback (#8822) 2021-04-04 11:24:42 -04:00
Evert Timberg
394330665e
Allow the CI to be manually run (#8821) 2021-04-04 09:39:48 -04:00
Jukka Kurkela
829470c099
More script error fixes (#8820) 2021-04-04 09:26:41 -04:00
Jukka Kurkela
da9d12ee45
Fix utils.sh location (#8819) 2021-04-04 09:19:22 -04:00
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) 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
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