Replies: 2 comments 1 reply
-
Hey Ed, it seems like the Renderer only implements setting the line style (which you disabled) but not the fill: As for workarounds, you could switch to use outline bars instead of filled bars. Or just override the renderer method to also call |
Beta Was this translation helpful? Give feedback.
-
The fix for this has now been submitted - #500 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a single
DefaultErrorDataSet
added to a bar chart that's using aHistogramRenderer
configured as follows:I want some bars in the dataset to be rendered one colour, and others another colour. I've tried using
dataset.addDataStyle(index, "strokeColor=#FF4C1E;")
but the chart ignores these settings.Instead, as a workaround I've had to create two separate datasets, one for each colour, with blank values in each dataset set to 0.0. I've then applied the different colours using
dataSet.setStyle("strokeColor=#FF4C1E;")
. This creates some undesirable side-effects though, for example with tooltips.Should
dataset.addDataStyle
work in this scenario, or is my workaround actually the recommended approach?Thanks!
Ed
Beta Was this translation helpful? Give feedback.
All reactions