Click or drag to resize

ChartSeries Add Method (String, Boolean)

Adds a new area to the layout with the specified orientation.

Namespace: Spire.Xls.Charts
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public int Add(
	string area,
	bool isVertical
)

Parameters

area
Type: System String
The identifier or name of the area to be added.
isVertical
Type: System Boolean
A boolean indicating the orientation of the area. True if vertical, false if horizontal.

Return Value

Type: Int32
The index or identifier of the newly added area.
See Also