Search found 3 matches

by johnnyhall81
Thu Oct 26, 2006 11:19 am
Forum: JFreeChart - Stockmarket
Topic: Range Axis Number Format from 100000 to 100k?
Replies: 1
Views: 11823

Range Axis Number Format from 100000 to 100k?

How do I override the numberFormat so that large numbers such as 100,000 are displayed as 100k etc?
by johnnyhall81
Tue Oct 24, 2006 11:28 am
Forum: JFreeChart - Stockmarket
Topic: priceVolumeChart problem
Replies: 1
Views: 9073

Fixed it. I was explicitly setting the color, when I should have relied on the renderer. Removing the line

Code: Select all

renderer1.setPaint(new Color(0, 102, 221));
fixed the problem.
by johnnyhall81
Tue Oct 24, 2006 9:52 am
Forum: JFreeChart - Stockmarket
Topic: priceVolumeChart problem
Replies: 1
Views: 9073

priceVolumeChart problem

Hi guys, I have a dataset which contains the price data for two stocks over a period of time. When plotting the dataset, both line graphs are of the same color. JFreeChart chart = ChartFactory.createTimeSeriesChart(title, "", "", priceDataset, true, true, false); chart.setBackgroundPaint(new Color(2...