AddChart(String,SpreadChartType,String,Double,Double,Double,Double) Method
In This Topic
Adds the chart.
Syntax
'Declaration
Public Overloads Function AddChart( _
ByVal As String, _
ByVal As SpreadChartType, _
ByVal As String, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double _
) As SpreadChart
'Usage
Dim instance As Worksheet
Dim name As String
Dim chartType As SpreadChartType
Dim formula As String
Dim x As Double
Dim y As Double
Dim width As Double
Dim height As Double
Dim value As SpreadChart
value = instance.AddChart(name, chartType, formula, x, y, width, height)
Parameters
- name
- The name of the chart.
- chartType
- The type of the chart.
- formula
- The formula.
- x
- The x value or left position.
- y
- The y value or top position.
- width
- The width.
- height
- The height.
See Also