ElementPosition.X Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the relative X-coordinate of the top-left corner of an applicable chart element.
public:
property float X { float get(); void set(float value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public float X { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.X : single with get, set
Public Property X As Single
Property Value
A float
value that represents the X-coordinate of the top-left corner of an applicable chart element.
- Attributes
Remarks
The X property 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.
This property always uses relative coordinates; if you set a value outside the 0-100 pixel range, an exception will be thrown.