Search found 6 matches

by dougclayton
Thu Feb 16, 2006 6:53 pm
Forum: JFreeChart
Topic: Improve Use of Interfaces
Replies: 2
Views: 2610

The problem is, as I see it, that the datasets cannot all share a common interface by necessity. For instance, if you have category data, the notion of "x" and "y" do not make sense. If you have x-y data, the domain is numerical, not categorical. Consider the dataset interface I am most familiar wit...
by dougclayton
Thu Feb 16, 2006 6:46 pm
Forum: JFreeChart
Topic: Grab/Access generated chart/image URL
Replies: 3
Views: 3101

JFreeChart has no notion of a URL for the image--you configure that in your servlet configuration when you write a servlet that streams the image to the client. JFreeChart just produces the image and can write it as a PNG, etc, to an output stream, which you can get for the HttpServletResponse. Did ...
by dougclayton
Wed Feb 15, 2006 7:04 pm
Forum: JFreeChart
Topic: Custom URL
Replies: 5
Views: 4926

This is easy to do--I've done it. For full control, you need to implement your own version of a URL generator (such as org.jfree.chart.urls.XYURLGenerator or org.jfree.chart.urls.CategoryURLGenerator, depending on your renderer) and then supply that to the renderer. All the URL generator has to do i...
by dougclayton
Wed Feb 15, 2006 6:09 pm
Forum: JFreeChart
Topic: ToolTips in cewolf
Replies: 3
Views: 6586

Actually, as long as the image maps are generated with the "title" attribute (not the "alt" attribute), they work in Firefox fine, without the overlib.js file. You just have to make sure you use StandardToolTipTagFragmentGenerator.
by dougclayton
Wed Feb 15, 2006 12:18 am
Forum: JFreeChart
Topic: gaps in StackedXYAreaRenderer2 graph
Replies: 8
Views: 18295

By the way, I wrote the following code to generate those images: import java.io.File; import java.io.IOException; import java.util.Date; import org.jfree.chart.ChartUtilities; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.DateAxis; import org.jfree.chart.axis.NumberAxis; import org....
by dougclayton
Wed Feb 15, 2006 12:17 am
Forum: JFreeChart
Topic: gaps in StackedXYAreaRenderer2 graph
Replies: 8
Views: 18295

gaps in StackedXYAreaRenderer2 graph

I noticed that when I create an area chart with StackedXYAreaRenderer2, there are vertical lines between each data point when the graph is antialiased. I tracked down the problem, and it is related to the way that edges are composited when they overlap a pixel partially in the awt package. Since thi...