Search found 10 matches

by Jorne
Fri Oct 07, 2016 9:50 am
Forum: JFreeChart
Topic: Chart draws slowly after a while
Replies: 5
Views: 5992

Re: Chart draws slowly after a while

So 100k of data (100 Hz data update frequency, total time 1000 sec or 16 min) rendered as a line with a "visual update frequency" of 0.5 sec would be ok? If you mean that the 100k data points will be drawed within 0.5 secs. Then yes i think this would be ok for me. I'm not sure tho i would have to ...
by Jorne
Thu Oct 06, 2016 12:36 pm
Forum: JFreeChart
Topic: Chart draws slowly after a while
Replies: 5
Views: 5992

Re: Chart draws slowly after a while

Hi Paradox, Thanks for replying i'm going to give you the best explanation on those questions as possible. - What type of dataset and renderer are you using? From your post, I assume that the dataset might by an XYSeriesCollection or a TimeSeriesCollection. Indeed it's a XYSeriesCollection. Not a Ti...
by Jorne
Wed Oct 05, 2016 1:11 pm
Forum: JFreeChart
Topic: Chart draws slowly after a while
Replies: 5
Views: 5992

Chart draws slowly after a while

Hi there, First of all thanks for reading trough my post. I already read the topic http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=18592 . And i know they have similar problem and they solved it they say but i can't get the Fast classes implemented into my application and like the creator says. he h...
by Jorne
Fri Jun 17, 2016 9:48 am
Forum: JFreeChart
Topic: Auto range on x-axis goes negative while not needed
Replies: 7
Views: 5575

Re: Auto range on x-axis goes negative while not needed

Dear paradoxoff, I'm very pleased of your effort to help me. But the only thing your telling me is saying what could be the problem. But i need a solution to solve this problem. what can i do about the .NaN double values. How can i get my auto range to work like intented? About the black dot series....
by Jorne
Thu Jun 16, 2016 2:44 pm
Forum: JFreeChart
Topic: Auto range on x-axis goes negative while not needed
Replies: 7
Views: 5575

Re: Auto range on x-axis goes negative while not needed

Yes i got 2 datasets, the black dot serie is a clone of the red line serie. I created this so i know where the point being drawn is. I set the draw shape boolean to true. this doesn't solve anything. double.NaN: i wouldn't think this is the problem? I only add doubles to the series. I even check bef...
by Jorne
Thu Jun 16, 2016 8:30 am
Forum: JFreeChart
Topic: Auto range on x-axis goes negative while not needed
Replies: 7
Views: 5575

Re: Auto range on x-axis goes negative while not needed

I'm using XYSeries in a XYSeriesCollection and a XYLineAndShapeRenderer. I find it strange too. For the Y-axis it does it fine when i make it auto range trough user interaction is just goes from 0-3000 for examples if the highest value is 3000 in the data set. But for the X-axis it won't do it prope...
by Jorne
Wed Jun 15, 2016 3:02 pm
Forum: JFreeChart
Topic: Auto range on x-axis goes negative while not needed
Replies: 7
Views: 5575

Auto range on x-axis goes negative while not needed

Hi, I wrote a java Swing application which draws a graph with incoming data through serialport connection. The first image shows the chart with a fixed X-axis range programmed in the software going from 0-5000. it has been set with the following piece of code: NumberAxis xAxis = (NumberAxis) plot.ge...
by Jorne
Mon Apr 25, 2016 10:40 am
Forum: JFreeChart
Topic: draw different shape for point being drawed
Replies: 2
Views: 3194

Re: draw different shape for point being drawed

This example overrides the renderer's getItemShape() method to return a distinct Shape for a specific point. This example overrides the renderer's getItemPaint() method to return a distinct Paint for a specific point. Thanks for the reply. I also found those two examples but it wasn't really what i...
by Jorne
Thu Apr 21, 2016 3:33 pm
Forum: JFreeChart
Topic: draw different shape for point being drawed
Replies: 2
Views: 3194

draw different shape for point being drawed

Hi there, in my chart i'm drawing the same graph all the time going forward and backward all the time. on my x-as the values go from 0-5000 and going back from 5000-0. The chart will draw the line almost identical the entire time. For me it's important that i can follow where the line is drawing. so...
by Jorne
Fri Mar 18, 2016 2:54 pm
Forum: JFreeChart
Topic: x-axis and y-axis won't start with zero
Replies: 0
Views: 5661

x-axis and y-axis won't start with zero

Hi, First of all thanks for reading my post. I have an java swing application where I have panel with a chart on it. This chart made from the library JFreeChart displays a dynamic XYLineChart. My application gets data over a COM port. this data comes in approx. every 20ms. I save a time stamp for ev...