Spread.Services Documentation
AddChartInPixel Method
GrapeCity.Documents.Spread.Drawing Namespace > IShapes Interface : AddChartInPixel Method
The chart type
The distance, in pixel, 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).
The distance, in pixel, from the top edge of the top most shape in the shape range to the top edge of the worksheet.
The width, in pixel, of the object
The height, in pixel, of the object
Creates a chart at the specified location on the active sheet.
Syntax
IShape AddChartInPixel( 
   ChartType chartType,
   System.double left,
   System.double top,
   System.double width,
   System.double height
)

Parameters

chartType
The chart type
left
The distance, in pixel, 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).
top
The distance, in pixel, from the top edge of the top most shape in the shape range to the top edge of the worksheet.
width
The width, in pixel, of the object
height
The height, in pixel, of the object

Return Value

The IShape object.
See Also

Reference

IShapes Interface
IShapes Members