Commit Graph

3471 Commits

Author SHA1 Message Date
LeeLenaleee
e3953acf1e
default values for element background and border color were wrong (#8156) 2020-12-11 10:52:54 -05:00
Josh Kelley
dc00ed08cb
Update docs on printing (#8149)
From what I can tell from testing locally, Chrome doesn't reliably trigger resize events for the final print layout, so using `.resize()` with no parameters doesn't generally work.

I'm not sure if there are circumstances in which the original docs' suggestion of using `.resize()` with no parameters can work; if the original text should be deleted, I can do so.

I also noticed that the TypeScript type definitions for `.resize()` mark the parameters as required, even though the implementation and docs don't require them.
2020-12-10 16:25:00 +02:00
Evert Timberg
649f815328
Respect the set locale for in the pie/doughnut tooltips (#8142) 2020-12-06 18:17:22 -05:00
LeeLenaleee
ae04fcf3c3
fix default font color for legend (#8139)
* fix default font color for legend
* adjusted docs to be consistent with fontColor to color
2020-12-05 14:34:34 -05:00
Jukka Kurkela
9b7eb5095a
CI: Conditionally run steps based on changes (#8132)
* CI: Run the `Package` step only when docs change

* Advanced conditionals

* Conditional coveralls

* Fix bunch of typos

* remove coveralls finished condition

* Revert "remove coveralls finished condition"

* Add curlys
2020-12-05 17:57:19 +02:00
LeeLenaleee
8192b2fd56
Clarification: barPercentage vs categoryPercentage (#8138)
Clarification of the docs to make it little less confusing after seeing the .1 hopefully.
Comes from #8137
2020-12-05 17:55:19 +02:00
dependabot[bot]
a7ff116547
Bump highlight.js from 10.3.1 to 10.4.1 (#8128)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.3.1 to 10.4.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.3.1...10.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-04 21:45:56 +02:00
Jukka Kurkela
68edcccb5e
Revert "New release workflow (#8127)" and fixes (#8131)
* Revert "New release workflow (#8127)" and fixes

* Bump version to 3.0.0-beta.7
2020-12-04 21:37:46 +02:00
Jukka Kurkela
ef82880541
Update release.yml (#8130) 2020-12-04 20:23:01 +02:00
Jukka Kurkela
39c2b92bb2
Fix the needs job name (#8129) 2020-12-04 19:46:17 +02:00
Jukka Kurkela
a98c34b858
New release workflow (#8127)
* New release workflow
* Set current version
* Use org secret
2020-12-04 12:18:31 -05:00
lab900-marcel-samyn
e08b17636b
[v3] Add locale to ChartOptions type (#8118)
* Add locale to ChartOptions type

* Adds locale options documentation

* fixed typo

* changes links to number format, linking the constructor

* changes to a better sentence

* changes to better sentence (2)

Co-authored-by: stock <stocki.nail@gmail.com>
2020-12-04 08:25:43 +02:00
Jukka Kurkela
c1aeba1e67
Add new scale hooks for plugins (#8112)
* Add new scale hooks for plugins

* Add notes

* cc

* cancelability
2020-12-02 06:51:47 +02:00
Jukka Kurkela
6814b79b65
Fix CategoryScale.getValueForPixel with autoSkip (#8101) 2020-12-02 06:51:33 +02:00
LeeLenaleee
c3fbe5efc3
Fix/area fill and chart titles (#8113)
* fixed fill for area chart stacked and title for charts where it wasn't in plugins yet
* Chart defined in utils
* added radar skip points example in the overview to go to
2020-11-30 09:59:20 -05:00
Wenfang
8220caaa43
Update performance.md (#8107)
fixed typo
2020-11-28 16:57:17 -05:00
Jukka Kurkela
78dbeea1f0
Add new hooks for plugins (#8103)
* Notify beforeUpdate on disabled plugins

cc?

cc2

cc3

typo

* init, unInit, enabled, disabled

self review :)

update the new hook signatures to unified

merge error

* Review update

* start/stop, cc

* types, jsdoc

* stop between destroy and uninstall
2020-11-28 22:57:45 +02:00
Jukka Kurkela
d6b4fe2629
LineElement: no fill by default (#8111)
* LineElement: no fill by default
* Update negative-times fixture
2020-11-28 15:07:46 -05:00
Mostafa Sameti
f014873864
fix color type & add background and border color (#8110) 2020-11-28 15:06:38 -05:00
Jukka Kurkela
61aea761f4
Unify signature of plugin hooks (#8102) 2020-11-28 09:45:43 +02:00
Jukka Kurkela
5faffae81b
Title plugin cleanup (#8104)
* Title plugin cleanup

* more cleanup

* cc

* center formula

* Fix / update sample

* Restore functionality on RTL page
2020-11-26 15:07:01 +02:00
Jukka Kurkela
913a01a3a6
Move title, tooltip and legend to options.plugins (#8089)
* Move title, tooltip and legend to options.plugins

* Update tooltip.md

* Update legend.md and title.md

* Add migration notes

* typo

* Types

* Restore plurals

* One more s, restore tabs

* All plugins disabled

* lint

* cc
2020-11-25 08:50:12 +02:00
Jukka Kurkela
e3ad31893d
Restore datasets namespace (revert 6955) (#8090) 2020-11-24 22:27:51 +02:00
Jukka Kurkela
021561072b
Disable all plugins when options.plugins = false (#8098)
Disabling all plugins when options.plugins = false
2020-11-23 17:58:03 -05:00
LeeLenaleee
c4f61d2670
Fixed samples: area dataset (line), radar and logarithmic scale scatter (#8099) 2020-11-23 16:37:34 -05:00
Jukka Kurkela
a29af5c62c
Fix disabling hover (#8097) 2020-11-23 16:13:45 -05:00
Jukka Kurkela
2efffb8ae4
Improve test coverage (#8087)
* Remove usage of currentStyle (IE only)

* Nothing is registered in root scope anymore

* Add some more tests for animations

* Add some more tests to defaults
2020-11-23 21:06:16 +02:00
Jukka Kurkela
c2beebf12b
Update interpolation-modes sample to new defaults (#8093) 2020-11-23 08:17:40 -05:00
Jukka Kurkela
fa997f06e2
Do not use offsetX/Y in shadow DOM (#8082)
Do not use offsetX/Y in shadow DOM
2020-11-20 15:59:48 -05:00
LeeLenaleee
5f099f3822
coppied to wrong place in file, backgroundColor should be in the data… (#8081)
* coppied to wrong place in file, backgroundColor should be in the dataset and not after the datasets array
* fixed indenting and color to be more in line with bublle and pie color
2020-11-19 15:33:59 -05:00
Jukka Kurkela
99aa1a4215
Switch to eslint-plugin-es (#8075)
* Switch to eslint-plugin-es

* Restore eslint-config-chartjs

* Sort
2020-11-19 21:23:24 +02:00
Jukka Kurkela
ddc72fcfbb
Align font options with CSS (#8066)
* Align font options with CSS

* Review comments
2020-11-19 20:59:24 +02:00
Jukka Kurkela
f96fa2b96d
Allow single parameter to Defaults.set (#8050)
* Allow single parameter to Defaults.set

* Review update

* Record
2020-11-19 20:58:24 +02:00
LeeLenaleee
6928b23a50
made scatter chart a lot better readable, removed unnecesarry notes (#8080) 2020-11-19 08:25:39 -05:00
Evert Timberg
85fc6cc49c
Rename uppercase types to camel case (#8074)
* Rename uppercase types to camel case

* Rename SCALES to TScale
Reanme DSE to TDatasetElement
Rename E to TElement
2020-11-19 08:10:26 -05:00
Jukka Kurkela
fb1f90ca0e
Remove classic style extensions from docs/tests (#8076) 2020-11-19 07:55:20 -05:00
SaintMalik
065fc117af
Fix url bug (#8072) 2020-11-19 07:54:49 -05:00
SaintMalik
200c04db99
fix broken url in docs (#8070) 2020-11-18 07:57:59 -05:00
LeeLenaleee
046d37882a
v2 note not nessecary in v3 docs and update example (#8071)
* v2 note not nessecary in v3 docs
* adjusted example

Co-authored-by: Jacco van den Berg <jacco@uniware.nl>
2020-11-18 07:55:41 -05:00
Jukka Kurkela
39923eb167
Add missing import to styling.mdx (#8065) 2020-11-17 08:03:37 -05:00
Jukka Kurkela
7610def1c4
Remove set-env from actions (#8063)
* Remove set-env from CI

* Eanble macOs

* Another try on macOs, update npmpublish

* No xvfb-run on macOs

* Remove macos
2020-11-16 22:02:34 -05:00
Jukka Kurkela
ed846f62f7
Update axis documentation (#8061) 2020-11-16 15:05:29 -05:00
Jukka Kurkela
a35dade663
Enable bounds option to all cartesian axes (#8060) 2020-11-16 15:01:47 -05:00
Jukka Kurkela
0c515c0e67
Unify cartesian scale tick order (#8062) 2020-11-16 14:59:53 -05:00
Jukka Kurkela
910158055f
Drop legacy browser support (#8009)
* Drop legacy browser support

* Docs

* Use rollup-plugin-istanbul for coverage

* exclude node_modules from coverage

* No cleanup() when doing coverage
2020-11-16 21:01:33 +02:00
Jukka Kurkela
988c865599
Add plugins to CoreChartOptions (#8048) 2020-11-16 20:58:13 +02:00
Jukka Kurkela
1b6226342a
Refactor/cleanup range option handling (#8057) 2020-11-16 20:19:59 +02:00
Jukka Kurkela
ef89abb84b
CategoryScale: automatically add missing labels (#8053)
CategoryScale: automatically add missing labels
2020-11-14 17:00:17 -05:00
Jukka Kurkela
fde84f272a
Chart.register: preserve existing defaults (#8052) 2020-11-14 14:38:38 -05:00
Jukka Kurkela
c2dd264fe8
Events: Only render when needed (#8049) 2020-11-13 17:35:40 -05:00