box-plot median width
Posted: Tue May 17, 2022 6:41 am
by kdp9390
Is it possible to specify the area of the "median" part of a "boxplot" chart like this? My chart is filled with lines in the "median" area. Also can you show the "box plot" side by side?
this is my chart
- 화면 캡처 2022-05-17 153711.png (6.47 KiB) Viewed 322 times
I want to make my chart like this.
- 화면 캡처 2022-05-17 153132.png (9.42 KiB) Viewed 322 times
Re: box-plot median width
Posted: Tue May 17, 2022 1:22 pm
by mateusz.b
Hi kdp9390,
Thanks for contacting us with our question.
Median width can be adjusted with medianWidth property.
Demo:
https://jsfiddle.net/BlackLabel/wktz31o5/
API reference:
https://api.highcharts.com/highcharts/s ... edianWidth
When it comes to your second queston - should the chart be rendered in separated div container or do you need both in the same one?
Regards!
Re: box-plot median width
Posted: Tue May 17, 2022 11:52 pm
by kdp9390
What I want is to adjust the length like the second picture in the attached file. I want to give the middle value a little space instead of being full.
I wonder if "medianLength" is possible, or if it is possible to have a "margin" value in the box.
Re: box-plot median width
Posted: Sat May 21, 2022 1:21 am
by mateusz.b
Hi kdp9390,
Sorry for longer response time.
You can't do that from API level, but you can adjust median path to be shorter like in the following example:
Demo:
https://jsfiddle.net/BlackLabel/phgb8f79/
API reference:
https://api.highcharts.com/class-refere ... ement#attr
Let me know if it was what you were looking for.
Regards!