Candlestick - How to set width of the each item vertical line?

2 posts, 0 answers
  1. Dennis Perlot
    Dennis Perlot avatar
    19 posts
    Member since:
    Dec 2009

    Posted 10 Nov 2011 Link to this post


    Hi All,

    Please see the attached image to understand my goal.

    How to set the width of the central vertical line? I need to make it larger (if possible).

    Note: RadChart1.DefaultView.ChartArea.ItemWidthPercent is not what I need.

    Thanks
  2. Sia
    Admin
    Sia avatar
    756 posts

    Posted 16 Nov 2011 Link to this post

    Hello Dennis Perlot,

    Please excuse us for the late reply.

    You can set thicker lines to your candle sticks by having the following custom style with a setter for the LineThickness property:
    <Style x:Key="Custom" TargetType="telerikCharting:CandleStick">
        <Setter Property="LineThickness" Value="5" />
    </Style>

    Set this style as ItemStyle to your CandleStickSeriesDefinition:
    <telerikCharting:SeriesMapping.SeriesDefinition>
        <telerikCharting:CandleStickSeriesDefinition ItemStyle="{StaticResource Custom}"/>
    </telerikCharting:SeriesMapping.SeriesDefinition>

    I hope this helps.

    Regards,
    Sia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top