You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. draw a bar chart with poitive & negative values & display values
What is the expected output? What do you see instead?
values put on top of positive bars, negative values put below negative values.
Instead the negative values are rendered unreadable in the bars, see attached
snapshot.
What version of the product binary library are you using?
0.5
Original issue reported on code.google.com by achim.ha...@googlemail.com on 18 Nov 2010 at 6:53
This is not a bug, but rather a wrong usage of the APIs.
Each element in a RangeCategorySeries gets a min and a max value. Min value
labels are rendered below the bar and the max value labels above the bar.
In the example you provided, the max value is -2000 and the min value is 0,
which of course is not right.
Just set the min value = -2000 and the max to 0 and it will work fine.
Original comment by dandrome...@gmail.com on 20 Nov 2010 at 11:01
Hello,
I'm not using RangeCategorySeries in this example, but CategorySeries. It's a
simple BarChartView with a series with values ranging from +2575 to -2028.
I've also set the mentioned min/max Values you're referring to (+/-500 to get
some space on top/on bottom):
if (min < 0) renderer.setYAxisMin(min - 500);
renderer.setYAxisMax(max + 500);
do I have to use RangeCategorySeries instead or is it a bug in CategorySeries?
best regards, Achim
Original comment by achim.ha...@googlemail.com on 22 Nov 2010 at 1:28
Original issue reported on code.google.com by
achim.ha...@googlemail.com
on 18 Nov 2010 at 6:53Attachments:
The text was updated successfully, but these errors were encountered: