Commit Graph

3439 Commits

Author SHA1 Message Date
Jukka Kurkela
607c37eb8c
Complete rename of showLines to showLine (#7977) 2020-10-30 13:05:21 -04:00
Dan Manastireanu
6869a41d40
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
2020-10-29 22:55:40 +02:00
Dan Manastireanu
aad748dc5a
feat: Make options.layout.padding scriptable. Closes #7873 (#7968) 2020-10-28 11:28:17 -04:00
stockiNail
ea047f5cf2
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
2020-10-28 13:12:52 +02:00
Fabian
68bae7906d
fix return type for setActiveElements (#7961) 2020-10-26 16:31:45 -04:00
Dan Manastireanu
495c35950c
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
2020-10-26 10:05:24 -04:00
Evert Timberg
4ed650acbe
Enable overriding the legend pointStyle using new pointStyle option (#7959) 2020-10-26 14:16:00 +02:00
Evert Timberg
c428797592
Enable suggestedMin and suggestedMax setts for logarithmic axes (#7955) 2020-10-25 10:38:41 -04:00
Evert Timberg
f76cd48f35
Update stacked line sample to remove duplicate dataset names (#7957) 2020-10-25 10:27:54 -04:00
Evert Timberg
b4fe6078aa
Update category scale labels types to include string[][] (#7953) 2020-10-24 18:30:44 -04:00
Jukka Kurkela
6dbb7e7446
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
2020-10-24 18:37:37 +03:00
Jukka Kurkela
58d1911d05
Add args.mode to before/after update plugin hooks (#7949) 2020-10-24 18:36:31 +03:00
Jukka Kurkela
93fabd1f26
Switch from bundlewatch to compressed-size (#7943)
Switch from bundlewatch to compressed-size
2020-10-22 10:45:17 -04:00
Jukka Kurkela
33a93d976c
Add *.json to .editorconfig (#7941)
* Add *.json to .editorconfig

* Modify bundlewatch
2020-10-21 20:30:55 +03:00
Jukka Kurkela
fc5bbd7a0b
Add bundlewatch (#7940)
* Add bundlewatch
2020-10-21 20:14:52 +03:00
Jukka Kurkela
6a72bcbeca
Rename showLines to showLine (#7936) 2020-10-21 08:13:27 -04:00
Evert Timberg
bc11f10216
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
2020-10-20 08:18:56 -04:00
Jukka Kurkela
f5c4f97504
Add interaction options (#7922)
* Add interaction options
* Add migration note
2020-10-19 07:24:06 -04:00
Evert Timberg
41eb16a650
Add example of event to data values (#7925) 2020-10-19 08:07:03 +03:00
SaintMalik
c688c2f543
Fix broken urls in docs (#7912) 2020-10-18 21:30:05 +03:00
Evert Timberg
ac68593873
Block incorrect keys in merge code to prevent prototype pollution (#7919)
* Port fix from v2

* Port test

* Test both merge and mergeIf
2020-10-18 21:16:20 +03:00
Jukka Kurkela
73b4e82fd5
Use Object.create(null) as merge target, to prevent prototype pollution (#7917)
Use Object.create(null) as merge target to prevent polluting `Object.prototype`
2020-10-18 13:31:01 -04:00
Jukka Kurkela
88d8ab255f
Update dependencies (#7915) 2020-10-18 12:46:55 -04:00
Takuya Uehara
de963091d9
Remove area inclusion check when rendering points (#7910) 2020-10-18 16:54:39 +03:00
paul cheung
7ce9710f33
fix some typos (#7914) 2020-10-18 16:52:56 +03:00
Evert Timberg
c68ec57672
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
2020-10-18 16:51:48 +03:00
paul cheung
b31a815382
some minor typo fix (#7913) 2020-10-18 09:35:21 -04:00
Jukka Kurkela
04850d9477
Stop deploying docs / drafting releases from forks (#7911) 2020-10-18 09:27:29 -04:00
Jukka Kurkela
8e640f4c71
Fix version numbers in Developers section of docs (#7909) 2020-10-18 09:26:44 -04:00
Yash Singh
ebd8f3c889
Added in note for browserslist (#7907) 2020-10-18 09:26:04 -04:00
Matthew Crumley
7a35f3cb3e
Fix Maximum call stack size exception in _computeLabelSizes (#7906)
Issue #7881
2020-10-18 06:52:56 +03:00
Evert Timberg
30d09f4701
Bar chart base value overrides (#7904)
* Bar chart base value overrides
* Ensure that `base` is marked as indexable and scriptable in the docs
2020-10-17 16:15:40 -04:00
Evert Timberg
c22d3bedea
Ability to fill a line from a specified value along an axis (#7905) 2020-10-17 15:46:56 -04:00
Evert Timberg
4a191d5af9
Document and remove APIs that can be replaced by it (#7900) 2020-10-17 15:12:34 -04:00
Yash Singh
2e6c4f5dba
Renamed .browserlistrc -> .browserslistrc (#7902) 2020-10-17 15:07:52 -04:00
Evert Timberg
814fc4b306 Merge branch 'saintmalik-fix-url-bug' 2020-10-17 10:18:45 -04:00
Evert Timberg
7c45a016b0 Undo link change that did not work locally 2020-10-17 09:12:25 -04:00
Saintmalik
11dc2aad0e Fix broken url in docs 2020-10-17 06:16:43 +00:00
Saintmalik
2e986852b5 Fix broken url in docs 2020-10-17 00:01:52 +00:00
Jukka Kurkela
ff811aaddf
Fix: beginAtZero for logarighmic (#7899) 2020-10-16 10:32:37 -04:00
Jukka Kurkela
c9b38b63dc
Share min sample size with all bars on same scale (#7897)
Share min sample size with all bars on same scale
2020-10-16 08:04:22 -04:00
Jukka Kurkela
b6c22d269a
Remove circular dependencies from helpers (#7898) 2020-10-16 07:53:13 -04:00
Evert Timberg
0c61d55682
Expand filename (#7893)
* Fix double env
* Properly expand name in attach step
* Update maintaining docs
2020-10-16 07:40:49 -04:00
Evert Timberg
64b4529486
Fix double env (#7892) 2020-10-15 17:00:28 -04:00
Evert Timberg
efa0ade501
Update workflow to use GitHub releaes (#7891) 2020-10-15 16:37:38 -04:00
Evert Timberg
1ca60808b4
Shorten alignment settings for axes (#7886)
* Rename crossAlignment to crossAlign
* Update alignment to align for cartesian axes
2020-10-14 08:27:54 -04:00
Jukka Kurkela
c546c9583a
Tune release-drafter settings (#7884) 2020-10-14 06:55:06 -04:00
Evert Timberg
c97f7f4bc4
Ensure scripts are marked as executable in git (#7882) 2020-10-14 06:53:12 -04:00
Evert Timberg
ff354cc5b8
Remove release branch workflow (#7827)
* GitHub actions uses locked install for CI
* Add initial GitHub action to publish to NPM
* Detect the NPM tag (latest vs next) depending on the git tag
* Deploy docs from releases & master commits
* Remove Travis CI
* Update repo badge to use actions status
* Remove Travis env vars and update docs-config to take a parameter
* Update publish script regex to match other scripts
* Deploy docs action only runs in one spot
2020-10-13 17:12:19 -04:00
Jukka Kurkela
d887b0a323
Update release-drafter.yml (#7879) 2020-10-13 16:18:33 -04:00