MarkerValue LabelBackground

Discussion about JFreeChart related to stockmarket charts.
Posts: 6
Joined: Wed Jan 13, 2016 5:40 pm
antibot: No, of course not.

MarkerValue LabelBackground

Post by eta » Wed Jan 13, 2016 5:49 pm

when i set the LabelBackgroundColor on a MarkerValue, the setting has no effect.

line code:

markerLine.setLabelBackgroundColor( new Color (100, 100, 100, 100 ) );

thanks for your help!

JFreeChart Project Leader
Posts: 11732
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.

Re: MarkerValue LabelBackground

Post by david.gilbert » Thu Jan 14, 2016 7:40 am

Good spot. It looks like it is being used by the AbstractCategoryItemRenderer but not the AbstractXYItemRenderer. I'll get that fixed for the next release.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide