RangePlot2D.GraphType

This property returns or sets the graph type to be plotted (whiskers, boxes, columns, high-low close).

Syntax Return Value
- TypeOfRangePlot

C# Example

Creating a Range Plot from a C# node:

#r STATISTICA.Core.Interop.dll

using System;
using System.IO;
using System.Runtime.InteropServices;
using STATISTICA;
using STATISTICAGraphics;
//Note: run this example in a C# node
try
{
    string sVars = "2 | 3 | 4";
    Analysis ana = Application.Analysis(AnalysisIdentifier.sc2dRange, InputContainer[0]);
    RangePlot2D pdlg = (RangePlot2D)ana.Dialog;

    pdlg.set_Variables(sVars);
    pdlg.GraphType = TypeOfRangePlot.scRangeWhiskers;
    OutputContainer.Add(pdlg.Graphs);
}
catch(Exception e)
{
    Console.WriteLine($"Error: Unable to create graph. {e.Message}");
}