Adds a multi-color high-low-open-close (HLOC) layer to the XYChart, and specify the data sets to use for drawing the layer.
ChartDirector supports drawing the HLOC symbol using different colors depending on whether the data represents an "up" day or "down" day. ChartDirector supports different definitions of what is an "up" day and "down" day, denoted using the following constants.
Constant | Value | Description |
---|
HLOCDefault | 0 | Do not distinguish between "up" and "down" days and use the same color for all HLOC symbols.
|
HLOCOpenClose | 1 | An up day is a day of which the closing value is on or above the opening value. This is the same definition commonly used in candlestick charts.
|
HLOCUpDown | 2 | An up day is a day of which the closing value is on or above the closing value of the previous day.
|
A
HLOCLayer object representing the HLOC layer created.
© 2012 Advanced Software Engineering Limited. All rights reserved.