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

Any way to modify the stroke thickness of Lower Band for a Bollinger Band indicator in ChartView?

1 Answer 49 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Dev asked on 19 Nov 2012, 02:58 AM
Hi,

I found that there is a property for Bollinger Band thickness (StrokeThickness):

BollingerBandsIndicator indicator = new BollingerBandsIndicator();
indicator.Period = 20;
indicator.StandardDeviations = 2;
 
indicator.Stroke = Brushes.Red;
indicator.LowerBandStroke = Brushes.Red;
indicator.StrokeThickness = 1;

However, when the indicator displays, only the upper band thickness will be effective for changing the StrokeThickness. I cannot find how to change the thickness of the lower band.
Any help?

Many thanks!
Frankie

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 20 Nov 2012, 09:47 AM
Hi Frankie,

This seems to be a bug in the control. I have logged it as such in our PITS where you can vote for it and track its status. I have updated you Telerik points as a sign of gratitude for bringing this issue to our attention.

For now I can suggest a simple work around - find the visual elements that represent the Bollinger indicator and manually set the proper StrokeThickness. I have attached a simple project demonstrating this work-around.

Regards,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ChartView
Asked by
Dev
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or