I got a bar chart with a white background. The item labels are positioned inside the bars and are also white colored. The bar itself is green. If the bar isn't big enough to display the item label inside, it falls back to a position outside of the bar.
The problem is, that the item label is white and the backround is white, too. So you cannot read the label text.
Is there an easy way to calculate if the item label will be drawn at the fallback position? Or maybe some fallback item label color? I tried to extend the BarRenderer but there are some private Methods that i can't call to calculate the "real" position.
A discussion forum for JFreeChart (a 2D chart library for the Java platform).
1 post • Page 1 of 1