]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
LeeLenaleee [Mon, 30 Nov 2020 14:59:20 +0000 (15:59 +0100)]
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
Wenfang [Sat, 28 Nov 2020 21:57:17 +0000 (05:57 +0800)]
Update performance.md (#8107)
fixed typo
Jukka Kurkela [Sat, 28 Nov 2020 20:57:45 +0000 (22:57 +0200)]
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
Jukka Kurkela [Sat, 28 Nov 2020 20:07:46 +0000 (22:07 +0200)]
LineElement: no fill by default (#8111)
* LineElement: no fill by default
* Update negative-times fixture
Mostafa Sameti [Sat, 28 Nov 2020 20:06:38 +0000 (23:36 +0330)]
fix color type & add background and border color (#8110)
Jukka Kurkela [Sat, 28 Nov 2020 07:45:43 +0000 (09:45 +0200)]
Unify signature of plugin hooks (#8102)
Jukka Kurkela [Thu, 26 Nov 2020 13:07:01 +0000 (15:07 +0200)]
Title plugin cleanup (#8104)
* Title plugin cleanup
* more cleanup
* cc
* center formula
* Fix / update sample
* Restore functionality on RTL page
Jukka Kurkela [Wed, 25 Nov 2020 06:50:12 +0000 (08:50 +0200)]
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
Jukka Kurkela [Tue, 24 Nov 2020 20:27:51 +0000 (22:27 +0200)]
Restore `datasets` namespace (revert 6955) (#8090)
Jukka Kurkela [Mon, 23 Nov 2020 22:58:03 +0000 (00:58 +0200)]
Disable all plugins when options.plugins = false (#8098)
Disabling all plugins when options.plugins = false
LeeLenaleee [Mon, 23 Nov 2020 21:37:34 +0000 (22:37 +0100)]
Fixed samples: area dataset (line), radar and logarithmic scale scatter (#8099)
Jukka Kurkela [Mon, 23 Nov 2020 21:13:45 +0000 (23:13 +0200)]
Fix disabling hover (#8097)
Jukka Kurkela [Mon, 23 Nov 2020 19:06:16 +0000 (21:06 +0200)]
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
Jukka Kurkela [Mon, 23 Nov 2020 13:17:40 +0000 (15:17 +0200)]
Update interpolation-modes sample to new defaults (#8093)
Jukka Kurkela [Fri, 20 Nov 2020 20:59:48 +0000 (22:59 +0200)]
Do not use offsetX/Y in shadow DOM (#8082)
Do not use offsetX/Y in shadow DOM
LeeLenaleee [Thu, 19 Nov 2020 20:33:59 +0000 (21:33 +0100)]
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
Jukka Kurkela [Thu, 19 Nov 2020 19:23:24 +0000 (21:23 +0200)]
Switch to eslint-plugin-es (#8075)
* Switch to eslint-plugin-es
* Restore eslint-config-chartjs
* Sort
Jukka Kurkela [Thu, 19 Nov 2020 18:59:24 +0000 (20:59 +0200)]
Align font options with CSS (#8066)
* Align font options with CSS
* Review comments
Jukka Kurkela [Thu, 19 Nov 2020 18:58:24 +0000 (20:58 +0200)]
Allow single parameter to Defaults.set (#8050)
* Allow single parameter to Defaults.set
* Review update
* Record
LeeLenaleee [Thu, 19 Nov 2020 13:25:39 +0000 (14:25 +0100)]
made scatter chart a lot better readable, removed unnecesarry notes (#8080)
Evert Timberg [Thu, 19 Nov 2020 13:10:26 +0000 (08:10 -0500)]
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
Jukka Kurkela [Thu, 19 Nov 2020 12:55:20 +0000 (14:55 +0200)]
Remove classic style extensions from docs/tests (#8076)
SaintMalik [Thu, 19 Nov 2020 12:54:49 +0000 (13:54 +0100)]
Fix url bug (#8072)
SaintMalik [Wed, 18 Nov 2020 12:57:59 +0000 (13:57 +0100)]
fix broken url in docs (#8070)
LeeLenaleee [Wed, 18 Nov 2020 12:55:41 +0000 (13:55 +0100)]
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>
Jukka Kurkela [Tue, 17 Nov 2020 13:03:37 +0000 (15:03 +0200)]
Add missing import to styling.mdx (#8065)
Jukka Kurkela [Tue, 17 Nov 2020 03:02:34 +0000 (05:02 +0200)]
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
Jukka Kurkela [Mon, 16 Nov 2020 20:05:29 +0000 (22:05 +0200)]
Update axis documentation (#8061)
Jukka Kurkela [Mon, 16 Nov 2020 20:01:47 +0000 (22:01 +0200)]
Enable bounds option to all cartesian axes (#8060)
Jukka Kurkela [Mon, 16 Nov 2020 19:59:53 +0000 (21:59 +0200)]
Unify cartesian scale tick order (#8062)
Jukka Kurkela [Mon, 16 Nov 2020 19:01:33 +0000 (21:01 +0200)]
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
Jukka Kurkela [Mon, 16 Nov 2020 18:58:13 +0000 (20:58 +0200)]
Add plugins to CoreChartOptions (#8048)
Jukka Kurkela [Mon, 16 Nov 2020 18:19:59 +0000 (20:19 +0200)]
Refactor/cleanup range option handling (#8057)
Jukka Kurkela [Sat, 14 Nov 2020 22:00:17 +0000 (00:00 +0200)]
CategoryScale: automatically add missing labels (#8053)
CategoryScale: automatically add missing labels
Jukka Kurkela [Sat, 14 Nov 2020 19:38:38 +0000 (21:38 +0200)]
Chart.register: preserve existing defaults (#8052)
Jukka Kurkela [Fri, 13 Nov 2020 22:35:40 +0000 (00:35 +0200)]
Events: Only render when needed (#8049)
LeeLenaleee [Fri, 13 Nov 2020 12:03:21 +0000 (13:03 +0100)]
Update v3-migration.md (#8047)
Treeshaking import names for the elements were not updated in the docs when they got changed
Laurent Pellegrino [Thu, 12 Nov 2020 08:52:45 +0000 (09:52 +0100)]
Fix broken link (#8041)
Laurent Pellegrino [Wed, 11 Nov 2020 23:34:38 +0000 (00:34 +0100)]
Fix import names in integration example (#8039)
LeeLenaleee [Wed, 11 Nov 2020 16:05:46 +0000 (17:05 +0100)]
documenattion error (#8037)
Co-authored-by: Jacco van den Berg <jacco@uniware.nl>
Evert Timberg [Wed, 11 Nov 2020 12:25:57 +0000 (07:25 -0500)]
Try and get the version number without a `v` (#8036)
* Try and get the version number without a `v`
* Working tag version
Jukka Kurkela [Tue, 10 Nov 2020 18:12:57 +0000 (20:12 +0200)]
Improve helpers.color test coverage (#8034)
Jukka Kurkela [Tue, 10 Nov 2020 17:59:11 +0000 (19:59 +0200)]
Record test coverage per browser (#8033)
Jukka Kurkela [Tue, 10 Nov 2020 15:34:31 +0000 (17:34 +0200)]
Add tests and clean up resolveObjectKey helper (#8028)
* Add tests and clean up resolveObjectKey helper
* Change the optimized path to comply with thests
Jukka Kurkela [Tue, 10 Nov 2020 15:21:38 +0000 (17:21 +0200)]
Change to coveralls action (#8029)
* Change to coveralls action
* Parallel coveralls
xr0master [Mon, 9 Nov 2020 14:23:14 +0000 (16:23 +0200)]
Fix inconsistency in types for LABEL (#8027)
Co-authored-by: Sergey Khomushin <sergey@placer.io>
LeeLenaleee [Sun, 8 Nov 2020 20:41:52 +0000 (21:41 +0100)]
dataset tooltip now shows correctly (#8024)
* dataset tooltip now shows correctly
* removed optional chaining
emmcbd [Sun, 8 Nov 2020 14:52:41 +0000 (15:52 +0100)]
Improved types for defaults (#8025)
Jukka Kurkela [Sun, 8 Nov 2020 13:44:26 +0000 (15:44 +0200)]
Bubble: Use point.size() in getMaxOverflow (#8018)
Jukka Kurkela [Sun, 8 Nov 2020 13:43:55 +0000 (15:43 +0200)]
Add type to context objects (#8007)
Evert Timberg [Sat, 7 Nov 2020 13:35:19 +0000 (08:35 -0500)]
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
Jukka Kurkela [Fri, 6 Nov 2020 13:07:15 +0000 (15:07 +0200)]
Remove +-10px limit from bar controller (#8014)
* Remove +-10px limit from Bar controller
* Remove unused import, update tests
Jukka Kurkela [Fri, 6 Nov 2020 13:06:38 +0000 (15:06 +0200)]
Normalize rotation and circumference resolution (#8015)
Jukka Kurkela [Fri, 6 Nov 2020 13:05:56 +0000 (15:05 +0200)]
When data is removed, remove from stacks too (#8013)
* When data is removed, remove from stacks too
* Remove unreferenced metasets
xr0master [Thu, 5 Nov 2020 14:12:25 +0000 (16:12 +0200)]
[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>
Jukka Kurkela [Wed, 4 Nov 2020 20:52:20 +0000 (22:52 +0200)]
Use same merging logic for init and update (#8006)
* Use same merging logic for init and update
* Add test
Jukka Kurkela [Wed, 4 Nov 2020 19:58:53 +0000 (21:58 +0200)]
Destroy example charts on unmount (#8004)
* Destroy example charts on unmount
* Make scatter live
* Use spaces
Jukka Kurkela [Tue, 3 Nov 2020 21:21:10 +0000 (23:21 +0200)]
Change version to 3.0.0-mater and update deps (#7997)
Evert Timberg [Tue, 3 Nov 2020 13:15:56 +0000 (08:15 -0500)]
Remove draft features (#7996)
Jukka Kurkela [Sun, 1 Nov 2020 13:15:43 +0000 (15:15 +0200)]
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>
Jukka Kurkela [Sun, 1 Nov 2020 12:39:08 +0000 (14:39 +0200)]
Preserve scriptable context (#7981)
* Preserve scriptable context
* CC, utilize `index` in tests
* Update example to utilize context
Jukka Kurkela [Sun, 1 Nov 2020 12:38:37 +0000 (14:38 +0200)]
Fix typo in test options (#7987)
Takuya Uehara [Sun, 1 Nov 2020 12:28:45 +0000 (21:28 +0900)]
Use TypeScript syntax highlight for TypeScript code (#7988)
Jukka Kurkela [Sat, 31 Oct 2020 12:54:14 +0000 (14:54 +0200)]
Rename lineTension back to tension (#7978)
Takuya Uehara [Sat, 31 Oct 2020 12:10:17 +0000 (21:10 +0900)]
Check index bounds of datasets for isDatasetVisible (#7986)
* Check index bounds of datasets
* Add test for isDatasetVisible
Jukka Kurkela [Fri, 30 Oct 2020 22:43:46 +0000 (00:43 +0200)]
Tooltip: clear cached animations on initialize (#7983)
Jukka Kurkela [Fri, 30 Oct 2020 22:34:32 +0000 (00:34 +0200)]
Relocate dataset defaults to defaults.controllers (#7979)
Jukka Kurkela [Fri, 30 Oct 2020 22:32:53 +0000 (00:32 +0200)]
Allow 1px margin to getRelativePosition test (#7984)
Jukka Kurkela [Fri, 30 Oct 2020 17:05:21 +0000 (19:05 +0200)]
Complete rename of showLines to showLine (#7977)
Dan Manastireanu [Thu, 29 Oct 2020 20:55:40 +0000 (22:55 +0200)]
feat: Draw tooltips with point styles. Closes #7774 (#7972)
* feat: Draw tooltips with point styles. Closes #7774
* chore: Add tooltip usePointStyle docs
* chore: Add tests and visual tests for tooltip usePointStyle
* chore: Update typescript with tooltip usePointStyle
Dan Manastireanu [Wed, 28 Oct 2020 15:28:17 +0000 (17:28 +0200)]
feat: Make options.layout.padding scriptable. Closes #7873 (#7968)
stockiNail [Wed, 28 Oct 2020 11:12:52 +0000 (12:12 +0100)]
Legend item lineWidth is the average of borderWidth when set as object (Bar) (#7964)
* fixed default of tension property of line element
* Fix #7942
* Fixes some lint errors
* fixes "Expected property shorthand" error
Fabian [Mon, 26 Oct 2020 20:31:45 +0000 (22:31 +0200)]
fix return type for setActiveElements (#7961)
Dan Manastireanu [Mon, 26 Oct 2020 14:05:24 +0000 (16:05 +0200)]
Add borderRadius to bar charts. Closes #7701 (#7951)
* Add helper to parse border radius options
* feat: Implement borderRadius for bar charts
* chore: add demo of bar charts with border radius
* chore: document bar borderRadius
* chore: update typescript with bar borderRadius property
* fix horizontal borders test failing due to antialiasing
* chore: Add border-radius visual test
Evert Timberg [Mon, 26 Oct 2020 12:16:00 +0000 (08:16 -0400)]
Enable overriding the legend pointStyle using new `pointStyle` option (#7959)
Evert Timberg [Sun, 25 Oct 2020 14:38:41 +0000 (10:38 -0400)]
Enable suggestedMin and suggestedMax setts for logarithmic axes (#7955)
Evert Timberg [Sun, 25 Oct 2020 14:27:54 +0000 (10:27 -0400)]
Update stacked line sample to remove duplicate dataset names (#7957)
Evert Timberg [Sat, 24 Oct 2020 22:30:44 +0000 (18:30 -0400)]
Update category scale labels types to include string[][] (#7953)
Jukka Kurkela [Sat, 24 Oct 2020 15:37:37 +0000 (18:37 +0300)]
Move config handling to a dedicated script (#7939)
* Split core.config.js out of core.controller.js
* Remove side effects from config.js
* Turn config into a class
* Refactor config merging as includeDefaults
Jukka Kurkela [Sat, 24 Oct 2020 15:36:31 +0000 (18:36 +0300)]
Add args.mode to before/after update plugin hooks (#7949)
Jukka Kurkela [Thu, 22 Oct 2020 14:45:17 +0000 (17:45 +0300)]
Switch from bundlewatch to compressed-size (#7943)
Switch from bundlewatch to compressed-size
Jukka Kurkela [Wed, 21 Oct 2020 17:30:55 +0000 (20:30 +0300)]
Add *.json to .editorconfig (#7941)
* Add *.json to .editorconfig
* Modify bundlewatch
Jukka Kurkela [Wed, 21 Oct 2020 17:14:52 +0000 (20:14 +0300)]
Add bundlewatch (#7940)
* Add bundlewatch
Jukka Kurkela [Wed, 21 Oct 2020 12:13:27 +0000 (15:13 +0300)]
Rename showLines to showLine (#7936)
Evert Timberg [Tue, 20 Oct 2020 12:18:56 +0000 (08:18 -0400)]
Rename elements to mark as elements, i.e. Arc -> ArcElement (#7924)
* Rename elements to mark as elements, i.e. Arc -> ArcElement
* Rename RectangleElement to BarElement
* Also updates options.elements.rectangle to options.elements.bar
Jukka Kurkela [Mon, 19 Oct 2020 11:24:06 +0000 (14:24 +0300)]
Add interaction options (#7922)
* Add interaction options
* Add migration note
Evert Timberg [Mon, 19 Oct 2020 05:07:03 +0000 (01:07 -0400)]
Add example of event to data values (#7925)
SaintMalik [Sun, 18 Oct 2020 18:30:05 +0000 (19:30 +0100)]
Fix broken urls in docs (#7912)
Evert Timberg [Sun, 18 Oct 2020 18:16:20 +0000 (14:16 -0400)]
Block incorrect keys in merge code to prevent prototype pollution (#7919)
* Port fix from v2
* Port test
* Test both merge and mergeIf
Jukka Kurkela [Sun, 18 Oct 2020 17:31:01 +0000 (20:31 +0300)]
Use Object.create(null) as `merge` target, to prevent prototype pollution (#7917)
Use Object.create(null) as merge target to prevent polluting `Object.prototype`
Jukka Kurkela [Sun, 18 Oct 2020 16:46:55 +0000 (19:46 +0300)]
Update dependencies (#7915)
Takuya Uehara [Sun, 18 Oct 2020 13:54:39 +0000 (22:54 +0900)]
Remove area inclusion check when rendering points (#7910)
paul cheung [Sun, 18 Oct 2020 13:52:56 +0000 (21:52 +0800)]
fix some typos (#7914)
Evert Timberg [Sun, 18 Oct 2020 13:51:48 +0000 (09:51 -0400)]
Reduce tooltip implied padding at top and bottom edges of the canvas (#7908)
* Allow the tooltip to get closer to the canvas edge
Closer to the top & bottom by considering (height/2) instead of height.
* Update missing options in TS types
* Remove unneeded brackets
paul cheung [Sun, 18 Oct 2020 13:35:21 +0000 (21:35 +0800)]
some minor typo fix (#7913)
Jukka Kurkela [Sun, 18 Oct 2020 13:27:29 +0000 (16:27 +0300)]
Stop deploying docs / drafting releases from forks (#7911)
Jukka Kurkela [Sun, 18 Oct 2020 13:26:44 +0000 (16:26 +0300)]
Fix version numbers in Developers section of docs (#7909)
Yash Singh [Sun, 18 Oct 2020 13:26:04 +0000 (06:26 -0700)]
Added in note for browserslist (#7907)
Matthew Crumley [Sun, 18 Oct 2020 03:52:56 +0000 (23:52 -0400)]
Fix Maximum call stack size exception in _computeLabelSizes (#7906)
Issue #7881
Evert Timberg [Sat, 17 Oct 2020 20:15:40 +0000 (16:15 -0400)]
Bar chart base value overrides (#7904)
* Bar chart base value overrides
* Ensure that `base` is marked as indexable and scriptable in the docs