Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / 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, in pixels, of the object
The height, in pixels, of the object
In This Topic
    addChartInPixel Method
    In This Topic
    Creates a chart at the specified location on the chart.
    Syntax
    IShape addChartInPixel( 
       ChartType chartType,
       double left,
       double top,
       double width,
       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, in pixels, of the object
    height
    The height, in pixels, of the object

    Return Value

    The IShapeThe object.
    See Also