Search found 9 matches

by Zappo
Fri Feb 15, 2008 12:37 pm
Forum: JFreeChart
Topic: Export to a vector format
Replies: 8
Views: 13395

Thanks paradoxoff! :D
That works nice, and the same libraries also support a bunch of other formats. No transparency - I've tried setting up rendering hints, but they don't seem to change anything. No problem, it's not essential.
by Zappo
Wed Feb 13, 2008 5:14 pm
Forum: JFreeChart
Topic: Export to a vector format
Replies: 8
Views: 13395

Thanks mhilpert, that's exactly the sort of thing I'm looking for. :)

I'll also keep looking for something to export to other formats (WMF/EMF and EPS have been specifically required by my client), but this is a nicely working solution.
by Zappo
Wed Feb 13, 2008 12:34 pm
Forum: JFreeChart
Topic: Export to a vector format
Replies: 8
Views: 13395

I haven't tried anything specific yet, I'm still looking around for the best solution. Unfortunately, while I've seen several ways to create images in a vector format, none of them create actual vector images. They're all bitmaps embedded in a vector format, which kinda defeats the purpose. I'm real...
by Zappo
Wed Feb 13, 2008 11:15 am
Forum: JFreeChart
Topic: Export to a vector format
Replies: 8
Views: 13395

Export to a vector format

Hi all! :) I'd like to be able to export a chart to some kind of vector image format, such as WMF or EPS. I've searched the forums and I've found several ways to create vector files, but all of them actually still result in a bitmap; what I'm trying to do is a "real" vector export, containing the ac...
by Zappo
Thu Feb 07, 2008 2:23 pm
Forum: JFreeChart
Topic: Horizontal histogram with vertical plots
Replies: 0
Views: 1886

Horizontal histogram with vertical plots

Hi all! :) I've built a chart where I display a time series, with time on the X axis and a range of values on the Y axis. Now, I've been asked to calculate how much time the variable spends in each possible value, and plot that as a horizontal histogram in the same chart. So basically I'd have a hor...
by Zappo
Wed Feb 06, 2008 12:11 pm
Forum: JFreeChart
Topic: CombinedDataset and auto scaling
Replies: 6
Views: 8268

Here's another halfway-decent fix I found: call fireSeriesChanged() for each Series after you add the new values. Interesting. I had assumed that fireSeriesChanged() is invoked automatically after you add items to a series. How make to sure that the event is reaching the CombinedDataset ? Do you ad...
by Zappo
Tue Feb 05, 2008 11:11 pm
Forum: JFreeChart
Topic: CombinedDataset and auto scaling
Replies: 6
Views: 8268

Hi, the CombinedDataset does not implement DatasetChangeListener, so it can´t be registered as a listener to any of the enclosed datasets. I assume that when one of datasets inside a CombinedDataset is changed the change event that is fired is simply lost. Solution: make CombinedDataset implement t...
by Zappo
Mon Feb 04, 2008 5:45 pm
Forum: JFreeChart
Topic: CombinedDataset and auto scaling
Replies: 6
Views: 8268

Are you using a NumberAxis? If so, you could try: autoAdjustRange() Rescales the axis to ensure that all data is visible. Here's the javadocs for it: (url removed 'cause I'm a new user) You can get a reference to the axis from the plot object, which you get from the JFreechart object. NumberAxis ra...
by Zappo
Thu Jan 31, 2008 9:05 pm
Forum: JFreeChart
Topic: CombinedDataset and auto scaling
Replies: 6
Views: 8268

CombinedDataset and auto scaling

Hi all! :) I'm developing an application using JFreeChart. So far, I've used an XYSeriesCollection which worked fine. Now, I also have to display error bars, min/max values and a bunch of other stuff, not all of which is clear at this point, so I figured that moving to a CombinedDataset would be the...