Android 1.5.1 - PieSeries setDrawDirection


#1

I’m using the following code to set up a Pie series:

final PieSeries pieSeries = new PieSeries();
pieSeries.setDrawDirection(PieDonutSeries.DrawDirection.CLOCKWISE);
pieSeries.setOuterRadius(0.94f);
pieSeries.setDataAdapter(dataAdapter);
pieSeries.setSelectionMode(Series.SelectionMode.POINT_MULTIPLE);

When I select a slice on the chart it selects the mirror image slice. If I comment out the “setDrawDirection()” call, everything works as expected.

Any suggestions on getting selection working correctly when using a clockwise draw direction?

Thanks,

Ken


#2

Hello Ken,

Thanks for getting in touch!
I am sorry to hear that you are having issues using ShinobiCharts for Android. I have done some investigation into this matter and I believe that you may have uncovered a bug.

I have raised this in our bug tracking system and we will post a reply to this thread once a fix becomes available.

I apologise for any inconvenience caused.

Thanks,

Kai.


#3

Hi Ken,

Just to let you know we’ve now released v1.6.0 of ShinobiCharts for Android which includes a fix for this bug. It’s available in the Customer Portal and as a trial download from http://www.shinobicontrols.com/android.

Kind regards,

Patrick