Commit Graph

2187 Commits

Author SHA1 Message Date
Jukka Kurkela
18fc9760e1 Fix stacked fill with lines over multiple scales (#9767) 2021-10-15 08:00:14 -04:00
Jukka Kurkela
81acad9f2b Bubble: Properly parse radius for non-object data (#9764) 2021-10-15 07:57:39 -04:00
Jukka Kurkela
0dcf025ab7 Support nested scriptable defaults for datasets (#9770) 2021-10-14 08:35:51 -04:00
Jukka Kurkela
9a47395010 Fix controller.getMinMax for stacked charts (#9766) 2021-10-14 00:24:38 +03:00
Jukka Kurkela
12c5f9a839 Support nested scriptable options for datasets (#9758)
* Support nested scriptable options for datasets
2021-10-13 08:41:22 -04:00
Jukka Kurkela
bc5e5cbf11 Disable animations for BasicPlatform (offcreen) (#9751)
* Disable animations for BasicPlatform (offcreen)
* Update types
2021-10-11 14:37:25 -04:00
Jukka Kurkela
10292c6912 Linear: determine grace amount from range (#9719) 2021-10-04 17:43:04 -04:00
Toni Dietze
93fcec595c cache also undefined values in option resolver (#9661)
Otherwise, repeated lookups of undefined properties always trigger the
comparatively expensive resolution. This can be the case for example in
_calculateBarIndexPixels() in controller.bar.js when looking up
options.skipNull and options.maxBarThickness, which is done for each bar
in a bar chart.
2021-10-04 14:02:45 -04:00
Jukka Kurkela
e1ae5e6abf Add layout.autoPadding option (#9716) 2021-10-04 14:01:10 -04:00
Jukka Kurkela
0d4880e35c Fix chart crashing when only min is defined (#9718) 2021-10-04 14:00:27 -04:00
Kurt Preston
60b094a9af Fix chart crashing when max is defined but ticks are empty (#9641)
* Fix chart crashing when max is defined but ticks are empty

* Adding spec to reproduce scale bounds calculation error

Co-authored-by: Kurt Preston <kpreston@drw.com>
2021-10-04 20:30:16 +03:00
nikethan rai
0093b0fca8 Fix: Typo spaning--> spanning (#9710) 2021-10-03 09:39:20 -04:00
nikethan rai
f0f645de5f Fix: Typo ingnore-->ignore (#9711) 2021-10-03 08:50:02 -04:00
nikethan rai
7dabae9a86 Fix: Typo that-->than (#9708) 2021-10-02 17:02:38 -04:00
Jukka Kurkela
c3a53f06d7 Bar: fix too thick borders (#9678) 2021-09-25 07:52:03 +03:00
Jukka Kurkela
5587738fa4 Add sanity check for stepSize (#9679) 2021-09-24 18:13:10 -04:00
Evert Timberg
8e68481ec4 Remove const me = this pattern (#9646) 2021-09-14 07:37:22 -04:00
Jukka Kurkela
183a1a9f67 Fix segment styling with gaps (#9644) 2021-09-13 16:31:34 -04:00
Evert Timberg
f5c9a656ef Configurable tooltip box padding (#9625) 2021-09-06 09:13:21 -04:00
Jukka Kurkela
3f23aaba9a Add sanity checks for scale options (#9624) 2021-09-06 07:51:18 +03:00
Evert Timberg
71fa55acac Add parsing support to pie/doughnut charts (#9622) 2021-09-05 13:46:26 -04:00
Evert Timberg
0cdadd2560 Enable per-corner border radius in tooltip (#9620) 2021-09-05 13:07:28 -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
Jukka Kurkela
50ad1637b0 Fix plugin event filtering of renamed events (#9613) 2021-09-04 13:41:47 -04:00
Jukka Kurkela
8d68b119bc Fix control points on animated line w/o border (#9592)
Co-authored-by: Jukka Kurkela <jukka.kurkela@scmbest.fi>
2021-09-01 20:39:48 -04:00
Jukka Kurkela
fca0309223 Detect attach/detach from any level (#9557) 2021-08-18 18:14:09 -04:00
Alex Van Liew
f8a9d60fd5 [feat] support crossAlign on mirrored y-axis (#9563) 2021-08-18 07:48:36 -04:00
Jukka Kurkela
4d99658155 Remove chart.scale property (always undefined) (#9556) 2021-08-17 07:52:04 -04:00
Evert Timberg
7835973eb0 Keep track of parsed array changes when parsing===false (#9525)
* Keep track of parsed array changes when parsing===false

* Code review feedback
2021-08-14 09:07:58 -04:00
Jukka Kurkela
1c837a9c12 Fix _isPointInArea helper when no area is provided (#9489) 2021-07-28 07:57:35 -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
Evert Timberg
d0eac36381 Ensure getPrototypeOf will not crash on plugin options with no scopes (#9431)
* Ensure getPrototypeOf will not crash on plugin options with no scopes

* Code review improvements
2021-07-24 06:40:03 +03:00
Jukka Kurkela
0d0481d64c Fix DomPlatform.isAttached (#9448) 2021-07-23 08:28:09 +03: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
92e39a295d Apply segment styles with only single segment (#9447) 2021-07-20 08:45:18 -04:00
Jukka Kurkela
ba2f158dc6 Fix interaction on partially visible bar (#9446) 2021-07-20 07:57:56 -04:00
Jukka Kurkela
566d722431 Don't draw points outside chartArea (#9443) 2021-07-20 07:52:41 -04:00
Jukka Kurkela
bc7c58d46d Fix: config.platform was ignored (#9442) 2021-07-20 07:51:16 -04:00
Evert Timberg
991f151f51 Linear scale handle min === max when abs(max) > Number.MAX_SAFE_INTEGER (#9433) 2021-07-18 11:14:33 -04:00
Jacco van den Berg
259f8e8471 lower default value of grid z index so it draws behind chart elements (#9426) 2021-07-16 11:16:31 -04:00
Jukka Kurkela
0094a58ef1 Properly update stacks when datasets index changes (#9425) 2021-07-16 07:15:54 -04:00
Evert Timberg
11045a731a Fix center axis title positions (#9413)
* Fix the title positions for center positioned axes

* Handle center position for vertical axes

* Tests
2021-07-15 08:20:22 -04:00
Evert Timberg
df49447867 Limit Math.asin inputs to the range [-1, 1] (#9410) 2021-07-14 09:14:29 +03:00
Jukka Kurkela
58999ea7ac Bar: inflate rects by 0.33px to avoid artifacts (#9399)
* Bar: inflate rects by 0.33px to avoid artifacts
* Update fixture
* YAGNI
2021-07-13 18:20:24 -04:00
Jukka Kurkela
c3e709e90e Fix bar direction when minBarLength is applied (#9400) 2021-07-13 08:02:14 -04:00
Jukka Kurkela
31be610001 Fix stacked box dimension calculation with weights (#9394)
* Fix stacked box dimension calculation with weights

* Fix typo in filename
2021-07-12 07:45:03 -04:00
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