Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Chart Namespace / SpreadChart Class / SpreadChart Constructor / SpreadChart Constructor(String,String,String,Type,Point,Size,ChartViewType,Boolean)
The category formula.
The name formula.
The data formula.
Type of the series.
The location.
The size.
Chart view type.
if set to true [show legend].
Example


In This Topic
    SpreadChart Constructor(String,String,String,Type,Point,Size,ChartViewType,Boolean)
    In This Topic
    Initializes a new instance of the SpreadChart class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal categoryFormula As String, _
       ByVal nameFormula As String, _
       ByVal dataFormula As String, _
       ByVal seriesType As Type, _
       ByVal location As Point, _
       ByVal size As Size, _
       ByVal viewType As ChartViewType, _
       ByVal showLegend As Boolean _
    )
    'Usage
     
    
    Dim categoryFormula As String
    Dim nameFormula As String
    Dim dataFormula As String
    Dim seriesType As Type
    Dim location As Point
    Dim size As Size
    Dim viewType As ChartViewType
    Dim showLegend As Boolean
     
    Dim instance As New SpreadChart(categoryFormula, nameFormula, dataFormula, seriesType, location, size, viewType, showLegend)

    Parameters

    categoryFormula
    The category formula.
    nameFormula
    The name formula.
    dataFormula
    The data formula.
    seriesType
    Type of the series.
    location
    The location.
    size
    The size.
    viewType
    Chart view type.
    showLegend
    if set to true [show legend].
    Remarks
    The categoryFormula is for the axis title. The nameFormula is for the names of the series (SeriesName).  The dataFormula is for the actual data in each series. The seriesType parameter indicates which type of chart will be added. The location and size parameters specify the location and size (width and height) of the chart. The viewType parameter is the view type of the chart (2D or 3D). The showLegend parameter indicates whether to show a default legend area in the chart.
    Example
    This example creates a chart control.
    See Also