Axis.IsZeroBased bug

2 posts, 0 answers
  1. Aleksey Zdanovich
    Aleksey Zdanovich avatar
    2 posts
    Member since:
    Mar 2010

    Posted 01 Feb 2011 Link to this post


    I create a simple chart in xaml.

    <Controls:RadChart x:Name="chartControl"  >
                            <telerik:SamplingSettings SamplingThreshold="999" />

    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;


       ? 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
  2. Nikolay
    Nikolay avatar
    397 posts

    Posted 03 Feb 2011 Link to this post

    Hi Aleksey Zdanovich,

    Our developers are already on the task and fix for this issue will be available with one of the upcoming LIB releases.

    Best wishes,
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top