Page 1 of 1

Thickness of OHLC Bars

Posted: Thu May 01, 2008 3:06 pm
by 9640311
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.

Posted: Mon May 05, 2008 7:19 am
by narcis
Hi Richard,

Yes, you can use this:

Code: Select all

			candle1.Pen.Width = 3;
			candle1.HighLowPen.Width = 3;

Posted: Tue May 06, 2008 12:07 pm
by 9640311
Thank you very much Narcis.

Does this apply to both OHLC bars and Candlesticks?

Regards,

Richard.

Posted: Tue May 06, 2008 1:04 pm
by narcis
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.

Posted: Tue May 06, 2008 1:50 pm
by 9640311
Perfect. Thanks again,

Richard.