Problem 1
For my data, the autorange method is not working - last 2 bars and their item labels are cut off. Also, tooltips are not working.
The data I am using is :
Lows :
0.0, -21.4, 11,57, 3.51, 12.36, 3.39, 38.69, 43.31, -29.59, 0.0
Highs :
-21.4, 11,57, 3.51, 12.36, 3.39, 38.69, 43.31, -29.59, -35.30, -35.30
The last 2 bars and their item labels are being cut off and none of the toltips are working. I have changed only the data and nothing else in that code.
Problem 2
Is there any way to set the tick units size automatically based on the data ? Currently it is set in the following line manually :
Code: Select all
yAxis.setTickUnit(new NumberTickUnit(1000, formatter));
In case the data is too small, (< 0.50), then the bar is not being drawn at all and so neither are the tooltips appearing.