This is a migrated thread and some comments may be shown as answers.

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

1 Answer 41 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Dennis Perlot
Top achievements
Rank 1
Dennis Perlot asked on 10 Nov 2011, 08:39 PM

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

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 16 Nov 2011, 10:44 AM
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 >>

Tags
Chart
Asked by
Dennis Perlot
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or