ChartDirector 6.2 (.NET Edition)
public LineLayer addComparison(double data, int color, string name);
Public Function addComparison(data As Double(), color As Integer, name As String) As LineLayer
Adds a data series to the main chart for comparison with the closing price.
The data series added will be scaled so that the first visible point in the data series will coincide the first visible point of the main closing price. This facilitate comparing the performance of the closing price with the data series. The data series typically is the closing price of another stock, or the value of a market index.
|data||(Mandatory)||An array of numbers representing the data series.|
|color||(Mandatory)||The color of the line.|
|name||(Mandatory)||The name of the data series.
object representing the comparison line created.
© 2017 Advanced Software Engineering Limited. All rights reserved.