AddChart(Int32,Int32,Type,Int32,Int32,Int32,Int32,ChartViewType,Boolean) Method
In This Topic
Adds the chart control.
Syntax
'Declaration
Public Overloads Function AddChart( _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Type, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As ChartViewType, _
ByVal As Boolean _
) As SpreadChart
'Usage
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim seriesType As Type
Dim width As Integer
Dim height As Integer
Dim x As Integer
Dim y As Integer
Dim viewType As ChartViewType
Dim showLegend As Boolean
Dim value As SpreadChart
value = instance.AddChart(row, column, seriesType, width, height, x, y, viewType, showLegend)
Parameters
- row
- The row.
- column
- The column.
- seriesType
- Type of the series.
- width
- Width of the chart.
- height
- Height of the chart.
- x
- The x-position.
- y
- The y-position.
- viewType
- Type of the view.
- showLegend
- If set to
true
, the new chart will have a default legend area; otherwise, there is no legend area.
See Also