Search found 513 matches

by John Matthews
Sun Feb 19, 2012 8:43 pm
Forum: JFreeChart
Topic: Left justified title
Replies: 6
Views: 5573

Re: Left justified title

TextTitle has parameters that let you change position, alignment and padding. You can experiment with differrent effects using setTitle().
by John Matthews
Wed Sep 12, 2007 7:40 pm
Forum: JFreeChart
Topic: Unable to control coloring of Line in LineAndShapeRenderer !
Replies: 4
Views: 5756

Matt:

Another stumbling block: I sometimes forget that the series index in such methods is 0-based! For a LineAndShapeRenderer that's only used by one series, the index is always zero.

Code: Select all

plot.setRenderer(myDatasetIndex, myRenderer);
myRenderer.setSeriesOutlinePaint(0, Color.GREEN);
John