Axes-X to LocalTime

6 posts, 0 answers
  1. Ilyasse Setti
    Ilyasse Setti avatar
    8 posts
    Member since:
    Mar 2010

    Posted 26 May 2010 Link to this post

    Hi ,
    We have an application where we received series values (time series) in UTC.
    We would like that the X Axe fo the RadChart  displays the date into LocalTime.

    How can we perform this ?
    Thank you.

  2. Velin
    Admin
    Velin avatar
    391 posts

    Posted 28 May 2010 Link to this post

    Hello Ilyasse Setti,

    RadChart supports DateTime values on the X axis as described in this help article.

    Hope this will help.

    Kind regards,
    Velin
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Ilyasse Setti
    Ilyasse Setti avatar
    8 posts
    Member since:
    Mar 2010

    Posted 31 May 2010 Link to this post

    IHi ,

    I Think you didn't undestand my question very well. I know as well that the X- Axe can manage date Time values.
    What I want to know, it's if it manages LOCALTIME VALUES....

    I Mean if i want that the data in my chart are converted to LocalTime from  a serie data in UTC... how can I process this ?

    Example: I am receiving from a DataBase a couple of data X, Y (DateTime, Double).. The datetime field is in UTC.
    Is it possible to say to the chart...
    " Attention !!, the X-Axe is in LocalTime not in UTC."
    I see that there is a property saying that the Axe-X is DateTime ; (DefaultView.ChartArea.AxisX.IsDateTime = true), this very good.
    But I wand to say that this DateTime is in LocalTime... In that way the data (YValue) are directly adapted to its XValue in LocalTime...


  4. Velin
    Admin
    Velin avatar
    391 posts

    Posted 03 Jun 2010 Link to this post

    Hello Ilyasse Setti,

    Unfortunately, this is not supported internally by the control. You need to manually convert your data to UTC time before the chart is data bound.

    Greetings,
    Velin
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Ilyasse Setti
    Ilyasse Setti avatar
    8 posts
    Member since:
    Mar 2010

    Posted 04 Jun 2010 Link to this post

    Thank you,

    But this is absolutly not a good a solution for us... 
    Our chart can manage untill thousand hundred of data, sent from a WCF, I can imagine to convert those datas before each time I want to display them in my chart...

    Can you imagine this ???

    Really you should foreseen a properties for this in your next release, because the Local Settings in a world wide web application is very important.
    And those control are in silverlight which is a WEB plug-in.


  6. Hristo
    Admin
    Hristo avatar
    408 posts

    Posted 10 Jun 2010 Link to this post

    Hi Ilyasse Setti,

    Thank you for your feedback! We'll definitely take into account this case on our next planning meeting. Due to the high number of planned development we cannot commit the availability of this feature to any specific date or release.

    All the best,
    Hristo
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top