Search found 10 matches

by pixaround
Thu Feb 14, 2008 1:11 am
Forum: JFreeChart
Topic: Help for refresh graph after dataset changed
Replies: 6
Views: 6406

I mean when you add a new data to dataset. It will automatically invoke redrawing the chart. You don't need to implicitly call function to invoke it unless you turn it off.
by pixaround
Thu Feb 14, 2008 1:09 am
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50139

According to Dave:
"The cross-hair values are updated during the chart redraw, so
you'll see in the cross-hair demos that the code must wait until the
chart has been redrawn before querying these valies."
I will look into it this weekend. Thanks
by pixaround
Wed Feb 13, 2008 6:53 pm
Forum: JFreeChart
Topic: Help for refresh graph after dataset changed
Replies: 6
Views: 6406

I think everytimes you add new data to dataset it will invoke the chart refresh. My program has a thread which processes incoming data , filters it and feed them to the dataset. You need to turn off the invoke and then turn on for some period if you continuously feed the data too fast though for bet...
by pixaround
Wed Feb 13, 2008 3:31 pm
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50139

I just try to get the value to print out to the console. It always lags behind. For ex I click on the point(2,3). It prints out the previous point clicked. If I click another point, it will print out 2 3. Idea ? Thanks chartPanel.addChartMouseListener(this); public void chartMouseClicked(ChartMouseE...
by pixaround
Wed Feb 13, 2008 6:00 am
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50139

Ok through JFreeChart API, I can set the crosshair using these methods xyplot.setDomainCrosshairVisible(true); xyplot.setDomainCrosshairLockedOnData(true); xyplot.setRangeCrosshairVisible(true); xyplot.setRangeCrosshairLockedOnData(true); I can get the value by these two methods xyplot.getRangeCross...
by pixaround
Wed Feb 13, 2008 3:59 am
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50139

Is there anyway I can get the source code for these demo files ? I'm doing school proj. Thanks
My email is phu.t.tran@ou.edu
by pixaround
Tue Feb 12, 2008 11:33 pm
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50139

idea plzzzz
by pixaround
Sun Feb 10, 2008 9:17 pm
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50139

Get value of a point on xy chart

How can I get the value of a single point (both x and y axis) when using mouse point to that point on xy chart or a vertical line scroll through the chart ?
Please help !!! Thanks
by pixaround
Sun Feb 03, 2008 9:10 pm
Forum: JFreeChart
Topic: Help for refresh graph after dataset changed
Replies: 6
Views: 6406

nvm. I got it @@
by pixaround
Sun Feb 03, 2008 4:42 pm
Forum: JFreeChart
Topic: Help for refresh graph after dataset changed
Replies: 6
Views: 6406

Help for refresh graph after dataset changed

I'm working on the graph which refreshes everytime the dataset changed. How can I do that? I'm appreciate all of your help. Thanks