Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / AddSurfaceChart Method / AddSurfaceChart(String,SpreadSurfaceChartType,String,Double,Double,Double,Double) Method
The surface chart name.
The type of the chart.
The data formula.
The x value or left position.
The y value or top position.
The width.
The height.


In This Topic
    AddSurfaceChart(String,SpreadSurfaceChartType,String,Double,Double,Double,Double) Method
    In This Topic
    Adds the surface chart.
    Syntax
    'Declaration
     
    Public Overloads Function AddSurfaceChart( _
       ByVal name As String, _
       ByVal chartType As SpreadSurfaceChartType, _
       ByVal dataFormula As String, _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    ) As SpreadSurfaceChart
    'Usage
     
    Dim instance As Worksheet
    Dim name As String
    Dim chartType As SpreadSurfaceChartType
    Dim dataFormula As String
    Dim x As Double
    Dim y As Double
    Dim width As Double
    Dim height As Double
    Dim value As SpreadSurfaceChart
     
    value = instance.AddSurfaceChart(name, chartType, dataFormula, x, y, width, height)
    public SpreadSurfaceChart AddSurfaceChart( 
       string name,
       SpreadSurfaceChartType chartType,
       string dataFormula,
       double x,
       double y,
       double width,
       double height
    )

    Parameters

    name
    The surface chart name.
    chartType
    The type of the chart.
    dataFormula
    The data formula.
    x
    The x value or left position.
    y
    The y value or top position.
    width
    The width.
    height
    The height.
    See Also