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

Issue with SeriesProvider and implicit style

2 Answers 46 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Michaël
Top achievements
Rank 1
Michaël asked on 27 Aug 2014, 02:56 PM
Hi,

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 : https://www.sendspace.com/file/qdkvzk


Thanks,
Fabien

2 Answers, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 28 Aug 2014, 05:31 AM
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.

Regards,
Petar Marchev
Telerik
 
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.
 
0
Michaël
Top achievements
Rank 1
answered on 28 Aug 2014, 07:18 AM
Great, thank you for the help.

It sounds so logical ...
Tags
ChartView
Asked by
Michaël
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Michaël
Top achievements
Rank 1
Share this question
or