ChartDirector 7.1 (.NET Edition)
FinanceChart.addThreshold
Usage
[C#] | public void addThreshold(XYChart c, LineLayer layer, double topRange, int topColor, double bottomRange, int bottomColor); |
[VB] | Public Sub addThreshold(c As XYChart, layer As LineLayer, topRange As Double, topColor As Integer, bottomRange As Double, bottomColor As Integer) |
Description
Adds an upper/lower threshold range to an existing indicator chart.
Arguments
Argument | Default | Description |
c | (Mandatory) | The indicator chart to add the threshold range to. |
layer | (Mandatory) | The line layer that the threshold range applies to. |
topRange | (Mandatory) | The upper threshold. |
topColor | (Mandatory) | The color to fill the region of the line that is above the upper threshold. |
bottomRange | (Mandatory) | The lower threshold. |
bottomColor | (Mandatory) | The color to fill the region of the line that is below the lower threshold. |
Return Value
None
© 2023 Advanced Software Engineering Limited. All rights reserved.