Open barveaditya opened 3 years ago
I'd love @helgasoft's opinion here since they worked on error bars more than I have.
One possibility would be to change this line https://github.com/JohnCoene/echarts4r/blob/c30c8b5282c8fd7f34370129d10b78dea3efddc8/inst/htmlwidgets/lib/echarts-4.8.0/custom/renderers.js#L67
to something like let halfWidth = api.size([1, 0])[0] * 0.05;
Ideally this should be exposed to the user so it can be set as one wishes but I'm not sure how to go about it.
Thanks @JohnCoene . However the solution only works for ungrouped data. Does not work if the data is grouped.
This probably seems like a waste of time, but the width of the error bars really bugs me to no end, they look really ugly. Any way to fix that? Ideally they should be about 50-60% of the width. Is there an option for it to be customisable? or not have the horizontal lines in the errorbar at all? I won't mind that as well.
On a related note - have you thought about allowing scatter points with error bars?