Search found 29 matches

by havfrue
Fri Oct 29, 2004 6:38 am
Forum: JFreeChart
Topic: XyDataset getDomainOrder method
Replies: 0
Views: 2007

XyDataset getDomainOrder method

Is the new method getDomainOrder in XyDataset used anywhere in Jfreechart?
Will the code behave differently if I use DomainOrder.NONE than if I use DomainOrder.ASCENDING??
by havfrue
Mon Sep 06, 2004 7:32 am
Forum: JFreeChart
Topic: Logarithmic Zooming Error
Replies: 7
Views: 10567

Is the error in zoom when using logarithmic axes fixed yet?

I just wondered if the zooming error when using logatihmic axes has been fixed. And if so .. in which release?
by havfrue
Mon Jul 26, 2004 11:37 am
Forum: JFreeChart
Topic: large dataset problem
Replies: 12
Views: 25704

I have actually started looking into if there are other software that is better suited when rendering large datasets so I haven't implemented this yet. Part of why I haven't fixed this is that the jfreechart API changes quite frequently and this means I would have to change my code quite frequently ...
by havfrue
Fri Jul 23, 2004 3:01 pm
Forum: JFreeChart
Topic: large dataset problem
Replies: 12
Views: 25704

and this post: Why do renderers still use getXValue method??
(Mon Jun 07, 2004 12:40 pm)
by havfrue
Fri Jul 23, 2004 2:58 pm
Forum: JFreeChart
Topic: large dataset problem
Replies: 12
Views: 25704

you might also want to take a look at this post:
XYItemRenderer too slow - why not draw all points at once?
(Mon Jun 14, 2004 4:05 pm)
by havfrue
Fri Jul 23, 2004 2:54 pm
Forum: JFreeChart
Topic: large dataset problem
Replies: 12
Views: 25704

fast rendering

I think the rendering would be faster if whole arrays are rendered instead of one by one item. This means that you have to create your own dataset that implements these methods: public double[] getXValues(int serie); public double[] getYValues(int serie); and your own renderer that renders the whole...
by havfrue
Thu Jun 17, 2004 10:31 am
Forum: JFreeChart
Topic: scrollling issues - caching data as image while scrolling
Replies: 0
Views: 2304

scrollling issues - caching data as image while scrolling

Hi, I just wondered if anyone have implemented smart/fast scrolling along x and y axis in an XYPlot? I have added scrollbars but each time I scroll I have to repaint/render all the items. I know that JCarnac is caching an image of the data and when you scroll the data that has been rendered before w...
by havfrue
Mon Jun 14, 2004 3:28 pm
Forum: JFreeChart
Topic: XYItemRenderer too slow - why not draw all points at once?
Replies: 1
Views: 3002

XYItemRenderer too slow - why not draw all points at once?

XYItemRenderer uses drawItem method for drawing points... Why isn't there a draw items("whole array at once") renderer method that instead of using the dataset is using input as arrays (double[] xValues and double[] yValues) Alternatively, when datasets are very large there should be two methods in ...
by havfrue
Mon Jun 14, 2004 11:17 am
Forum: JFreeChart
Topic: new methods for zooming around a given location (x,y)
Replies: 1
Views: 3397

new methods for zooming around a given location (x,y)

I have added some methods that zooms around a given location. When the mouse is pressed I start a timer and call these methods from within mouse pressed method. This way you can easily zoom in and out arounf a point of interest. Just wanted to share them if anyone's interested. Is this something tha...
by havfrue
Mon Jun 14, 2004 10:28 am
Forum: JFreeChart
Topic: optimize rendering of large datasets
Replies: 0
Views: 2533

optimize rendering of large datasets

Hi, I just wondered if anyone has tried rendering large datasets using jfreechart. I have datasets that that has 10 000 000 items. Since I have scrolling and zooming functionality I have to resample "on the fly" which takes a while... although I only render 2000 items. What I do is: 1) Render only t...
by havfrue
Tue Jun 08, 2004 1:01 pm
Forum: JFreeChart
Topic: optimization issues: public vs protected methods jfreech.
Replies: 1
Views: 3200

optimization issues: public vs protected methods jfreech.

Hi David, I have rewritten the DatasetUtilities.java to use getX and getY instead of getXVal and getYVal (called "PrimitivesDatasetUtilities"). I have made a subclass og XYPlot called ExtendedXYPlot In order to use PrimitivesDatasetUtilities I have to overwrite the method getDataRange. Instead of co...
by havfrue
Mon Jun 07, 2004 12:52 pm
Forum: JFreeChart
Topic: Why do renderers still use getXValue method??
Replies: 1
Views: 3061

Why do renderers still use getXValue method??

Why do renderers still use Number "getXValue(series, index) " and getYValue instead of "double getX(series, index)" and getY methods? I guess rendering would be a lot faster if getX and getY had been used since they return double primitives. (I render a large dataset using StandardXYItemRenderer in ...
by havfrue
Thu Jun 03, 2004 12:06 pm
Forum: JFreeChart
Topic: rubber band zooming not working correctly in new release...
Replies: 4
Views: 5746

previous post - VerifyError when using cvs code

I have now compiled the cvs code and tried to run the JFreeChartDemo. I get this exception java.lang.VerifyError: (class: org/jfree/chart/JFreeChartInfo, method: <init> signature: ()V) Incompatible argument to function at org.jfree.chart.JFreeChart.<clinit>(JFreeChart.java:187) at org.jfree.chart.de...
by havfrue
Thu Jun 03, 2004 10:24 am
Forum: JFreeChart
Topic: rubber band zooming not working correctly in new release...
Replies: 4
Views: 5746

Hi, I appreciate your quick respose :-) Would it be possible for you to put a (class) jar file like jfreechart.jar in cvs so that I don't have to get the whole source code from cvs, buld it and create the jar file myself. Like "nightly builds" int other products homepages? I am sorry if it already e...
by havfrue
Thu Jun 03, 2004 8:29 am
Forum: JFreeChart
Topic: rubber band zooming not working correctly in new release...
Replies: 4
Views: 5746

I saw that BigWillyStyle42 has the same problem in his post "Zooming in on a region with mouse produces unexpected result" We use rubber band zooming all the time in our application and therefore I need it to work as soon as possible.. (Since I have spent some time adjusting my code to the newest JF...