ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  how to set candle-stick box width, box border width and candle line color
Posted by Dilip Agarwal on Aug-20-2013 21:32
Hi Peter, could you please tell me how can I set color of candle line in candle Stick chart,
also how to set border width of box and width of box in candle stick

  Re: how to set candle-stick box width, box border width and candle line color
Posted by Peter Kwan on Aug-20-2013 22:31
Hi Dilip,

The color of the various parts of the candlestick is mapped to the data set colors of the
CandleStickLayer. See:

http://www.advsofteng.com/doc/cdcom.htm#XYChart.addCandleStickLayer.htm

For example:

Set layer = c.addCandleStickLayer(...........)
Call layer.getDataSet(0).setDataColor(upFillColor, borderColor)
Call layer.getDataSet(1).setDataColor(downFillColor, stickColor)

Hope this can help.

Regards
Peter Kwan