Commit Graph

3984 Commits

Author SHA1 Message Date
Jukka Kurkela
47d4b04836
Layout: support box stacking (#9364)
* Layout: support box stacking

* Add stackWeight and sample

* Cleanup, update docs and types

* Avoid div0

* missing semi
2021-07-11 06:23:42 -04:00
Evert Timberg
27b91b7458
Adjust legend hitboxes when RTL and each item has a different size (#9353)
* Adjust legend hitboxes when RTL and
each item has a different size

* Add test for RTL legend hitboxes
2021-07-10 18:36:46 -04:00
Evert Timberg
6ab2e8cdcd
Indicate that SubTitle is a plugin in TS types (#9386)
* Indicate that `SubTitle` is a plugin in TS types

* Export subtitle plugin options
2021-07-10 16:26:37 +03:00
Jacco van den Berg
655c635191
Add SubTitle to the list of all esm imports (#9384) 2021-07-10 08:09:33 -04:00
Evert Timberg
6349df98c6
Fix type linting for merge between two PRs (#9385) 2021-07-10 08:08:27 -04:00
Jukka Kurkela
d661bd788b
Resolve warnings from typings (#9363) 2021-07-09 07:03:11 -04:00
Evert Timberg
774c444cb9
Point label specific scriptable context (#9373) 2021-07-09 06:57:55 -04:00
Evert Timberg
ab613a301f
Improve LegendElement and TooltipItem type definitions (#9376)
* Document LegendElement properties in TS

* Pass chart type to LegendElement

* Update tooltip item dataset type
2021-07-09 06:57:30 -04:00
Jukka Kurkela
066130be4d
Decimation: Prevent buffer overflow (#9367) 2021-07-07 17:45:31 -04:00
Jukka Kurkela
840599637f
Add 'shape' mode for filler-plugin (#9360) 2021-07-05 17:03:19 -04:00
Nico-DF
b4dee5507c
Adding threshold option to decimation plugin (#9327) 2021-07-04 13:19:35 -04:00
Jukka Kurkela
dac7101131
Bump version to 3.4.1 (#9350) 2021-07-04 07:29:42 -04:00
Jukka Kurkela
28d6619555
Update deps (#9349) 2021-07-04 07:27:00 -04:00
Jukka Kurkela
124581a679
Add type tests for float bar / object data arrays (#9348) 2021-07-04 07:26:22 -04:00
Jukka Kurkela
bb2bddcfd4
Timeseries: support panning (#9345)
* Timeseries: support panning

* Update

* Missing semi, reduntant variables.

* cc
2021-07-03 18:44:44 +03:00
Evert Timberg
fea3f20762
Account for floating point error in niceNum helper (#9343)
* Account for floating point error in niceNum helper
* Better solution
2021-07-01 15:07:32 -04:00
Evert Timberg
3934935caa
Enable pointStyle for doughnut, pie, and polar area charts (#9341)
* Enable pointStyle for doughnut, pie, and polar area charts

* Fix whitespace
2021-07-01 14:15:06 -04:00
Evert Timberg
3a790329c6
Ensure correct item is clicked when a horizontal legend is in RTL mode (#9340) 2021-07-01 14:14:05 -04:00
stockiNail
548d042099
Fixes spacing options in the table (#9338) 2021-07-01 11:09:44 -04:00
Evert Timberg
5f58c1f8e0
Update types with more possible events (#9336) 2021-07-01 09:37:49 -04:00
Jacco van den Berg
760fcff6fa
Fix typing of the isoWeekday field (#9330) 2021-07-01 08:24:40 -04:00
Tycho Bokdam
e5dee9f88e
Fix comma causing Terser issue (#9326) 2021-06-28 22:37:21 +03:00
Evert Timberg
4bdb57df8c
Bump to version 3.4.0 (#9322) 2021-06-26 12:04:20 -04:00
Jacco van den Berg
925fc71cc9
Clarify how to import and use the helper functions with bundlers (#9319) 2021-06-25 18:34:41 -04:00
Алексей Дорохов
860c130fe5
fix typings (#9318)
Co-authored-by: Aleksey Dorokhov <aleksey.dorokhov@x5.ru>
2021-06-25 08:07:47 -04:00
Jacco van den Berg
e4c7a73e31
resolves #9316 (#9317) 2021-06-25 08:07:11 -04:00
Ben Lumley
3bb0241dee
Fix broken link (#9315) 2021-06-25 14:08:38 +03:00
Jukka Kurkela
ed73dce18b
Docs: describe catching events with plugin (#9296) 2021-06-20 13:11:30 -04:00
Jukka Kurkela
c6976e8975
New plugin: subtitle (#9294)
* New plugin: subtitle

* Fix naive error for multiple charts
2021-06-20 07:34:55 -04:00
Jacco van den Berg
4560a87727
resolve auto register typescript failure (#9292) 2021-06-20 07:31:53 -04:00
Jukka Kurkela
87bd5785ff
Legend: fix layout padding handling (#9290) 2021-06-19 18:31:33 -04:00
Jukka Kurkela
ba5ebceca8
Bar: ignore not-grouped bars from group bar count (#9291) 2021-06-19 18:28:05 -04:00
Jukka Kurkela
fb863f3183
Filler: skip NaN points from end of segment (#9287) 2021-06-18 22:08:36 +03:00
Jukka Kurkela
8f98515f45
Refactor radialLinear scale and renderText helper (#9276)
* Refactor radialLinear scale and renderText helper
* Undo the big move to make review possible
2021-06-18 14:12:27 -04:00
Jukka Kurkela
a8d083ac24
Apply maxTicksLimit to grid when ticks are hidden (#9277) 2021-06-18 14:11:55 -04:00
Jukka Kurkela
4002694e26
Fix: Don't use clip/unclipArea when clip: false (#9286) 2021-06-18 14:11:33 -04:00
Jacco van den Berg
8d3b64bb3c
added fill type to line in options object and to radar dataset options (#9284) 2021-06-18 07:20:13 -04:00
Josh Kelley
2768c7dea7
Fix type definitions for getPixelForValue (#9263)
Update docs: From what I can tell, the `index` parameter was re-introduced as part of the new `normalized` option.
2021-06-14 07:49:27 +03:00
Jukka Kurkela
54da5341f1
Docs: Add copy button to code blocks (#9262) 2021-06-13 07:40:51 -04:00
Jukka Kurkela
22c02ede02
Fix updating of active elements (#9261) 2021-06-12 14:19:33 -04:00
Evert Timberg
dc373f3aaa
Replace [...set] with Array.from(set) (#9260) 2021-06-12 20:34:54 +03:00
Evert Timberg
9db3680440
null or undefined should skip grid lines in the time scale (#9252)
* `null` or `undefined` should skip grid lines in the time scale

* Refactor implementation per code review
2021-06-12 10:47:14 -04:00
Jukka Kurkela
6a46cc39bb
Docs: fix broken and inconsistent links (#9237) 2021-06-05 08:04:57 -04:00
jiho lee
3212124e9d
Fix broken guidelines url in PR template (#9228) 2021-06-03 15:34:54 -04:00
Jacco van den Berg
8780aaf3aa
add missing types to legend (#9226) 2021-06-03 08:04:04 -04:00
Jacco van den Berg
1a7212dff5
Barheight no longer undefined (#9208) 2021-06-02 22:48:42 +03:00
Jacco van den Berg
26f8d7b735
complete custom legend click sample to also work for pie/doughnut charts (#9219) 2021-06-02 22:48:04 +03:00
Jacco van den Berg
b78b7c3534
Add explanation on how to run the samples locally (#9207)
* add explenation on how to run the samples locally

* Remove unecesarry parts from link
2021-06-02 22:47:16 +03:00
Evert Timberg
be011768fe
Fix rtl legend text alignment (#9199)
* Start fixing RTL

* Broken test

* Fix right alignment for horizontal legends
2021-06-01 18:36:55 +03:00
Evert Timberg
599e23abfd
Tick backdrop padding is not scriptable (#9191)
* Tick backdrop padding is not scriptable
* Remove unneeded change
* Update _scriptable for callback
2021-05-30 16:59:49 -04:00