File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Head First Android 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

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:
subject: How to achieve this Requirement
It's not a secret anymore!