JFreeChart « Interoperability « Java Swing Q&A





1. Is there a simple way to remove a TimeSeries from a displayed JFreeChart Chart?    stackoverflow.com

I have a Swing application which uses JFreeChart to display one of a series of queries. Some of these queries have a composite TimeSeries key. Each component of this key can ...

2. How to avoid negative values with JFreeChart fixed auto range    stackoverflow.com

I have a JFreeChart line plot that is updated dynamically with one data point for every iteration of my algorithm. Because the number of data points can quickly become very ...

3. JFreeChart for dynamic xy plots in java swing gui application    stackoverflow.com

Has anyone worked with JFreeChart-open source library for plotting xy plots? Could someone post an example of how to create an xy plot dynamically with the x and y values generated from ...

4. How to display a JFreeChart in a NetBeans project    stackoverflow.com

This is similar to a question I asked yesterday but more specific to the problem. What is the correct method to add a JFreeChart to a NetBeans project which already contains various ...

5. Essential Swing libraries? JGoodies, JFreeChart    stackoverflow.com

The wheel is invented over and over again - at least it seems so when looking at any average Swing GUI project. In many areas there are one or two very well ...

6. Increase Size of Dot in Graph    stackoverflow.com

I am creating a scatter plot graph using JFreeChart. Sometimes I only have a few points, and the dots are so small. They are almost invisible? Does anyone know how to ...

7. jfreechart: how do you line up two plots?    stackoverflow.com

I have two plots. I need them to line up because the two plots have data that needs to be compared. So when you line them up the comparison is easy. Here ...

8. Creating TimeChart from MySql    stackoverflow.com

Here´s what i want to do: I have in my DB a certain entity, let´s call it "people" and another one, let´s call it "room". The amount of people in the ...

9. How can I update a JFreeChart's appearance after it's been made visible?    stackoverflow.com

How can I use JFreeChart to dynamically update a chart's appearance after it's been made visible?





10. How can I have a jfreechart ChartPanel automatically enlarge itself?    stackoverflow.com

I have a Swing JFrame with a ChartPanel as its only component. When I resize the frame, the chart panel gets stretched out as if it were an image. For example, ...

11. jfreechart- wrong chart font    stackoverflow.com

I have problem with XYLineChart. I don't know how to set chart font to look like in Swing components. When I made this:

