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

Custom Candlestick Chart

1 Answer 132 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Laura
Top achievements
Rank 1
Laura asked on 04 Apr 2012, 05:57 PM
I have a bit of experience with Telerik Reports and using Charts. But I have only used one Chart. I was wondering if it is possible to do something like shown in the attachment? Any help provided would be greatly appreciated. Thanks.

1 Answer, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 09 Apr 2012, 09:02 AM
Hey.
You can't do that out of the box. But with some code you might get something close to that. 
How I see it:
1) The lines = Line Series
2) The dots = Point Series
3) The vertical Lines = CandleStick without the bars (set BarWidthPercent = 1 for e.g.) and set the OpenValue = CloseValue (YVale = Yvalue2) so the bar's Height = 0
4) The horizontal lines on the top and the bottom of the vertical lines (as part of the CandleStick) = (better skip them) you can get them with the CandlesStick's Bar - Instead of Setting YVale = YValue2, you can set YValue = YValue2 - 1 and also set the BarWidthPerecent to 25 or something like that.  This way, you will achieve a little horizontal line along with the vertical one. Do that twice (once for the bottom and once for the top line).
5) Legend = I don't believe you can have this custom image on the legend but you can still get the same colors as the series). 

This article shows how to build chart programmatically:
http://www.telerik.com/help/reporting/buildingprogrammaticcreate2.html 
Tags
General Discussions
Asked by
Laura
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Share this question
or