Search found 4 matches

by Freecharter
Tue Mar 18, 2008 6:04 pm
Forum: JFreeChart
Topic: background not applied on first request
Replies: 0
Views: 2021

background not applied on first request

The background I specify is not applied the first time the chart is rendered It is not a caching issue. When I refresh the page it does get set. Any idea why? Below is the code Image image = null; try { URL imageUrl = new ClassPathResource("some_chart_bg.png").getURL(); image = Toolkit.getDefaultToo...
by Freecharter
Fri Mar 14, 2008 3:55 pm
Forum: JFreeChart
Topic: JFreeChart in Web-Aplication
Replies: 1
Views: 3047

google cewolf.
by Freecharter
Thu Mar 13, 2008 4:09 pm
Forum: JFreeChart
Topic: Automatic Bounds Calculation
Replies: 6
Views: 10495

I have done the following

Code: Select all

NumberAxis range = new NumberAxis();
range.setAutoRangeIncludesZero(false);
plot.setRangeAxis(range);
Whilst I think what I am seeing is now correct, is this the right way to do what I want?

Thanks
by Freecharter
Thu Mar 13, 2008 3:28 pm
Forum: JFreeChart
Topic: Automatic Bounds Calculation
Replies: 6
Views: 10495

Automatic Bounds Calculation

I am using jfreechart 1.0.9 The developer guide states By default, JFreeChart is configured to automatically calculate axis ranges so that all of the data in your dataset is visible. It does this by determining the highest and lowest values in your dataset, adding a small margin (to prevent the data...