Add

Add(ChartType, int, int, int, int)

Adds a chart to the collection.

public int Add(ChartType type, int upperLeftRow, int upperLeftColumn, int lowerRightRow, 
    int lowerRightColumn)
Parameter Type Description
type ChartType Chart type
upperLeftRow Int32 Upper left row index.
upperLeftColumn Int32 Upper left column index.
lowerRightRow Int32 Lower right row index
lowerRightColumn Int32 Lower right column index

Return Value

Chart object index.

See Also


Add(ChartType, string, int, int, int, int)

[Obsolete("Use ChartCollection.Add(ChartType, string, bool ,int , int, int, int ) instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int Add(ChartType type, string dataRange, int topRow, int leftColumn, int rightRow, 
    int bottomColumn)

See Also


Add(ChartType, string, bool, int, int, int, int)

Adds a chart to the collection.

public int Add(ChartType type, string dataRange, bool isVertical, int topRow, int leftColumn, 
    int rightRow, int bottomColumn)
Parameter Type Description
type ChartType Chart type
dataRange String Specifies the data range of the chart
isVertical Boolean Specifies whether to plot the series from a range of cell values by row or by column.
topRow Int32 Upper left row index.
leftColumn Int32 Upper left column index.
rightRow Int32 Lower right row index
bottomColumn Int32 Lower right column index

Return Value

Chart object index.

See Also