Documents for Excel .NET Edition | GCDocuments
GrapeCity.Documents.Excel.Drawing Namespace / IChart Interface / AddChartInPixel Method
The chart type
The distance from the left edge of the chart to the left edge of the chart area, in pixels.
The distance from the top edge of the chart to the top edge of the chart area, in pixels.
The width of the chart, in pixels.
The height of the chart, in pixels.
In This Topic
    AddChartInPixel Method (IChart)
    In This Topic
    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 from the left edge of the chart to the left edge of the chart area, in pixels.
    top
    The distance from the top edge of the chart to the top edge of the chart area, in pixels.
    width
    The width of the chart, in pixels.
    height
    The height of the chart, in pixels.

    Return Value

    The IShape object.
    See Also