Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / September 2006

Tip: Looking for answers? Try searching our database.

How to Create..Dynamic 2D graph for multi waves... in JFrame.

Thread view: 
ganeshamutha@gmail.com - 08 Sep 2006 06:16 GMT
Hi everybody,

      I need a Dynamic 2D graph....  ie,  grid of x and y in the graph
should arrange according dumping y values...  label in y and x , multi
curve with different colors too..

     Please tell me a suggestion which graph library will solve my
problem very fine..  and where can i get those libraries as freely...

     regards,
      gnash.
Andrew Thompson - 08 Sep 2006 06:40 GMT
....
>        I need a Dynamic 2D graph....

What is the difference between a 2D graph and
a 'dynamic 2D graph'?  The only thing I can think
that would explain the 'dynamic' is if the data is
continually changing, and so is the graph.

(An 'oscilloscope trace' as might be seen in WinAmp or
other music players, is an example of plotting data that
continually changes.)

>..ie,  grid of x and y in the graph
> should arrange according dumping y values...

I do not understand what you mean by that, especially
in regards to 'dumping y values'.

>...label in y and x , multi
> curve with different colors too..
>
>       Please tell me a suggestion which graph library will solve my
> problem very fine..

JFreeChart is commonly recommended for drawing
charts and graphs.  <http://www.jfree.org/jfreechart/>
Since I do not entirely understand your requirement, I
cannot be sure if it 'fits the spec.'.

>..and where can i get those libraries as freely...

JFreeChart is free.  Though with the vast amount of free
software libraries/APIs available to Java programmers*,
they generally do not recommend or offer links to
'cracked' commercial software - if that is what you
were asking.

* Or perhaps because they are so ethical ..OK - maybe not.

Andrew T.
Ralf Seitner - 08 Sep 2006 09:25 GMT
ganeshamutha@gmail.com schrieb:
>  Hi everybody,
>
[quoted text clipped - 7 lines]
>       regards,
>        gnash.

Hi!
As Andrew said: JFreeChart.
Have a look at the Demo, you can start via Java Web Start. There
actually is a diagram in the demo which supports that. The only thing
there is to say, it is not a normal linechart, but a TimeSeriesChart, so
the x-axis is the time line...
So if you want the x-axis to be the timeline, it might be perfect for you.
If you have a (deeper) look at it, you might find a way to use these
dynamics with XYCharts/LineCharts, too.

bye, Ralf


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.