This question is locked. New answers and comments are not allowed.
Hi,
I create a simple chart in xaml.
then configure Axis
Version 2010.3.1119.1040, all ok.
Version 2010.3.1326.1040, an exception is thrown on the line
Callstack:
What's wrong? To all appearances, double is NaN...
SL 4, IE 8, Telerik 2010.3.1326.1040
I create a simple chart in xaml.
<Controls:RadChart x:Name="chartControl" > <Controls:RadChart.SamplingSettings> <telerik:SamplingSettings SamplingThreshold="999" /> </Controls:RadChart.SamplingSettings>
</Controls:RadChart>then configure Axis
chartControl.DefaultView.ChartArea.AxisX.AutoRange = true;chartControl.DefaultView.ChartArea.AxisX.Title = title;chartControl.DefaultView.ChartArea.AxisX.IsZeroBased = true;Version 2010.3.1119.1040, all ok.
Version 2010.3.1326.1040, an exception is thrown on the line
chartControl.DefaultView.ChartArea.AxisX.IsZeroBased = true;Callstack:
? System.Convert.ToInt64(Double value) ? Telerik.Windows.Controls.Charting.AxisX.InitializeAxisValuesForAutoRange() ? Telerik.Windows.Controls.Charting.Axis.IsZeroBasedPropertyChanged(DependencyObject target, DependencyPropertyChangedEventArgs args) ? Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e) ? System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue) ? System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation) ? System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet) ? System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)<br> ? Telerik.Windows.Controls.Charting.Axis.set_IsZeroBased(Boolean value)What's wrong? To all appearances, double is NaN...
SL 4, IE 8, Telerik 2010.3.1326.1040