chart.setTitle(new TextTitle("Tahoma title, style plain, size 11",
  ...

12. java Swing Application Freezes when call to jpcapCaptor.openDevice method    stackoverflow.com

I am developing some bandwidth utilization monitor tool using jpcap. what am i doing:-
1. i created a radio buttons panel containing the list of all the network interfaces that is present on ...

13. Displaying huge dataset in JFreeChart    stackoverflow.com

I have an two-dimension array with the over of 100k records. When I'm trying to chart it - CPU is hard loading, and nothing else is going on. I've checked all ...

14. JFreeChart chart rendering issue    stackoverflow.com

This question is continue of my previous one, related to non-displaying of data. After the given recommendations, I tried to plot a smaller data range. As it has been observed, ...

15. Jagged JFreeChart line when plotting y=x and showing with Swing    stackoverflow.com

Is there a way to get better quality lines from JFreeChart when it's being used interactively? For example, if I plot y=x with 50 data points [i.e. (0, 0), (1, 1), ...

16. Dynamic graph generation from .csv file using JFreeChart    stackoverflow.com

I'm using JFreeChart to generate line graphs from a simple array of integers. However, I'd like to use a csv file for the input of the graph. Are there any applications which ...





17. How to display JFreeChart in Java Swing GUI?    stackoverflow.com

I want to create a graph using JFreeChart and display it in a java swing GUI. At the moment I have the following code to display it in a separate frame, ...

18. How to resize this chart in jfreechart, netbeans?    stackoverflow.com

I can't seem to manipulate the chart itself. I can't change the size and chartPanel = createChartPanel(); keeps rewriting into chartPanel = javax.swing.panel(); I tried to create a method modificarGrafico, but ...

19. Java generate schematic/chart, edit at runtime and priting option    stackoverflow.com

I am working on a programm that should generate dynamically tournament brackets out of a database like this: enter image description here Therefore I am searching for a good ...

21. How to use jfreechart    coderanch.com

Have a look at the posts in our "Other Open Source Reports" forum - that's where JFreeChart and similar projects are discussed. Within the last month or so, two short example programs were posted there, which should give you a starting point. Feel free to post any follow-up questions in that forum.

22. jfreeChart    coderanch.com

hey, i am trying to use jfreechart, but i am having problems with importing packages from the file i downloaded. I am using JBuilder 2005, and i am getting the following error. cannot find symbol; symbol : class ChartFactory, location: package org.jfree.chart at line 3 (3:24) import requires canonical name for at line 3 (3:24) Your help would be greatly ...

23. Customizing Y Axis in JFreechart    coderanch.com

Hi all i am constructing an xy plot with integer values in both the x axis and y axis.Y axis range has been set from 0 to 11 with interval of 1.I would like to append the String values as well to the Y axis for ex A 0,B 1,C 2.....K 11[or A,B,C,D ....K] etc .At present only the integer values ...

24. Anyone familiar with JFreeChart?    coderanch.com

I seem to be having trouble getting my charts to update when I want them to do so. I know that when you add a dataseries to a chart it registers with that chart so that whenever the data is updated, the chart gets updated. But I have a weird problem with that. I've created my chart and my dataseries, and ...

25. problem with jfreechart xylinechart    coderanch.com

i am using jfreechart to display a graph between x and y axis. but in this (x,y) graph x axis is coming horizontally-bottom, and i want x axis to be displayed at horizontally-top side. but i am not finding any way to do this, can anybody suggest me what might be the solution for this problem. means normally if you plot ...

26. Setting Initial Value In JFreeChart    coderanch.com

27. Autoupdating Pie Chart with jFreeChart    coderanch.com

So I just discovered jFreeChart and ive been playing around with it. I am creating a PieChart that pulls information from a web service to get its data. I would like to update this chart every minute by calling the web service again and changing the dataset values. I know that once the dataset values are changed the action listener on ...

29. JFreeChart alternatives ?    coderanch.com

Hi Guys : I've noticed that JFreeChart is not "really" open source, i.e., the documentation is deliberately vague ; and there is a "paid" documentation package you can buy. I wanted a simple, easy to use charting library for java, that (preferrably) was small enough to embed (with source), or had a maven repository.... Any suggestions ? Im finding at this ...

30. How to Customize Jfreechart value axis?    java-forums.org

31. Jfreechart help    java-forums.org

32. The problem with the axis JFreeChart    java-forums.org

Hello everyone..I have a problem with axis in JfreeChart. First axis-it is a PRICE..And second -IT is a time.Then i set in time axis values from 1,2,3...5....50... everything is ok..But then i set in dataset a time value such as 1030000 , 103001,103002....103115.... and so on the chart did not image correct line..You can see those charts using link below and ...

33. ReScaling of Log axis using JFreeChart    java-forums.org

Hi I'm using JFreeChart for creating logarithmic charts in my program.But when I'm zooming in some portion of the chart ,the tick mark level(numbers on Y axis) on Y Axis(which is of type LogarithmicAxis )disappears. For example when I'm zooming the portion between 10^2 and 10^3 ,I'm expecting this middle portion(On Y Axis) to be further subdivided logarithmically with new set ...

34. JFreeChart -- TimeSeries and CandleSticks    java-forums.org

In connection with time series I have one more question. Im writing an application that uses the JFreeChart libraries and I would like to have on one screen 9 real time graphs that should be updated every 15 or 20 ms. Am I able to do this with JFreeChart? Will it work ?(In this case Im interested in the performance of ...

35. swing and jfreechart    jfree.org

36. GUI for JFreeChart    jfree.org

Before I went about writing a GUI object for generating multi-series charts (such as several XYSeries together) I thought I would first check to see what's been done already. My general idea was a JSlidePane whose left side was a JScrollPane containing property editors for each series, plus a global property editor for the chart as a whole (including defining what ...

38. Trouble running GUI program that imports JFreeChart    jfree.org

I have a GUI aqpplication that uses swing, the below code is a method in a class that is called by the GUI, the trouble being if I run the program it build correctly but the GUI doesnt pop up, but if i omment out from JFreeChart newchart = etc... line it builds and the GUI pops up...soon as I introduce ...

39. Creating Chart without swings    jfree.org

Hi, I am using JFreeChart for making chart in my web application. After creating chart i want to display this chart through jsp page on browser.So how can i make this chart without Using Swing in jFreeChart and then how i display this through jsp page on browser in response of a request. Thanks in advance john berry

40. JFreeChart with Netbeans gui builder    jfree.org

I read some earlier threads about trying to create Javabeans for the JFreeChart components, so that they could be added to the GUI builder Palette of Netbeans. This would help alot, now I have to integrate manually coded sections with the automatic code of Netbeans GUI builder. any news about this? Has anyone been able to do this?

42. JFreeChart, Swing, and GUI Builders    jfree.org

JFreeChart, Swing, and GUI Builders by rbair Mon Nov 06, 2006 11:27 pm Hey folks, I'm from the SwingLabs/Swing team at Sun. Not having some standard charting components available for developers out-of-the-box has always been a sore spot for me. I'd like to explore what would be necessary to: 1) Create visual JavaBeans for JFreeChart, such that I could use ...

43. Error found when using jfreechart to develop a Swing screen    jfree.org

I am working on a Java Swing project. For one of the screens, I need jfreechart to draw a chart. But when I dragged and dropped "BarRenderer" to a frame, there is an error occurred. The following is the message: [ Cannot load component class org.jfree.chart.block.BlockBorder from Jar file: "c:\...." (location of jfreechart-1.0.0.jar) The class must be compiled and must be ...

44. AWT and Swing dependency in JFreeChart    jfree.org

We are working on an Eclipse RCP based project. One of the project's constraints is independence of Swing and AWT. Does this eliminate any chance of using JFreeChart? What if the requirements were relaxed to allow the AWT? If the answer to this is still NO, what alternative would you recommend? We are aware of BIRT. Anything else (better)? Any leads ...

45. Java Swing and JFreeChart    jfree.org

Hi, I new to JFreeChart and have been trying to use it to draw some real time graphs for my application. However, I have run into some performance issues: I have a Java swing Frame that has some comboboxes and buttons on it. After I have changed the selections in the comboboxes, I press "Show" button on my InternalFrame to pop ...

46. Where to Set Look&Feel in JFreeChart?    jfree.org

I am developing RCP application with JFreeChart with SWT-AWT bridge. The chart pop up menu has Java Look&Feel but my applicaiton running in XP has the XP Look&Feel. It is quite inconsistant. Is it possible to set JFreeChart to take native Look&Feel? I know it is possible to do it for pure java application. But where is the place to set ...

47. a Java GUI including a Jfreechart?    jfree.org

Hi there I havent used jfreecharts a lot. Actually it is my second time. What i am really interested in is to construct a Java GUI which will include some Jfreecharts. I would be obliged to anyone that could explain me how to attach a jfreechart to a GUI. Many thanks for your time

48. Inserting a JFree chart in a swing component    jfree.org

Hi, first post. I'm just a beginner to JFree; sorry if I make mistakes. My question is whether I can include a chart created with JFree in a swing component, such as a JPanel. I've seen that this is possible if the chart is converted into an image but I guess that in that case the user would lose the ability ...

49. problem in displaying chart in swing application.    jfree.org

problem in displaying chart in swing application. by anamika1977 Fri May 09, 2008 5:40 pm Hi, I am writing a swing application to show the charts based on some user selection. But when I try to draw chart and display on button click it is not showing can someone help. public class DataAnalysisTool extends ApplicationFrame { private static final long ...

50. Size of the chart in a Swing application    jfree.org

I've a pie chart 3d and i want set the size of the chart; exist a method to do this? I've created a ChartPanel: ChartPanel prova = new ChartPanel(chart); //prova.setPreferredSize(new Dimension(200,150)); <-- don't work! //prova.setSize(new Dimension(200,150)); <-- don't work! and then i've add this on the frame: this.add(prova, gbc); Thanks and sorry for my english!

51. Look and Feel of the Chart    jfree.org

52. ChartPanel - method doSaveAs - change look and feel- 1.0.12    jfree.org

2216 * Opens a file chooser and gives the user an opportunity to save the chart 2217 * in PNG format. 2218 * 2219 * @throws IOException if there ...

53. Dynamic charts & unresponsive GUI    jfree.org

Dynamic charts & unresponsive GUI by bobtown Tue Jul 14, 2009 2:24 am I am currently working on a program that is continually doing work in the background and updates the GUI after a fixed number of iterations. The program is a simple variation of the SwingWorker example: class PrimeNumbersTask extends SwingWorker, Integer> { PrimeNumbersTask(JTextArea textArea, int numbersToFind) { //initialize ...

54. ask for plotting (GUI) solution    jfree.org

Hi, Folks: Currently I am running my simulation program, which generates log data during the execution. In order to give a better presentation, I am looking for a plotting API solution (a GUI solution as well), in order to read the logged data during the simulation execution, and plot the diagram dynamically (e.g., re-plot each 20 seconds). The JFreeChart seems to ...

55. JFreeChart barchart is not properly coming on swing    jfree.org

JFreeChart barchart is not properly coming on swing by kanth218 Thu Jan 07, 2010 11:37 am Hi All, I am trying to display a dynamic barchart ,if I display it on a separate swing frame, bar chart is coming properly. But my requirement is to display it on existing swing frame .it has different tabbed panes.If I click on one ...

57. SWT vs swing component    jfree.org

Hi! I am working on eclipse RCP application which includes charting of some large datasets. Because I was satisfied with jfreechart performance in the past, I am planning to use SWT version of chart component. Are there some differences between regular (swing) and SWT version? To be more specific: are there some limitations using SWT version (like not working sampling renderer, ...