Search found 15 matches
- Wed Feb 22, 2006 4:02 pm
- Forum: JFreeChart
- Topic: Error in applet on webpage but not as an executable .jar
- Replies: 2
- Views: 4171
- Wed Feb 22, 2006 2:10 pm
- Forum: JFreeChart
- Topic: sun.dc.pr.PRException: endPath: bad path
- Replies: 7
- Views: 9047
- Wed Feb 22, 2006 2:07 pm
- Forum: JFreeChart
- Topic: NoClassDefFoundError when ChartFactory.createXYLineChart
- Replies: 8
- Views: 11271
- Wed Feb 22, 2006 1:31 pm
- Forum: JFreeChart
- Topic: NoClassDefFoundError when ChartFactory.createXYLineChart
- Replies: 8
- Views: 11271
- Wed Feb 22, 2006 1:08 pm
- Forum: JFreeChart
- Topic: Error in applet on webpage but not as an executable .jar
- Replies: 2
- Views: 4171
Error in applet on webpage but not as an executable .jar
I migrated to jfreechart 1.0.1 and the applets now have trouble displaying in jsp pages. Exception in thread "AWT-EventQueue-3" java.lang.NoSuchMethodError: org.jfree.text.TextBlock.setLineAlignment(Lorg/jfree/ui/HorizontalAlignment;)V at org.jfree.chart.title.TextTitle.arrangeRR(TextTitle.java:491)...
- Tue Oct 18, 2005 12:41 pm
- Forum: JFreeChart
- Topic: Problems with Updating XYLineChart
- Replies: 9
- Views: 12332
For events see Chapter 26 in the guide. Another way to update a series is public void setDataset(int index, CategoryDataset dataset); Assigns a dataset to the plot. The new dataset replaces any existing dataset at the specified index. It is permitted to set a dataset to null (in that case, no data w...
- Mon Oct 17, 2005 8:48 pm
- Forum: JFreeChart
- Topic: Problems with Updating XYLineChart
- Replies: 9
- Views: 12332
- Mon Oct 17, 2005 8:11 pm
- Forum: JFreeChart
- Topic: Need a sample code for making simple pie chart
- Replies: 1
- Views: 2456
http://www.javaworld.com/javaworld/jw-1 ... ofile.html
The developer's guide has more interesting examples, but this will do the trick.
The developer's guide has more interesting examples, but this will do the trick.
- Mon Oct 17, 2005 8:05 pm
- Forum: JFreeChart
- Topic: Problems with Updating XYLineChart
- Replies: 9
- Views: 12332
- Mon Oct 17, 2005 4:03 pm
- Forum: JFreeChart
- Topic: Who know how to creat dynamic data chart ?
- Replies: 1
- Views: 2104
- Mon Oct 17, 2005 3:54 pm
- Forum: JFreeChart
- Topic: Problems with Updating XYLineChart
- Replies: 9
- Views: 12332
Found it! Here's my answer: jButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { dataset.getSeries(0).getDataItem(3).setY(400); chartPanel.firePropertyChange("a",true,true); chartPanel.repaint(); chartPanel.zoomOutRange(1.1,1.1);...
- Mon Oct 17, 2005 3:25 pm
- Forum: JFreeChart
- Topic: Problems with Updating XYLineChart
- Replies: 9
- Views: 12332
For the refreshing problem add the following:
in the button action listener.
Still working on the axis resizing problem.
Code: Select all
chartPanel.repaint();
Still working on the axis resizing problem.
- Mon Oct 17, 2005 2:59 pm
- Forum: JFreeChart
- Topic: Create JThermometer & MeterPlot charts
- Replies: 3
- Views: 5139
- Fri Oct 07, 2005 7:26 pm
- Forum: JFreeChart
- Topic: Create JThermometer & MeterPlot charts
- Replies: 3
- Views: 5139
- Fri Oct 07, 2005 2:35 pm
- Forum: JFreeChart
- Topic: Create JThermometer & MeterPlot charts
- Replies: 3
- Views: 5139
Create JThermometer & MeterPlot charts
I'm trying to figure out hoe to create those since no ChartFactory method are availabel for them. I thought JThermometer was a Plot but it didn't work. I tried the following: JFreeChart chart = new JFreeChart(new JThermometer()); but didn't work. I think I can work with the javadocs about settings a...