This documentation is archived and is not being maintained.
ChartGraphics::GetPositionFromAxis Method
Visual Studio 2010
Takes a given axis value for a specified axis and returns the relative pixel value.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
public: double GetPositionFromAxis( String^ chartAreaName, AxisName axis, double axisValue )
Parameters
- chartAreaName
- Type: System::String
Chart area name.
- axis
- Type: System.Web.UI.DataVisualization.Charting::AxisName
An AxisName enumeration value that identifies the relevant axis.
- axisValue
- Type: System::Double
The axis value to be converted to a relative pixel value.
Return Value
Type: System::DoubleA string value that represents the converted axis value, in relative pixel coordinates.
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: