This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes How to achieve this Requirement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to achieve this Requirement" Watch "How to achieve this Requirement" New topic
Author

How to achieve this Requirement

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I sincerly apolize as of that meaningless Heading for this Thread.


Let me explain my requirement first .

Under MySQL Database i have this Data in the Tables


Date Value

09-MAR-11 04:52:43 20
09-MAR-11 04:52:50 10
09-MAR-11 04:52:55 30
09-MAR-11 04:53:00 30


As you can see , For every 5 Seconds Variation in Date , the value is also varied .


I am displaying a Chart with this Data (The Date values will go under X - axis and Values Data will be the Chart )

(Please see the screen shot attached )


A RangeSlider is also present (developed as A Seperate DiV) below the Chart div , On to the RangeSlider's onchnage method , the Chart div needs to be Zoomed of particular Values , All this functionality is suppourted under Dojo Charts .


My question is , How to synchronize the X -aixs (Date Format Data ) and Normal Values ?? , Means , if i get the values as 20 and 40 from X-axis , DOjo suppourts to show the values only between 20 and 40 , So how to convert this X-axis Date to comapre with Normal Int values ??

What will be the best approach to proceed ??

Really appreciate if someone gives any inputs on this


[Thumbnail for Post.jpeg]



Save India From Corruption - Anna Hazare.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to achieve this Requirement
 
Similar Threads
How to convert Timestamp Date Format into milliseconds?
Keeping Two HTML Componnets (Divs) in Synchronization with each Other (Image Attached )
Jfree Chart Problem
Setting Initial Value In JFreeChart
how to display all months of a particular year according to the following rule