RadChart BoxPlot Demo - Can't create declaratively

2 posts, 0 answers
  1. Josh
    Josh avatar
    1 posts
    Member since:
    May 2013

    Posted 01 May 2013 Link to this post

    I am trying to translate the box plot demo into an implementation done using the XAML instead of the codebehind. I want to be able to reuse the chart and bind the series to different data, but in the XAML I cannot set the SeriesDefinition to a custom class. The code below:

    <telerik:RadChart ItemsSource="{Binding BpsSensitivityPer1StdDevMoveChartData}" >
                    <telerik:ChartArea EnableAnimations="False">                                                                           

    gives me the following error:

    Property 'SeriesDefinition' does not support values of type 'CustomCandleStickSeriesDefinition' 

    even though the class is a direct copy from the sample code. Am I missing a step somewhere? Any guidance would be appreciated, I am out of ideas.
  2. Missing user
    Missing user avatar

    Posted 06 May 2013 Link to this post

    Hi Josh,

    I couldn't reproduce the problem you reported with the sample code and the only thing I can see that's omitted are the ItemMappings. In any case, I've prepared the box plot demo in XAML. Please find it attached to this post along with a screenshot of the Silverlight application running.

    Ivan N.
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top