Commit Graph

743 Commits

Author SHA1 Message Date
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
Evert Timberg
8438da9e84
Provide method to lookup a chart from a canvas (#7843)
* Provide method to lookup a chart from a canvas
* Throw an error during construction if a canvas is in use
* Migration docs for new constructor behaviour
2020-10-04 11:08:38 -04:00
emmcbd
d332ebc63d
Remove enum types (#7841)
* Remove type enum
* Add declare keyword to UpdateModeEnum
2020-10-03 16:48:22 -04:00
Evert Timberg
9b204eb278
Enable per-dataset circumference and rotation for pie/doughnut charts (#7833)
* Enable per-dataset circumference and rotation for pie/doughnut charts
* Convert `circumference` and `rotation` options to degrees
2020-10-03 16:47:39 -04:00
Samuel Gratzl
391e4b6f2e
flat helpers (#7806)
* generate a flat helpers package
* move helpers built files to dist
* upgrade docs for flat helpers
2020-09-28 09:11:55 -04:00
Jukka Kurkela
10f393a58d
Fix: maximum size and mouse position with styling (#7816)
Fix: maximum size and mouse position with styling
2020-09-26 13:18:35 -04:00
Jukka Kurkela
8cdc60ccd1
[perf] Update/draw only visible line/points (#7793)
* Restore count parameter to updateElements
* [perf] Update/draw only visible line/points
* CC
2020-09-15 18:57:31 -04:00
emmcbd
b5853a46b4
Strong typings for scales and datasets in options (#7791) 2020-09-14 09:57:00 -04:00
emmcbd
7dbfde524f
Strong chart object and properties typing (#7782)
* Strong chart object and chart creation typing
* Handle mixed charts
* Add documentation
2020-09-11 20:18:21 -04:00
stockiNail
fd34e786ab
isoWeekday time options on time scale as number (#7768)
* fixed default of tension property of line element
* Fixes isoWeekday on time scale #7749
* adds checking on isoWeekDay options in _generate function
2020-09-07 16:19:45 -04:00
Jukka Kurkela
18c003959d
Chart.register instead of Chart.plugins.register (#7753) 2020-09-03 11:45:57 -04:00
Pavel
35d669e5bb
Document .getElementsAtXAxis(e) (#7718)
Preventing pain for people with a specific use case.
2020-08-22 12:25:28 -04:00
Jukka Kurkela
6f83c55be5
'stack' mode for filler (#7705)
'stack' mode for filler
2020-08-11 09:31:18 -04:00
Jukka Kurkela
f79d609548
Add offset option for arc (#7691)
* Add offset option for arc
* Finishing touches
2020-08-05 07:35:28 -04:00
Jukka Kurkela
9c27f74801
Export extensible classes in ESM compatible way (#7650)
* Export extensible classes in ESM compatible way
* Export collection helperrs
* Remove reduntant registry assignment
2020-08-03 12:33:41 -04:00
stockiNail
65c31cfd6e
Add some additional info and sections to animation documentation (#7685) 2020-07-31 09:49:17 -04:00
stockiNail
b86880f746
fixed default of tension property of line element (#7677) 2020-07-28 17:24:55 -04:00
Jukka Kurkela
da0764a585
Fix casing of dist files in docs (#7670) 2020-07-26 10:23:12 -04:00
Jukka Kurkela
2b40e04a4b
Live demo in getting-started page (#7659)
* Output docs directly to dist
* Live demo in getting-started page
2020-07-22 13:00:43 -04:00
Ben McCann
8837cbc890
Docs: chart should live in own container (#7658) 2020-07-21 17:50:18 -04:00
Ben McCann
bdef29ebb1
Fix import statement in docs (#7653) 2020-07-20 15:54:46 -04:00
Jukka Kurkela
b6d3579bb1
Update spanGaps docs (#7643) 2020-07-17 16:24:06 -04:00
stockiNail
bebdcea87c
Removes the line hegiht property from title documentation (#7631) 2020-07-16 13:29:13 -04:00
Jukka Kurkela
af855d7646
Fix remaining issues in samples (#7625)
* Fix remaining issues in samples
* Update migration guide
* Use element instead
* Update tooltip.md
2020-07-16 13:28:12 -04:00
Jukka Kurkela
d3eaf2ff2a
Leftover defaults (#7628)
* Remove leftover placeholders from defaults
* Add migration note about moved plugin defaults
2020-07-15 18:13:10 -04:00
Jukka Kurkela
74ef7d5718
Align axes documentation with the changes (#7624) 2020-07-15 18:12:15 -04:00