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

VS designer crashes when when using RadCartesianChart

1 Answer 45 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 2
Stephan asked on 09 Jun 2016, 10:11 PM

Hi Telerik Team,

I'm using the following code to use the chart control. However, when this code is in my XAML page then the Visual Studio designer process crashes. To be more precisely: As soon as I remove the <chart:BarSeries>...</chart:BarSeries> part the designer shows up. Before the designer crashes it kind of processes something for ~10 seconds.

            Minimum="{Binding SelectedYearMonth.First,Converter={StaticResource DateToDateTimeConverter}}"
            Maximum="{Binding SelectedYearMonth.Last,Converter={StaticResource DateToDateTimeConverter}}"></chart:DateTimeContinuousAxis>
        <chart:LinearAxis Visibility="Collapsed"></chart:LinearAxis>
        ItemsSource="{Binding WorkDayListViewModels}">
            <Style TargetType="Border">
                <Setter Property="Background" Value="{StaticResource TsColorBase}"/>
            <chart:PropertyNameDataPointBinding PropertyName="DurationInTotalMinutes"></chart:PropertyNameDataPointBinding>
            <chart:PropertyNameDataPointBinding PropertyName="DateTime"></chart:PropertyNameDataPointBinding>

Unfortunately, the error message of the designer isn't that much helpful (see attached screenshot.. I tried to debug the designer process. The only exception I get there is the following (no stacktrace):

An unhandled exception of type 'System.AccessViolationException' occurred in Microsoft.VisualStudio.DesignTools.UniversalXamlDesigner.DLL
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

I have the latest public version of Telerik UWP controlls installed (2016_2_0608_3_Dev). My Visual Studio version is Community 2015 w/ Update 2. I could send you the whole project but only via an E-Mail or some other private transport mechanism.


Kind Regards,


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 13 Jun 2016, 01:28 PM
Hi Stephan,

I have attached a small example, based on your code, which works as expected and shows the chart in VS design surface. Can you please place it in a UWP project and let us know if it works fine for you too. If it works, you might be able to spot a difference, which could possibly lead to the problem you see.
In addition, you can send us an app, which reproduces the problem in a support ticket. The correspondence in it is private and your project will not be available for the users in the forum.

Best regards,
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 Feedback Portal and vote to affect the priority of the items
Asked by
Top achievements
Rank 2
Answers by
Telerik team
Share this question