Search found 168 matches

by uvoigt
Wed Jan 30, 2008 1:08 pm
Forum: JFreeChart
Topic: [PATCH] XYStepRenderer enhancement
Replies: 15
Views: 11149

Hi Martin!

oh yeah, you are right. I have posted a corrected path with range checks.

Ulrich
by uvoigt
Mon Jan 28, 2008 2:19 pm
Forum: JFreeChart
Topic: [PATCH] XYStepRenderer enhancement
Replies: 15
Views: 11149

I found some time to create a patch against the 1.0.x branch. I have added the patch to the tracker https://sourceforge.net/tracker/index.php?func=detail&aid=1874890&group_id=15494&atid=315494. Any comments are welcome! David, can you check if you want to commit the patch to freechart? Thanks Ulrich
by uvoigt
Mon Jan 21, 2008 10:57 am
Forum: JFreeChart
Topic: [PATCH] XYStepRenderer enhancement
Replies: 15
Views: 11149

You are right. Feel free to add it :-)
by uvoigt
Fri Jan 18, 2008 6:25 pm
Forum: JFreeChart
Topic: [PATCH] XYStepRenderer enhancement
Replies: 15
Views: 11149

Uuups, cannot post patches to trackid 1873517. Therefore I have added another patch thread 1874890 : http://sourceforge.net/tracker/index.php?func=detail&aid=1874890&group_id=15494&atid=315494 I am sorry that the patch is not a 'real' patch but at the moment I am full with work and have no more time...
by uvoigt
Fri Jan 18, 2008 6:14 pm
Forum: JFreeChart
Topic: [PATCH] XYStepRenderer enhancement
Replies: 15
Views: 11149

Mmmh, I have problems creating a fast patch because I don't have the current 1.0.x freechart sources available. So I am posting a class which implements the behaviour and subclasses the XYStepRenderer. It should be easy to integrate it in the common XYStepRenderer sources. I'll post it in the patch ...
by uvoigt
Fri Jan 18, 2008 2:39 pm
Forum: JFreeChart
Topic: [PATCH] XYStepRenderer enhancement
Replies: 15
Views: 11149

I did already implement this myself but did not post it. Sorry!! My implementation is a bit more general. You can define a percentage at which x point the step should be rendered. Example: Step: 0% => Step is perfomed at x0 Step: 100% => Step is performed at x1 Step: 25% => Step is performed at x0+0...
by uvoigt
Thu Dec 13, 2007 1:57 pm
Forum: JFreeChart
Topic: Optimize execution time
Replies: 4
Views: 3854

I was very surprised that the application is not faster on Linux (Debian) than on Windows (XP).
Do you really mean not faster on Linux? I wouldn't be surprised if the application has the same speed on Linux and on Windows.
by uvoigt
Mon Nov 05, 2007 8:41 am
Forum: JFreeChart
Topic: XYPlot for lat/longs...
Replies: 4
Views: 3790

Have a look at this thread: http://www.jfree.org/phpBB2/viewtopic.php?t=19985
Maybe you find something of interest for you.
by uvoigt
Tue Oct 16, 2007 3:24 pm
Forum: JFreeChart
Topic: Bug in AbstractXYItemLabelGenerator?
Replies: 2
Views: 2352

Ok, that's fine.
by uvoigt
Tue Oct 16, 2007 2:29 pm
Forum: JFreeChart
Topic: Bug in AbstractXYItemLabelGenerator?
Replies: 2
Views: 2352

Bug in AbstractXYItemLabelGenerator?

Hello, I have found the following lines of code in the AbstractXYItemLabelGenerator. JFreeChart 1.0.6: protected Object[] createItemArray(XYDataset dataset, int series, int item) { ... double x = dataset.getXValue(series, item); if (Double.isNaN(x) && dataset.getX(series, item) == null) { result[1] ...
by uvoigt
Fri Sep 28, 2007 12:51 pm
Forum: JFreeChart
Topic: Missing reset() method for RendererState?
Replies: 9
Views: 5850

Missing reset() method for RendererState?

Hi! I have implemented some special renderer implementations and today I noticed that the renderer internal RendererState object is not initialized separately for each dataset. This is quite painful because I save some informations in this object which is only valid for one dataset. With the current...
by uvoigt
Thu Sep 13, 2007 3:21 pm
Forum: JFreeChart
Topic: How to generate tooltips between two points ?
Replies: 3
Views: 3515

You can create your own tooltips by overriding the getTooltipText() method of the ChartPanel. The following code fragment generates tooltips with the x position of the mouse. I think this is a good starting point. You can expand this by looking for the given x value in your datasets and add the info...
by uvoigt
Thu Jul 12, 2007 8:53 am
Forum: JFreeChart
Topic: Redraw/repaint a graph
Replies: 6
Views: 6843

Hi sanrider, I think the problem is your button code: I update the dataset by calling createDataset() So in my button I have this dataset = createDataset() If you create a new dataset after pressing the button you have to assign the dataset to the plot. Otherwise the old dataset is used by the plot....
by uvoigt
Wed Jul 11, 2007 9:19 am
Forum: JFreeChart
Topic: Redraw/repaint a graph
Replies: 6
Views: 6843

Please check your createChartPanel method. Ensure that your chart is displayed in a ChartPanel and NOT in a JPanel. So it probably looks like private ChartPanel createChartPanel() { IntervalXYDataset dataset = createDataset(); JFreeChart chart = createChart(dataset); return new ChartPanel(chart); }
by uvoigt
Mon Jun 18, 2007 8:13 am
Forum: JFreeChart
Topic: JRE 1.3.1 Support - Needed?
Replies: 12
Views: 11036

That's ok for me. I am using 1.5 for all my projects.