Some help on 1.0.10

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
zulfikaralib
Posts: 14
Joined: Thu Sep 22, 2005 5:38 am
Location: Mumbai, India
Contact:

Some help on 1.0.10

Post by zulfikaralib » Fri Sep 05, 2008 12:08 pm

Hi All,

I am currently upgrading from 0.9.7 to 1.0.10

I was not able to find a replacement for the following

1. cplot.setValueLabelFormatString(df.toLocalizedPattern())

2. setVerticalCategoryLabels(true)

3. setVerticalCategoryLabels(true);

4. setPlotShapes(true);

Any help appreciated. :idea:
Zulfikarali Barodawala

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

Re: Some help on 1.0.10

Post by david.gilbert » Fri Sep 05, 2008 1:19 pm

zulfikaralib wrote:1. cplot.setValueLabelFormatString(df.toLocalizedPattern());
I think this was the formatter for the item labels. You now control this in the ItemLabelGenerator that is assigned to the renderer.
zulfikaralib wrote:2. setVerticalCategoryLabels(true)

3. setVerticalCategoryLabels(true);
2 and 3 are the same? There's now a lot more control, flexibility and complexity(!) in setting the axis label positions. You need something like:

axis.setCategoryLabelPositions(CategoryLabelPositions.UP_90);
zulfikaralib wrote:4. setPlotShapes(true);
Is this LineAndShapeRenderer? You can use setShapesVisible(true).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked