Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / IShapes Interface / addChart Method / addChart(ChartType,IRange) Method
The chart type
The target range of the current sheet.
In This Topic
    addChart(ChartType,IRange) Method
    In This Topic
    Creates a chart at the specified range on the current sheet.

    The sheet of targetRange and the sheet of the shape being added must be the same sheet.

    Syntax

    Parameters

    chartType
    The chart type
    range
    The target range of the current sheet.

    Return Value

    The IShape object.
    See Also