ChartGraphics.GetPositionFromAxis(String, AxisName, Double) Method
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.
Takes a given axis value for a specified axis and returns the relative pixel value.
public:
double GetPositionFromAxis(System::String ^ chartAreaName, System::Windows::Forms::DataVisualization::Charting::AxisName axis, double axisValue);
public double GetPositionFromAxis (string chartAreaName, System.Windows.Forms.DataVisualization.Charting.AxisName axis, double axisValue);
member this.GetPositionFromAxis : string * System.Windows.Forms.DataVisualization.Charting.AxisName * double -> double
Public Function GetPositionFromAxis (chartAreaName As String, axis As AxisName, axisValue As Double) As Double
Parameters
- chartAreaName
- String
Chart area name.
- axisValue
- Double
The axis value to be converted to a relative pixel value.
Returns
A string
value that represents the converted axis value, in relative pixel coordinates.