Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / IShapes Interface / addChart Method / addChart(String,ChartType,IRange) Method
* The chart name
The chart type
The target range of the current sheet.
In This Topic
    addChart(String,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
    IShape addChart( 
       java.lang.String name,
       ChartType chartType,
       IRange range
    )

    Parameters

    name
    * The chart name
    chartType
    The chart type
    range
    The target range of the current sheet.
    See Also