Results 1 to 6 of 6
- 09-30-2010, 06:36 PM #1
Member
- Join Date
- Sep 2010
- Posts
- 3
- Rep Power
- 0
Drawing 2D multi axis graph with option to get the coordinates of 2 points (user sel)
Hi,
Can anyone help me in developing a jsp to display a multi axis graph with the following requirements.?? I am new to java.
I have taken all the inputs from previous page and on click of continue button, 3 ArrayLists data are populated in my Value Object. they are
1. pressureList
2. timeList
3. pressureDerrivativeList
I have done till this part. Now next page should show a multi axis graph
I need to create a jsp which will show a 2 dimensional multi axes graph. ie a horizontal axis 'X' and 2 vertical axes at its both ends (Y and Y`). so this would be
timeList (X) v/s pressureList (Y) and
timeList (X) v/s pressureDerrivativeList (Y`)
Now user selects 2 random points in the plot "X v/s Y" where he feels that its a straight line and on click of submit button, at the controller, I sould get the coordinates of these 2 points to calculate the slope between those 2 user selected points.
If you can help me in developing this jsp, it would be of great great help.
A picture of the graph is attached to this thread.
Thanks in Advance...Last edited by saachin2005; 10-01-2010 at 07:40 AM.
-
This is site is not a provide-me-the-code type service. We'll be more than happy to help you with problems with your code, but if all you want is the code and nothing more, then your best bet is to go to rent a coder . com. Otherwise, do your best to create your program, and then feel free to come on back with your code and any specific questions if you get stuck.
Luck.
- 10-01-2010, 07:23 AM #3
Member
- Join Date
- Sep 2010
- Posts
- 3
- Rep Power
- 0
Oh sorry for that..!! But I have seen few threads asking for that :) ..Im actually a petroleum engr..Right now working on a project to develop a tool for well testing..
I know the basics of java...But not completely about jsp...I have done almost everything except this page..!!
And I seriously need some guidance.
Can anyone tell me how to start with this ??
Like what API to be used etc etc..
If I can get a start, Im pretty sure that I can do it.
Pls Pls.!!!
Thanks in Advance.
- 10-01-2010, 02:26 PM #4
Why do you want/need to use jsp?
An applet would give you more power in the browser.
- 10-01-2010, 09:18 PM #5
Member
- Join Date
- Sep 2010
- Posts
- 3
- Rep Power
- 0
Not necessarily... Anything would do... But once the plot is displayed, user will select 2 random points from the graph and on click of continue button, the coordinates of these 2 points should be available at the back end to calculate the slope..
Is it possible through applet ??
- 10-01-2010, 09:26 PM #6
The applet can recognize mouse clicks on the graph, get their coordinates and send them to a server.
Since jsp does not execute in a browser, I can't understand how you would use jsp.
I thought that jsp was a server side package that generates HTML pages. For interaction with a user in a browser you would use javascript.
Similar Threads
-
need some urgent help for drawing random points inside a rectangle
By pranav21_1983 in forum Java AppletsReplies: 2Last Post: 04-10-2010, 06:35 PM -
Drawing Graph and Add to JPanel
By halo3 in forum NetBeansReplies: 17Last Post: 09-22-2009, 01:31 PM -
drawing points with mouse
By josephdcoleman in forum New To JavaReplies: 4Last Post: 03-03-2009, 12:39 AM -
Drawing points on a JPanel
By josephdcoleman in forum New To JavaReplies: 6Last Post: 02-25-2009, 03:47 PM -
Demonstration of drawing points. It draws a sine wave
By Java Tip in forum SWTReplies: 0Last Post: 06-28-2008, 09:25 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks