Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to achieve this Requirement

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Post.jpeg
[Thumbnail for Post.jpeg]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic