Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Chart Namespace / SpreadChart Class / SpreadChart Constructor / SpreadChart Constructor(Type,ChartViewType)
Type of the series.
Chart view type.
Example


In This Topic
    SpreadChart Constructor(Type,ChartViewType)
    In This Topic
    Initializes a new instance of the SpreadChart class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal seriesType As Type, _
       ByVal viewType As ChartViewType _
    )
    'Usage
     
    
    Dim seriesType As Type
    Dim viewType As ChartViewType
     
    Dim instance As New SpreadChart(seriesType, viewType)
    public SpreadChart( 
       Type seriesType,
       ChartViewType viewType
    )

    Parameters

    seriesType
    Type of the series.
    viewType
    Chart view type.
    Remarks
    The seriesType parameter indicates which type of chart will be added. The viewType parameter is the view type of the chart (2D or 3D).
    Example
    This example creates a chart control.
    See Also