Commit Graph

768 Commits

Author SHA1 Message Date
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
ed846f62f7
Update axis documentation (#8061) 2020-11-16 15:05:29 -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
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
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
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
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
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
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
Jukka Kurkela
23bf7c0c89
Preserve scriptable context (#7981)
* Preserve scriptable context
* CC, utilize `index` in tests
* Update example to utilize context
2020-11-01 07:39:08 -05:00
Takuya Uehara
23de72c7e3
Use TypeScript syntax highlight for TypeScript code (#7988) 2020-11-01 07:28:45 -05:00
Jukka Kurkela
ff76a236bf
Rename lineTension back to tension (#7978) 2020-10-31 14:54:14 +02:00
Jukka Kurkela
4f2511aff3
Relocate dataset defaults to defaults.controllers (#7979) 2020-10-30 18:34:32 -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
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
b4fe6078aa
Update category scale labels types to include string[][] (#7953) 2020-10-24 18:30:44 -04:00
Jukka Kurkela
58d1911d05
Add args.mode to before/after update plugin hooks (#7949) 2020-10-24 18:36:31 +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
paul cheung
7ce9710f33
fix some typos (#7914) 2020-10-18 16:52:56 +03: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
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
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
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
Tony Martinez
531d4c09bf
docs: Grammar fixes for cartesian and radial docs (#7875) 2020-10-12 18:06:07 -04:00
Evert Timberg
cdd742d752
Polar Area elements.arc.angle option now returns degrees (#7871)
* Polar Area `elements.arc.angle` option now returns degrees
* Update wording of migration docs
2020-10-12 10:56:03 -04:00
Evert Timberg
3f89c25895
Ability to toggle individual bar visibility (#7870) 2020-10-12 10:22:55 -04:00
Evert Timberg
29f1358328
Cartesian axis label cross alignment (#7874)
* Refactor Y axis alignment to it's own method
* Label Cross alignment
* Add documentation of new setting
* Update docs with live sample
2020-10-12 10:22:13 -04:00
Evert Timberg
dc4eac6323
Cartesian axis text alignment (#7846)
* Generate textBaseline per tick label
* Enable configuration of tick alignment
* Add image based tests of text alignment options
2020-10-10 11:38:55 -04:00
Jukka Kurkela
06b5325778
Add maxWidth/maxHeight options for legend (#7852) 2020-10-06 07:41:16 -04:00
Evert Timberg
56a8a23d54
Add new option, skipNull to bar charts that enables skipping null values (#7849)
* Add new option, `skipNull` to bar charts that enables skipping null
or undefined values.

* Address code review feedback

* Fix windows CI lint issues
2020-10-06 07:33:24 -04:00
Evert Timberg
168965fa38
Enable custom sorting of the legend items (#7851) 2020-10-05 22:15:38 -04:00
Evert Timberg
a8a83d12cd
Provide APIs to set active (hovered) and tooltip elements. (#7845)
Provide APIs to set active (hovered) and tooltip elements.

Chart.setActiveElements will set the hovered items.
Chart.tooltip.setActiveElements will set the tooltip items.
2020-10-05 17:14:38 -04:00