This is a migrated thread and some comments may be shown as answers.

Styling the axis

1 Answer 55 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 18 May 2012, 10:05 PM
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?

1 Answer, 1 is accepted

Sort by
0
Rosko
Telerik team
answered on 23 May 2012, 03:53 PM
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 >>

Tags
Chart
Asked by
Brian
Top achievements
Rank 1
Answers by
Rosko
Telerik team
Share this question
or