[]
Creates a chart at the specified location on the active sheet.
IShape AddChartInPixel(ChartType chartType, double left, double top, double width, double height)
| Type | Name | Description |
|---|---|---|
| ChartType | chartType | The chart type. |
| double | left | The distance, in pixels, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). |
| double | top | The distance, in pixels, from the top edge of the top most shape in the shape range to the top edge of the worksheet. |
| double | width | The width, in pixels, of the object. |
| double | height | The height, in pixels, of the object. |
| Type | Description |
|---|---|
| IShape | The IShape object. |
Creates a chart at the specified location on the active sheet.
IShape AddChartInPixel(string name, ChartType chartType, double left, double top, double width, double height)
| Type | Name | Description |
|---|---|---|
| string | name | The chart name. |
| ChartType | chartType | The chart type. |
| double | left | The distance, in pixels, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). |
| double | top | The distance, in pixels, from the top edge of the top most shape in the shape range to the top edge of the worksheet. |
| double | width | The width, in pixels, of the object. |
| double | height | The height, in pixels, of the object. |
| Type | Description |
|---|---|
| IShape | The IShape object. |