Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / 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.
    targetRange
    The target range of the current sheet.

    Return Value

    The IShapeThe object.
    See Also