Commit Graph

3497 Commits

Author SHA1 Message Date
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
LeeLenaleee
29f887b38c
Update v3-migration.md (#8047)
Treeshaking import names for the elements were not updated in the docs when they got changed
2020-11-13 07:03:21 -05:00
Laurent Pellegrino
7718d5fd56
Fix broken link (#8041) 2020-11-12 10:52:45 +02:00
Laurent Pellegrino
d063f654cf
Fix import names in integration example (#8039) 2020-11-11 18:34:38 -05:00
LeeLenaleee
effe31166b
documenattion error (#8037)
Co-authored-by: Jacco van den Berg <jacco@uniware.nl>
2020-11-11 11:05:46 -05:00
Evert Timberg
68152a538e
Try and get the version number without a v (#8036)
* Try and get the version number without a `v`
* Working tag version
2020-11-11 07:25:57 -05:00
Jukka Kurkela
e00dc1e914
Improve helpers.color test coverage (#8034) 2020-11-10 13:12:57 -05:00
Jukka Kurkela
63ab5a03d7
Record test coverage per browser (#8033) 2020-11-10 19:59:11 +02:00
Jukka Kurkela
183637b87f
Add tests and clean up resolveObjectKey helper (#8028)
* Add tests and clean up resolveObjectKey helper

* Change the optimized path to comply with thests
2020-11-10 17:34:31 +02:00
Jukka Kurkela
610745938b
Change to coveralls action (#8029)
* Change to coveralls action

* Parallel coveralls
2020-11-10 17:21:38 +02:00
xr0master
3f413c7bcf
Fix inconsistency in types for LABEL (#8027)
Co-authored-by: Sergey Khomushin <sergey@placer.io>
2020-11-09 16:23:14 +02:00
LeeLenaleee
c3e861d78c
dataset tooltip now shows correctly (#8024)
* dataset tooltip now shows correctly

* removed optional chaining
2020-11-08 15:41:52 -05:00
emmcbd
7ad91817e7
Improved types for defaults (#8025) 2020-11-08 09:52:41 -05:00
Jukka Kurkela
91fec4a397
Bubble: Use point.size() in getMaxOverflow (#8018) 2020-11-08 08:44:26 -05:00
Jukka Kurkela
d74a5d7552
Add type to context objects (#8007) 2020-11-08 08:43:55 -05:00
Evert Timberg
17f6edb650
Remove I prefix from TS types (#8017)
* Remove I prefix from TS types
* Update missing `ILayoutItem` typedefs
* IEvent should become ChartEvent
* Prevent FillTarget collision
* Import FontSpec instead of IFontSpec
* Prevent recursive DateAdapter problem
2020-11-07 08:35:19 -05:00
Jukka Kurkela
34312fd66a
Remove +-10px limit from bar controller (#8014)
* Remove +-10px limit from Bar controller
* Remove unused import, update tests
2020-11-06 08:07:15 -05:00
Jukka Kurkela
d393fa8b51
Normalize rotation and circumference resolution (#8015) 2020-11-06 08:06:38 -05:00
Jukka Kurkela
10ffe753d9
When data is removed, remove from stacks too (#8013)
* When data is removed, remove from stacks too
* Remove unreferenced metasets
2020-11-06 08:05:56 -05:00
xr0master
afbe03cce4
[types][beta-5] fixed stacked scale, changed default type for data.labels (#8001)
* Scale: added the stacked property for all scales
* interfaces: generic type LABEL can be string, Date, etc.
* controllers: stack can be used for all types of dataset
* docs/data-structures: added general dataset properties

Co-authored-by: Sergey Khomushin <sergey@placer.io>
2020-11-05 09:12:25 -05:00
Jukka Kurkela
aae53c835e
Use same merging logic for init and update (#8006)
* Use same merging logic for init and update
* Add test
2020-11-04 15:52:20 -05:00
Jukka Kurkela
e277aa4c1f
Destroy example charts on unmount (#8004)
* Destroy example charts on unmount
* Make scatter live
* Use spaces
2020-11-04 14:58:53 -05:00
Jukka Kurkela
b546798897
Change version to 3.0.0-mater and update deps (#7997) 2020-11-03 16:21:10 -05:00
Evert Timberg
0476243539
Remove draft features (#7996) 2020-11-03 08:15:56 -05:00
Jukka Kurkela
4daf37e864
Delay resize to just before draw when animating (#7989)
* Remove unused properties
* Delay resize to just before draw when animating
* Remove silent resize, update migration guide
* Fix typo in migrations doc

Co-authored-by: Evert Timberg <evert.timberg+github@gmail.com>
2020-11-01 08:15:43 -05:00