Per this link, I am trying to create a finance candlestick chart in ChartDirector using the following code in C#/.NET 4.0:
FinanceChart c = new FinanceChart(760);
...
CandleStickLayer cLayer = c.addCandleStick(0x00FF00, 0xFF0000);
cLayer.getDataSet(0).setDataColor(0x00FF00, 0x00FF00);
cLayer.getDataSet(1).setDataColor(0xFF0000, 0xFF0000);
But the result I get is similar to the question on the support forum, since my green candles (for up) have red borders, and my red candlesticks (for down) have green shadows. As per the link in the original question, I am also trying to draw a chart similar to this one, which contains red candles with red edge colors and red shadows, and green candles that are similarly all green.
The documentation for CandleStickLayer is here and the documentation for setDataColor is here.
I don't know what's going wrong - please help!