Issue with SeriesProvider and implicit style

3 posts, 1 answers
  1. Fabien
    Fabien avatar
    2 posts
    Member since:
    Oct 2012

    Posted 27 Aug 2014 Link to this post


    I try to display a chart with SeriesProvider using implicit style.

    I work on the SDK sample project for series provider, I change the dll references to used the no-xaml ones and I add the implicit style on my themes folders.

    When I try to provide some series, the text "no data to plot" is displayed, so the series are discovered but not the data...

    I upload my project here :

  2. Answer
    Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 28 Aug 2014 Link to this post

    Hi Fabien,

    You need to add the BasedOn attribute:
    <Style TargetType="telerik:BarSeries" BasedOn="{StaticResource BarSeriesStyle}">

    This is because otherwise, due to how xamless binaries work, you are declaring a completely new Style where you have not defined a Template. Let us know how it goes.

    Petar Marchev
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. Fabien
    Fabien avatar
    2 posts
    Member since:
    Oct 2012

    Posted 28 Aug 2014 in reply to Petar Marchev Link to this post

    Great, thank you for the help.

    It sounds so logical ...
Back to Top