RadCartesianChart throws exception

2 posts, 0 answers
  1. Auvo
    Auvo avatar
    34 posts
    Member since:
    Jul 2011

    Posted 15 May 2012 Link to this post

    Hi,

    I got following exception when I drop the the RadChartesianChart to the empty WPF project, move it and then resizing the chart size in design time?!

    System.InvalidOperationException

    Cannot set a property on object 'System.Windows.Media.TranslateTransform' because it is in a read-only state.

    at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value) at Telerik.Windows.Controls.ChartView.CartesianAxis.UpdateAxisLine(ChartLayoutContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Common\CartesianAxis.cs:line 78 at Telerik.Windows.Controls.ChartView.LineAxis.UpdateUICore(ChartLayoutContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Common\LineAxis.cs:line 64 at Telerik.Windows.Controls.ChartView.PresenterBase.UpdateUI(ChartLayoutContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Common\PresenterBase.cs:line 204 at Telerik.Windows.Controls.ChartView.RadChartBase.UpdateUICore(ChartLayoutContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\RadChartBase.cs:line 461 at Telerik.Windows.Controls.ChartView.PresenterBase.UpdateUI(ChartLayoutContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Common\PresenterBase.cs:line 204 at Telerik.Windows.Controls.ChartView.RadChartBase.CallUpdateUI() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\RadChartBase.cs:line 1001 at Telerik.Windows.Controls.ChartView.RadChartBase.ArrangeOverride(Size finalSize) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\RadChartBase.cs:line 708

    ....

    XAML:

     

     

     

    <Grid>

     

     

     

     

    <telerik:RadCartesianChart HorizontalAlignment="Left" Margin="12,12,0,0" Name="radCartesianChart1" VerticalAlignment="Top" Height="265" Width="453">

     

     

     

     

    <telerik:RadCartesianChart.HorizontalAxis>

     

     

     

     

    <telerik:CategoricalAxis />

     

     

     

     

    </telerik:RadCartesianChart.HorizontalAxis>

     

     

     

     

    <telerik:RadCartesianChart.VerticalAxis>

     

     

     

     

    <telerik:LinearAxis />

     

     

     

     

    </telerik:RadCartesianChart.VerticalAxis>

     

     

     

     

    <telerik:BarSeries>

     

     

     

     

    <telerik:BarSeries.DataPoints>

     

     

     

     

    <telerik:CategoricalDataPoint Label="10" Value="10" />

     

     

     

     

    <telerik:CategoricalDataPoint Label="20" Value="20" />

     

     

     

     

    <telerik:CategoricalDataPoint Label="30" Value="30" />

     

     

     

     

    </telerik:BarSeries.DataPoints>

     

     

     

     

    </telerik:BarSeries>

     

     

     

     

    </telerik:RadCartesianChart>

     

     

     

     

    </Grid>

     



    I'm using 2012.1.326.40 version of radControls

    What could be the reason?

    Regards,
    Auvo
  2. Nikolay
    Admin
    Nikolay avatar
    385 posts

    Posted 17 May 2012 Link to this post

    Hi Auvo,

    Thank you for reporting this issue, we have been able to reproduce it and it has been logged for our develoeprs to investigate and fix for future versions of the control.

    We have updated your Telerik points for the feedback.

    Kind regards,
    Nikolay
    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