This documentation is archived and is not being maintained.
ElementPosition::X Property
Visual Studio 2010
Gets or sets the relative X-coordinate of the top-left corner of an applicable chart element.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
[BindableAttribute(true)] [PersistenceModeAttribute(PersistenceMode::Attribute)] public: property float X { float get (); void set (float value); }
Property Value
Type: System::SingleA float value that represents the X-coordinate of the top-left corner of an applicable chart element.
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: