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.

  2. Sia
    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" />

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

    I hope this helps.

    the Telerik team

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

Back to Top