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

You guys seriously need a DateTimeToDoubleConverter

2 Answers 45 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Schneider
Top achievements
Rank 1
Schneider asked on 06 Apr 2010, 02:56 AM
You have plenty of converters in your package... but no DateTimeToDoubleConverter??

Even though this is essential for your charts because it uses doubles for the date axis?

2 Answers, 1 is accepted

Sort by
0
Schneider
Top achievements
Rank 1
answered on 06 Apr 2010, 04:23 AM
Turns out that binding the axis min/max/step values dont work anyway (they should)... perhaps thats there is no converter...

Also I like the way that no data is displayed unless you specify a step... good way to make ur product hard to use.
0
Giuseppe
Telerik team
answered on 08 Apr 2010, 11:48 AM
Hello Schneider,

Onto your questions:
  • We have added your feature request for DateTimeToDoubleConverter in our public issue tracking system and we will forward it to our developers for further consideration.
  • You cannot bind the Axis.MinValue / MaxValue / Step properties as ChartArea.AxisX / ChartArea.AxisY properties do not expose the actual visual axis elements (i.e. these are "data" axes and are DependencyObjects and not FrameworkElements). In Silverlight 3 the binding target can be a DependencyProperty of a FrameworkElement only (not a generic DependencyObject) and this limitation cannot be worked around. We will consider improving this behavior for the Silverlight 4 version of the control as the new version of the Silverlight framework should loosen up this restriction.
  • Indeed you are right -- this behavior was not intuitive and is already fixed (default step value equals 1 now). You can download the weekly internal build from your Client.Net account and you will be able to use the updated version of the control.


Kind regards,
Freddie
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.
Tags
Chart
Asked by
Schneider
Top achievements
Rank 1
Answers by
Schneider
Top achievements
Rank 1
Giuseppe
Telerik team
Share this question
or