ElementPosition.Right Property

.NET Framework (current version)

Gets the position of the right side of a chart element, in relative coordinates.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public float Right { get; }

Property Value

Type: System.Single

A float value that represents the position of the right side of a chart element.

Returns a value that represents the relative position of the right side of an applicable chart element.

The right side position is always expressed in relative coordinates, and is either relative to a ChartArea object if plotted within a chart area, or relative to the entire chart image if plotted outside of a chart area element.

Chart coordinates use (0,0) for a top-left corner, and (100,100) for a bottom-right corner.

.NET Framework
Available since 4.0
Return to top