Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / IChart Interface / addChart Method
The chart type
The distance from the left edge of the chart to the left edge of the chart area, in points.
The distance from the top edge of the chart to the top edge of the chart area, in points.
The width, in points, of the object
The height, in points, of the object
In This Topic
    addChart Method
    In This Topic
    Creates a chart at the specified location on the chart.
    Syntax
    IShape addChart( 
       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 points.
    top
    The distance from the top edge of the chart to the top edge of the chart area, in points.
    width
    The width, in points, of the object
    height
    The height, in points, of the object

    Return Value

    The IShapeThe object.
    See Also