Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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 display all months of a particular year according to the following rule
How to convert Timestamp Date Format into milliseconds?
Setting Initial Value In JFreeChart
Keeping Two HTML Componnets (Divs) in Synchronization with each Other (Image Attached )
Jfree Chart Problem