|
In BoxWhiskerCharts setLineWidth() only seems to work on layer level, not on dataset level |
Posted by Martin van Nassou on Jan-07-2015 22:17 |
|
Hi Peter,
Today I made my first BoxWhiskerChart with ChartDirector!
That is, I only use the median lines (at least I think that's what they are called)
When I create a LineChart add an empty LineLayer and add several datasets to that layer.
I call setLineWidth() on the individual datasets, so I can have lines of different widths in
one plotarea.
With the BoxWhiskerChart, calling setLineWidth() on the individual datasets has NO effect,
all (median)lines stay 1 pixel wide.
Calling setLineWidth() on the BoxWhiskerLayer works (like in your BoxWhiskerChart
"Computer Vision Test Scores" example), but obviously it sets the same width for all
datasets in the layer.
Is this by design, is it a bug or am I doing something wrong?
Kind regards,
Martin van Nassou |
Re: In BoxWhiskerCharts setLineWidth() only seems to work on layer level, not on dataset level |
Posted by Peter Kwan on Jan-08-2015 01:04 |
|
Hi Martin van Nassou,
This is by design. For your case, instead of using one layer with multiple data sets, you
need to use multiple layers, each with one data set.
Hope this can help.
Regards
Peter Kwan |
|