Skip to content

PlotType Property

Summary

Plot type.

Remarks

The type of the output plotted on the output panel. Default = Line Supported types are: Line Points Histogram

Signature

1
public PlotType PlotType {get; set;}

Return Value

PlotType

Declaring Type

cAlgo.API.OutputAttribute

Examples

1
2
3
4
5
6
7
8
 //...
 //The result is plotted as a Histogram.
 [Output("Commodity Channel Index", PlotType = PlotType.Histogram)]
 public IndicatorDataSeries SMA { get; set; }
 public override void Calculate(int index)
 {
     //...
 }
1
2
3
4
5
 //...
 //Plot the result as a set of yellow points.
 [Output("Main", LineColor = "Yellow", PlotType = PlotType.Points)]
 public IndicatorDataSeries Result { get; set; }
 //...

Last update: June 26, 2022

Comments