Adds a candlestick layer to the XYChart, and specify the data sets to use for drawing the layer.
The candlestick symbol will be drawn using the colors specified in the
riseColor,
fallColor and
edgeColor argument. The
riseColor and
fallColor are used to fill the candle depending on whether the opening value or closing value is larger. The
edgeColor is used to as the color of the stick and the border of the candle.
CandleStickLayer.setColors and
CandleStickLayer.setExtraColors can be used to configure the candlestick colors in more detail.
A
CandleStickLayer object representing the candlestick layer created.
© 2023 Advanced Software Engineering Limited. All rights reserved.