Dan Onoshko
22f32af1bc
fix: calc visible points on update ( #10667 )
2022-09-24 17:01:47 -04:00
Dan Onoshko
e7372ade24
fix: same-looking tooltips on charts ( #10548 )
...
* fix: same-looking tooltips on multiseries charts
* fix: same-looknig tooltips on all chart types
* chore: restore tooltip plugin
* docs: additions to migration guide
* docs: remove labels from scatter and bubble examples
* docs: review fix
2022-08-18 07:34:35 -04:00
Dan Onoshko
a4de430d99
fix: treeshaking ( #10504 )
...
* fix: treeshaking
* refactor: DatasetController.datasetElementType and DatasetController.dataElementType as static props
2022-08-04 09:17:40 -04:00
Slava Terekhov
03e9194be5
feat: remove line element from scatter controller ( #10439 )
...
* feat: remove line element from scatter controller default config
* feat: move common controllers methods to helpers and add types
* feat: mark methods for scatter and line conntrollers as private
* fix: fix error when showline is true at root options and add tests
* feat: remove else inside scatter controller update
* fix: update getStartAndCountOFVisiblePoints helper code
2022-08-01 22:39:09 +03:00
Jacco van den Berg
1fef75d990
Skip all borders if borderSkipped === true ( #10530 )
...
* Skip all borders if borderSkipped === true
This will allow you to skip all borders (not just one side) if you set borderSkipped to boolean true and so allow you to have a consistent legend marker even for bars without borders. Reason is that even if same colored borders are set there are artifacts that make the bar look bad and also even with inflateAmount the bars do look good when big but when only a few pixel in size they start to look bad too so this was the only way for me to make it work so legends are looking good and bars too.
* fix failing test, update docs and typings
* update typing comment
Co-authored-by: Istvan Petres <pijulius@users.noreply.github.com >
2022-07-30 08:12:53 -04:00
Dan Onoshko
e800b46ab9
fix: calc visible points on update #10467 ( #10523 )
2022-07-28 07:46:00 -04:00
Jukka Kurkela
7a13906114
Fix options update when changing to shared opts ( #10451 )
2022-06-29 16:44:51 +03:00
Jukka Kurkela
e3b2b52790
Fix crash with skipNull and uneven datasets ( #10454 )
2022-06-29 07:46:48 -04:00
Jacco van den Berg
1422c93dc0
Update scale polarArea correctly on data hide ( #10340 )
...
* give correct range back for polarArea
* added test
* tab to spaces
2022-05-22 09:50:32 -04:00
luke-heberling
a9765042f1
Use abs() when comparing for spanGaps ( #10316 )
...
* Use abs() when comparing for spanGaps
* tests for spanGaps w/ integer (boolean already covered)
* remove redundant default config from spanGaps tests
2022-05-01 14:28:41 -04:00
Evert Timberg
d3a9bf375c
Allow individual chart controllers to opt-in to the decimation plugin ( #10182 )
...
* Allow individual chart controllers to opt-in to the decimation plugin
* Code review feedback
2022-02-21 08:33:33 -05:00
Evert Timberg
edd764fcb5
minimum bar length setting keeps bar base in view ( #10157 )
2022-02-13 15:27:46 -05:00
Jacco van den Berg
ed68557a99
Make object notation usable for polarArea and radar ( #10088 )
...
* start to make object notation usable for polarArea
* enable object notation also for radar chart, test default key
2022-02-12 10:23:31 -05:00
Jukka Kurkela
0dc733a96c
Configure all datasets before updating any ( #9872 )
...
* Update misleading sample comment
* Configure all datasets before updating any
2021-11-18 00:09:25 +02:00
Jukka Kurkela
6a250de81d
Add chart, p0.raw, p1.raw to segment context ( #9761 )
...
* Add chart, p0.raw, p1.raw to segment context
* Types
2021-10-15 15:56:29 -04:00
Jukka Kurkela
81acad9f2b
Bubble: Properly parse radius for non-object data ( #9764 )
2021-10-15 07:57:39 -04:00
nikethan rai
f0f645de5f
Fix: Typo ingnore-->ignore ( #9711 )
2021-10-03 08:50:02 -04:00
Jukka Kurkela
c3a53f06d7
Bar: fix too thick borders ( #9678 )
2021-09-25 07:52:03 +03:00
Evert Timberg
8e68481ec4
Remove const me = this pattern ( #9646 )
2021-09-14 07:37:22 -04:00
Evert Timberg
71fa55acac
Add parsing support to pie/doughnut charts ( #9622 )
2021-09-05 13:46:26 -04:00
Shubham Aggarwal
4af9851584
Ensure that controllers derived from the bar controller work correct in stacked charts ( #9587 )
...
* change parameter of functions
* argument and parameter change in DatasetController.js
* changing variable name to proper convention
* Update controller.bar.js
2021-09-04 13:43:34 -04:00
Jacco van den Berg
e8f2a5a271
Remove index override, ( #9469 )
...
Make barchart more inline with v2 behaviour and other charts
2021-07-27 07:59:39 -04:00
Jukka Kurkela
b32fb48574
Bar: add 'middle' option for borderSkipped ( #9452 )
...
* Bar: add 'middle' option for borderSkipped
* Split in 2
2021-07-21 07:13:45 -04:00
Jukka Kurkela
cf951ac611
Add ability to hide specific data element ( #9450 )
2021-07-21 07:08:02 -04:00
Jukka Kurkela
151188e2f2
Add data/dataset indices to line segment context ( #9451 )
2021-07-21 07:00:05 -04:00
Jukka Kurkela
c3e709e90e
Fix bar direction when minBarLength is applied ( #9400 )
2021-07-13 08:02:14 -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
Jukka Kurkela
ba5ebceca8
Bar: ignore not-grouped bars from group bar count ( #9291 )
2021-06-19 18:28:05 -04:00
Jukka Kurkela
4002694e26
Fix: Don't use clip/unclipArea when clip: false ( #9286 )
2021-06-18 14:11:33 -04:00
Jukka Kurkela
22c02ede02
Fix updating of active elements ( #9261 )
2021-06-12 14:19:33 -04:00
Jacco van den Berg
1a7212dff5
Barheight no longer undefined ( #9208 )
2021-06-02 22:48:42 +03:00
Evert Timberg
c853ca6942
Allow setting a constance spacing between arc elements ( #9180 )
2021-05-29 17:47:44 -04:00
Jukka Kurkela
a553d57033
Fix doughnut rotation on float edge cases ( #9121 )
2021-05-18 19:24:23 -04:00
Akihiko Kusanagi
0ba5c70618
Support monotone cubic interpolation for vertical line charts ( #9084 )
...
* Support monotone cubic interpolation for vertical line charts
* Use more more intuitive veriable names
2021-05-14 17:07:26 -04:00
Akihiko Kusanagi
953b23b4ef
Fix element reset animations in vertical line and bubble charts ( #9088 )
2021-05-13 16:22:58 -04:00
Evert Timberg
024f406223
Fix polar area tooltip item label ( #9067 )
2021-05-12 07:54:21 -04:00
Jukka Kurkela
12bf256fd5
Ignore truncated pixels in bar width calculation ( #8995 )
2021-04-28 16:42:08 -04:00
Jukka Kurkela
0ad0d35c09
Fix skipNull for subsequent datasets ( #8972 )
2021-04-24 15:20:52 -04:00
Evert Timberg
b92f9e52fd
Only enable the bar borderRadius at the end of the stacks ( #8941 )
...
* Only enable the bar borderRadius at the end of the stacks
* Float bars always get borders enabled
* Tests
* Update documentation
2021-04-18 16:30:54 -04:00
Evert Timberg
a84347b035
Handle animating stacked bars from null values ( #8872 )
...
* Handle animating stacked bars from null values
* Skipped bars / points should be in the reset state
2021-04-10 20:31:14 +03:00
Jukka Kurkela
4eb59454be
Allow styling of line segments ( #8844 )
...
Allow styling of line segments
* docs & sample
* Types
* update sample
2021-04-08 18:02:12 -04:00
Nico-DF
ba3320ef19
Filtering data before decimation ( #8843 )
...
* Filtering data before decimation
Using only points between the currently displayed x-axis for the decimation algorithm.
Allows better resolution, especially if using a zoom
If data are outside range, they will not be displayed, hence the line graph will not show the trend at extremities
* Fix LTTB algorithm
* Adding test file
* Simplifying count algorithm for decimation plugin
2021-04-07 16:40:45 -04:00
Jukka Kurkela
757ddf2882
Fix: update line options on resize, for gradients ( #8832 )
2021-04-06 18:54:36 -04:00
Jukka Kurkela
dd99005b5a
Remove line interaction overrides + hover.onHover ( #8770 )
...
* Remove interaction mode overrides + hover.onHover
* Restore bar override
2021-04-01 13:47:11 -04:00
Jukka Kurkela
f1810586f7
Pie: Fix last slice animation and NaN handling ( #8760 )
...
* Pie: Fix last slice animation and NaN handling
* Add tests
* Fix polarArea
2021-03-31 15:25:25 -04:00
Jukka Kurkela
396cbcb979
Bubble: Fix maxOverflow before elements update ( #8736 )
2021-03-26 18:20:05 -04:00
Jukka Kurkela
74f2f85ec3
Line: update all points when scale range changes ( #8703 )
2021-03-23 08:28:38 -04:00
Evert Timberg
375d856a87
Expose formatNumber as a helper ( #8683 )
2021-03-21 11:04:27 +02:00
Jukka Kurkela
79cc6d3206
Use maxOverflow as minimum layout padding ( #8650 )
...
* Use maxOverflow as minimum layout padding
* fixes
2021-03-16 16:32:29 -04:00
Jukka Kurkela
420aa027b3
Exclude base-line from bar size ( #8648 )
...
* Exclude base-line from bar size
* lint
* add to types
2021-03-16 08:49:19 -04:00