[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChart.AddChart

AddChart Method

AddChart(ChartType, double, double, double, double)

Creates a chart at the specified location on the chart.

Declaration
IShape AddChart(ChartType chartType, double left, double top, double width, double height)
Function AddChart(chartType As ChartType, left As Double, top As Double, width As Double, height As Double) As IShape
Parameters
Type Name Description
ChartType chartType

The chart type

double left

The distance from the left edge of the chart to the left edge of the chart area, in points.

double top

The distance from the top edge of the chart to the top edge of the chart area, in points.

double width

The width of the chart, in points.

double height

The height of the chart, in points.

Returns
Type Description
IShape

The IShape object.