huqingkun
147ee593ba
fix issue #11717 ( #11844 )
...
* fix issue #11717
Signed-off-by: Hu, Vince <Qingkun.Hu@fmr.com >
* unit test for issue #11717
* fixing test lint style issue
* update codes according review comments
---------
Signed-off-by: Hu, Vince <Qingkun.Hu@fmr.com >
2024-08-06 17:32:26 +02:00
EricWittrock
6daf4ba4e3
#11450 hide bar by dataindex ( #11755 )
2024-04-29 06:36:56 +02:00
stockiNail
a102ca515b
Revert fix for monotone cubic interpolation ( #11432 )
2023-08-02 10:42:29 -04:00
stockiNail
cc7ee8ade1
Fix curve path if scale limits are set for line chart ( #11377 )
...
* Fix curve path if scale limits are set for line chart
* add scale limits test case
2023-07-24 19:58:23 +02:00
stockiNail
ec7be48470
Fix toggling showLine option on scatter controller ( #11334 )
2023-06-08 08:53:50 -04:00
Tim Gates
b34e273880
docs: Fix a few typos ( #11220 )
...
There are small typos in:
- docs/general/colors.md
- src/controllers/controller.doughnut.js
- src/controllers/controller.pie.js
- src/scales/scale.time.js
Fixes:
- Should read `outer` rather than `outr`.
- Should read `indistinguishable` rather than `indistiguishable`.
- Should read `guesstimation` rather than `guestimation`.
Signed-off-by: Tim Gates <tim.gates@iress.com >
2023-04-02 07:58:40 -04:00
stockiNail
7f9bca6844
Add borderDash options to arc element ( #11127 )
2023-02-12 17:46:05 -05:00
Kit PANG
667b28beca
fix: respect minBarLength in stacked bar chart ( #10766 )
2022-11-22 20:21:02 -05:00
Dan Onoshko
51441272a7
refactor: move to esm in sources ( #10879 )
2022-11-17 08:08:44 -05:00
t-mangoe
63993b03b1
check the data set type in DoughnutController ( #10867 )
2022-11-12 15:41:21 -05:00
stockiNail
5a90b71163
Fix the missing apply for the color on the legend labels ( #10855 )
...
* Fix the missing apply for the color on the legend labels
* apply review
2022-11-04 18:55:27 -04:00
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