Hi All,
I'm currently upgrading from 0.9.8 to 0.9.11..
I've been reading the changes posted by David but I'm still having trouble finding alternate calls to the following methods
CategoryPlot.setValueLabelFont()
CategoryPlot.setValueLabelVisible()
CategoryPlot.setValueLabelFormatString()
BarRenderer.setDefaultOutlinePaint()
Any help would be greatly appreciated..
Jim
Some help on upgrading to 0.9.11
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Some help on upgrading to 0.9.11
These settings are now controlled by one of the renderers managed by the plot:Jim D wrote:CategoryPlot.setValueLabelFont()
CategoryPlot.setValueLabelVisible()
CategoryPlot.setValueLabelFormatString()
Code: Select all
CategoryItemRenderer renderer = myPlot.getRenderer();
renderer.setItemLabelFont(font);
renderer.setItemLabelsVisible(true);
There should be a setOutlinePaint(...) method in the renderer, that sets the outline paint for ALL series (set it to null if you want to use a different outline paint PER series). But it looks like it hasn't been added to the code...it will be there in 0.9.13. If you want to add it yourself right away, it needs to be in the AbstractRenderer class.Jim D wrote:BarRenderer.setDefaultOutlinePaint()
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

