Graph « Development « Java Swing Q&A





1. Plot Graphs in Java    stackoverflow.com

The java Swing GUI im developing needs to plot a 2D graph based on the x and y coordinates generated in the program. Is there a Swing component for that? Or is there ...

2. Scatter Graph with multiple "scatter lines"    stackoverflow.com

Ok, I know about JFreeChart and others, but I'm coding my own simple scatter graph. I've already got a box chart down (without y-axis labels but that shouldn't be a huge ...

3. Analog and digital graph/    stackoverflow.com

I got three breakout boards form spark fun. and i wanted to test them out. something that i can visualize like a moving graph. do you have any suggested links or anything I can ...

4. graph to continuous show the readings    stackoverflow.com

I am reading data from serial port continually I want to show it in a graph that should shows continuous readings (Bar ,pie,Line any graph). any Idea will be appreciated.

5. Lightweight, constantly updating Java charts    stackoverflow.com

I want to have charts in my Swing application that show a wide variety of data--but the data for each chart will be constantly changing. A good analogy to how my data ...

6. Scaling graph with swing    stackoverflow.com

I would like to know how to properly scale a graph. I doing the axis right now, i have to represent time for the x axis that varies from 0 to 120. ...

7. Graph with fix origin    stackoverflow.com

I m drawing a graph with swing, and i would like to set a fixed origin, that is when i scaled the graph, only the horizontal and vertical label from the ...

8. Graph and zoom function    stackoverflow.com

I would like to add a zooming function in my graph. For exemple, if the maxY of my graph is 5000, and i zoom a distance of 200 meters around the center, ...

9. Graph GUI in any language(better C#, C++, Java)    stackoverflow.com

I want to use a graph UI which any action on its elements have a logical feedback. also each node can be any View or Component. It is something like





10. Using graphs generated my Munin in a Swing application    stackoverflow.com

I'm able to generate a usage statistics graph in my browser for a particular PC using Munin. The problem is that I want to use the graphs in a ...

11. graphs in java???    coderanch.com

12. Graph Plotting    coderanch.com

13. Swing Graph Utilities (Graph = Nodes and Edges)    coderanch.com

I am looking for a way to display graphs to the user. These graphs would have an arbitrary number of vertices and edges. Does anyone know of a good Swing compatible graphing utility? I would like one where the nodes and edges are JComponents. This would really help with extensibility/modifiability. Thanks. Micah Wedemeyer

15. pls help..generating graphs    coderanch.com

16. Classes to create Graphs    coderanch.com





17. Graphs support in Java.    coderanch.com

I am also looking for an answer o this..I would like to use the graph capabilities into servlets..but usig this free API means settings of server for this AGAIN..too much of work and costs involved(as I have to pay for getting my server settled like this).. Is their no API in built in JDK which can be used for same. regards ...

18. Implementing Charts and graphs with swing..??    coderanch.com

Hello friends..! in my automation project i want to use Charts and Graphs ....! i heard that there are some special classes for these in the net..! could you pls help in finding them so that i can add them to my project..! And also mine is an automation project which is embedded with real time machines(Embedded systems)..! i want to ...

19. Graphing with real time update    coderanch.com

I'm devloping an app which has to graph data from a serial unit in real time. The app controls the data source, it interrogates the device periodically and then should update the graph with each new data point. In order to keep the rate of data acquisition regular (down to 125ms per sample) obviously the painting needs to be as efficient ...

20. How can i make Dynamic graph in java ??    coderanch.com

21. Using Charts and Graphs    coderanch.com

22. Graphs in swing    coderanch.com

23. Line graph using Swing    coderanch.com

I am trying to generate a some line graphs. I'm getting some what desired out put with JFree chart. When I searched the web I came across JSci which I think as a better fit for my requirement. But they are not saying how to plot the line graphs for a set of fixed x-axis value( lines parallel to y- axis). ...

24. Graph App    coderanch.com

25. Package for graph-navigation    coderanch.com

hi. i'm searching for a package, which makes it easier to implement a gui application, to navigate in a graph structure and select objects. i have objects which have links to other objects, and so on and so on. and i want to develope an application, which can be used to explore the graph structure of the linked objects and pick ...

26. Can you help me plzzz with a graph?    coderanch.com

This is a modification to some older code and should run okay in j2se 1.4 If using j2se 1.5 try compiling to an earlier version with the source flag, eg, >javac -source 1.4 simplelinegraph.java import java.awt.*; import java.awt.font.*; import java.awt.geom.*; import java.util.*; import java.util.List; import javax.swing.*; public class SimpleLineGraph { public SimpleLineGraph() { float[] data = { 100f, 220f, 12.9f, 65f, ...

27. Charting & Graphing    coderanch.com

Hey Guys I am building a swing app that needs to draw charts. I am looking into 3rd part charting libraries to do the heavy lifting. The only one I have used before is JFreeChart which is excellent but I need a comparison. Does anyone recommend any others? (Price is not an issue) Thanks Kris [ October 25, 2005: Message edited ...

28. Graphs    coderanch.com

30. Zooming Graph    coderanch.com

Hi All, I have swings gui application which display graph depending on data.Graph component is built using JGraph.I need to add zoom feature to displayed graph component which i have implemented through scaling.But on zooming out,the position of graph is changed i.e it is moved to top left corner.But i need it to displayed in initial position only.is that possible..or any ...

31. Simple Graph    coderanch.com

import java.awt.*; import javax.swing.*; public class PlotTest extends JPanel { int[] data = { 25, 60, 42, 75 }; final int PAD = 20; protected void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2 = (Graphics2D)g; g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); int w = getWidth(); int h = getHeight(); g2.drawLine(PAD, PAD, PAD, h-PAD); g2.drawLine(PAD, h-PAD, w-PAD, h-PAD); double xScale = (w - 2*PAD)/(data.length + 1); double ...

32. Graphs.    coderanch.com

I have built a moving graph widget using Swing that you might find interesting. There are three files in this eclipse project and this is the first of the three: package lgfGraph; import javax.swing.*; import java.awt.Color; import java.awt.Dimension; import lgfGraph.GraphPanel; public class Graph { String version = "2007.06.15.0017"; GraphPanel panel; public Graph() { /**/ } // change the value to be ...

33. graph    coderanch.com

34. graph    coderanch.com

36. Reg:Graphs    coderanch.com

37. plotting graphs in java    coderanch.com

38. Graphs in Java Standalone Project    coderanch.com

39. why i'm not getting graph (output)?    coderanch.com

hi...everyone.... I created an applet which contains a manubar .In that menubar only one manuitem " load file..."(menu item) is there. Which is used to browse the a file which contains a number of values to draw the graph. By that values i want to draw a line graph . my aim is that when ever i browse a new file ...

40. why graph is not appearing?    coderanch.com

hi...everyone.... I created an applet which contains a manubar .In that menubar only one manuitem " load file..."(menu item) is there. Which is used to browse the a file which contains a number of values to draw the graph. By that values i want to draw a line graph . my aim is that when ever i browse a new file ...

41. Problems with graph plotting.    java-forums.org

Problems with graph plotting. Hi, first of all i am new in this forum so Hello everybody and thank you very much. I am new in Java. Ive been working with a java gui that plots a function, however i cannot make it plot the axis properly. I set the axis size to vary depending on the value of ...

42. plotting graph    java-forums.org

43. Scientific Graphing    java-forums.org

Scientific Graphing hello sir,, this is shruthi pursuing my final year BE in CSE. we are supposed to do an academic proj, so we have chosen Java as our platform.The project is SCIENTIFIC GRAPHING using JAVA. we have managed to get a graph, but got stuck in getting different formats of plotting say, it may be a (dot,'+', or ...

44. Java graph swing    java-forums.org

Hello.. I am designing a java swing application and i need to output some parameters in the form of a graph plot.. as in when i click the button it generates a graph.. i am good with designing the swing part, but how to make the graph? what should i use to plot the graph.. typically i will be having set ...

45. Functions Graph    java-forums.org

Hi there, I would like to design a plotter, where the user enters min x / max x and min y and max y accordingly, and then presses plot button to see the points on the graph. I have managed setting the labels, buttons, combobox; all these entries are settled using the gridbay layout on the left. Now on the right ...

46. real time graph plotting in swing    java-forums.org

We'll be happy to help you with problems you're having with your code, but please understand that this is not a "send me the codes" service. I'm locking this thread but invite you to start a new thread where you show your work and ask a specific question about it. Best of luck.

47. java graph plot taking file data    java-forums.org

hey i want to make a java interface which will read data from txt file and then will generate a graph using the data.my program is like this till date.i want your help.please help me.i am not able to do further. please please help me..!! import java.io.*; import java.util.*; import java.util.StringTokenizer; class file_test { String str = ""; FileInputStream fin; DataInputStream ...

48. Graphing GUI    java-forums.org

Hello, I am very new to Java and the GUI building tool in NetBeans. I was wondering what is the best and simplest ways to build a graphing tool GUI using netbeans. I just want to have a GUI that will read a file and plot the graph. Can anyone point me to some libraries that I can import and use ...

49. How do I make a sinus graph GUI    forums.oracle.com