RadCartesianChart Series line color

2 posts, 0 answers
  1. Artur
    Artur avatar
    8 posts
    Member since:
    Apr 2011

    Posted 21 Oct 2015 Link to this post


     I am using RadCartesianChart  LineSeries and I can not set line color.

    my XAML

            <chart:RadCartesianChart x:Name="radChart"
                    <DataTemplate x:Key="PointTemplate1">
                        <Ellipse Height="10" Width="10" Fill="#FF1B9DDE" />
                    <chartView:CategoricalAxis FontSize="14"/>
                    <chartView:LinearAxis FontFamily="Segoe UI" FontSize="14" Title="Calories"   TickThickness="1" Minimum="0"    Maximum="{Binding LinearAxisMaxValue}"           />               
                    <chartView:CartesianChartGrid MajorLinesVisibility="XY" StripLinesVisibility="none"  />
                <ctChart:ChartSeriesTypeSwitch.SeriesType >
                    <Binding Path="SelectedChartType" />



    please help me

  2. Martin Ivanov
    Martin Ivanov avatar
    1402 posts

    Posted 23 Oct 2015 Link to this post

    Hello Artur,

    In order to change the line color of LineSeries you can set its Stroke property.
    <chartView:LinearAxis Stroke="Red" />

    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
Back to Top