Styling the axis

2 posts, 0 answers
  1. Brian
    Brian avatar
    2 posts
    Member since:
    Jan 2012

    Posted 18 May 2012 Link to this post

    I have a chart with DateTimes along the x-axis. I'd like to have those dates respond to application wide time zone changes. I've been implementing this in other places with a multibinding and multivalue converter. I bind the date and the timezone in the multibinding and the converter adds and removes the timezone offset.

    Is it possible to do something simlar with the values in the x-axis labels?
  2. Rosko
    Admin
    Rosko avatar
    137 posts

    Posted 23 May 2012 Link to this post

    Hi Brian,

    It is not possible to use an IValueConverter in this scenario. But, we advice you to do the necessary adjustments before binding the data. Another way to do it is to add another property to the object. In the getter of the new property you can have the adjustments done.

    Greetings,
    Rosko
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top