Click or drag to resize

ChartHelperGetArea Method

To return the area by the specified index. If the number of areas is smaller then the missing areas will be created automatically.

Namespace:  StockSharp.Xaml.Charting
Assembly:  StockSharp.Xaml.Charting (in StockSharp.Xaml.Charting.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static ChartArea GetArea(
	this Chart chart,
	int index
)

Parameters

chart
Type: StockSharp.Xaml.ChartingChart
Chart.
index
Type: SystemInt32
The area index.

Return Value

Type: ChartArea
Area.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Chart. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also