Override LineSeries Template Example?

2 posts, 0 answers
  1. BENOIT CHEVALIER
    BENOIT CHEVALIER avatar
    22 posts
    Member since:
    Nov 2009

    Posted 15 Mar 2012 Link to this post

    Hello,

    Could you possibly provide an example for the RadChartView such as the one for the RadChart listed here: http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-chart-series.html ? I am interested in changing the style of the Line for the LineSeries chart but get a NULL Reference when using the example listed above.
  2. Sia
    Admin
    Sia avatar
    667 posts

    Posted 20 Mar 2012 Link to this post

    Hello Benoit,

    In RadChartView you have two possible options
    • To apply the custom stroke color directly to your line series:
    <telerik:LineSeries Stroke="Red"
                 StrokeThickness="2" 
                 ValueBinding="PurchasePrice">
    </telerik:LineSeries>

    • To set custom palette as shown in our demo:
    <telerik:RadCartesianChart x:Name="Chart" Palette="Arctic">
    ...
    </telerik:RadCartesianChart>

    I hope this helps.

    Greetings,
    Sia
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
Back to Top