Dear Friends, I have a immediate requirement. I have to draw a dynamic graph based on changing statistical data(Stock market appliaction).Have a look at finance.yahoo.com.There we can a find a dynamic graph.The x and y axis in the graph will change according to the data it recieves without using refresh option and all ... In a periodic interval of time ,say for every 10 minutes the application have to check whether it has any changes in the statistical data it recieves (the data maybe from database or form anyother application). If it finds any changes ,automatically it should reflect those changes in the graph. Please help me out friends . I have been struggling with this over a period of time but am not able to resolve. Please provide me with any sample application and code. Keeping my fingers crossed. Thanks in Advance.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Apr 28, 2006
I haven't start with any coding sir. I have been go throughing 'SVG'(Scalar Vector Graphics) ,and i haven't been brought to a conclusion whether we can draw dynamic graph using this . Actually my statistical data will be in a Excel Sheet. I have read those values from Excel sheet , and put it in some Java or Jsp file. continously i should develop a tabular format and a graph for the values. Any help please. Thanks in advance.
I have a immediate requirement to draw the running graph and data will be getting from the another application ( pressure/ temperature of the internal combustion of pipe lines). The graph will be continously changing based on the pressure/temperature values getting from the another application and it wil have the function to zoom on the selected portion of the graph.
****** I SHOULD NOT USE ANY OPEN API LIKE JFREECHART OR ANY OTHER API'S *********
please help me how to do this using Graphics2D,AWT and Swings
Have you considered using graphviz? They have on HTML drawing capabilities too - The graphs it draws are very nice...
--- cheerio atul
Joined: Sep 25, 2012
I am new to Graphic2D,AWT and Swings and this new development project. should start with fresh new code. dont know how to divide the packages and graphviz concept.
i have attached the model graph for the referance. The values for the above graph wil be received from another application and that will be continously changed so it looks like running graph.
can you please elabrote graphviz. wil it use any other open APIs
subject: Drawing Dynamic Graph Using Java/J2EE Technology