HOW TO: plot XY line with marker

Thread is closed for posting
3 posts, 0 answers
  1. e.urj
    e.urj avatar
    4 posts
    Member since:
    Feb 2008

    Posted 06 Dec 2011 Link to this post

    Would it be possible to plot XY line with marker as follows?

    Where each series has an individual set of x and y values.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 07 Dec 2011 Link to this post

    Hello,

    Take a look into the following forum thread which discussed the same.
    Getting markers on a line graph

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. e.urj
    e.urj avatar
    4 posts
    Member since:
    Feb 2008

    Posted 13 Dec 2011 Link to this post

    Hello, Princy.

    Thanks to your notes, I found that the FillStyle-MainColor needs to be specified in PointMark as follows:
    <telerik:ChartSeries Name="Series 1" Type="Line">
    <Appearance>
    <FillStyle FillType="ComplexGradient" MainColor="136, 221, 246">
    <FillSettings>
    <ComplexGradient>
    <telerik:GradientElement Color="136, 221, 246" />
    <telerik:GradientElement Color="97, 203, 234" Position="0.5" />
    <telerik:GradientElement Color="59, 161, 197" Position="1" />
    </ComplexGradient>
    </FillSettings>
    </FillStyle>
    <PointMark Visible="True" Figure="Rectangle">
    <FillStyle MainColor="51, 51, 255" FillType="Solid"></FillStyle>
    </PointMark>
    <TextAppearance TextProperties-Color="51, 51, 51">
    </TextAppearance>
    <Border Color="67, 181, 229" />
    </Appearance>
    <Items>
    <telerik:ChartSeriesItem Name="Item 1" XValue="1" YValue="1">
    </telerik:ChartSeriesItem>
    </Items>
    </telerik:ChartSeries>

    Regards,

    e.urj
Back to Top