Thickness of OHLC Bars

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
stratadat
Newbie
Newbie
Posts: 13
Joined: Mon Feb 13, 2006 12:00 am

Thickness of OHLC Bars

Post by stratadat » Thu May 01, 2008 3:06 pm

Hello.

Is there any way to control the thickness of the OHLC bars in TeeCharts for .Net? They seem to always be one point wide. I would like to be able thicken the bars if fewer bars are displayed on a chart and thin the bars if the bars are more densely packed on the chart.

Thanks,

Richard.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon May 05, 2008 7:19 am

Hi Richard,

Yes, you can use this:

Code: Select all

			candle1.Pen.Width = 3;
			candle1.HighLowPen.Width = 3;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

stratadat
Newbie
Newbie
Posts: 13
Joined: Mon Feb 13, 2006 12:00 am

Post by stratadat » Tue May 06, 2008 12:07 pm

Thank you very much Narcis.

Does this apply to both OHLC bars and Candlesticks?

Regards,

Richard.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue May 06, 2008 1:04 pm

Hi Richard,

Yes, the first instruction is for setting the pen of the bar that defines the open and close values while the second is for setting the pen of the line that marks high and low vales.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

stratadat
Newbie
Newbie
Posts: 13
Joined: Mon Feb 13, 2006 12:00 am

Post by stratadat » Tue May 06, 2008 1:50 pm

Perfect. Thanks again,

Richard.

Post Reply