Search found 4 matches

by jotun
Tue Oct 18, 2005 11:47 am
Forum: JFreeChart
Topic: Problems with Updating XYLineChart
Replies: 9
Views: 12353

@javydreamercsw

no, i dont have the developers guide. can you tell me the name of those events and an example who to use them ?

@skunk

yes, i called "dataset.getSeries(0).update(3, new Integer(400))". because i dont know a other way to update the dataset. is there one ?
by jotun
Mon Oct 17, 2005 8:39 pm
Forum: JFreeChart
Topic: Problems with Updating XYLineChart
Replies: 9
Views: 12353

hi, i also use the lastest version, i downloaded it a few hours ago. hm, strange. i dont get the problem right now. hey ! i found a method calls restoreAutoBounds(). with this one it works. but also only when you call zoomOutRange() before it. i didnt think much about the refreshing period yet. but ...
by jotun
Mon Oct 17, 2005 7:54 pm
Forum: JFreeChart
Topic: Problems with Updating XYLineChart
Replies: 9
Views: 12353

Hi, Thanks for your answer. I tried your changes:. jButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { dataset.getSeries(0).getDataItem(3).setY(400); chartPanel.repaint(); chartPanel.zoomOutRange(1.1,1.1); chartPanel.autoRangeBo...
by jotun
Mon Oct 17, 2005 2:50 pm
Forum: JFreeChart
Topic: Problems with Updating XYLineChart
Replies: 9
Views: 12353

Problems with Updating XYLineChart

Hi, First at all, i'm german and my english isnt that good. i read several threads but they didnt help me out. My problem is that my xylinechart don't update probably. After clcking on the Test-Button, the new value only appears when you click on the chart (?) and the y-axis doesnt extend automaticl...