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::Web::UI::DataVisualization::Charting::AxisName axis, double axisValue);
public double GetPositionFromAxis (string chartAreaName, System.Web.UI.DataVisualization.Charting.AxisName axis, double axisValue);
member this.GetPositionFromAxis : string * System.Web.UI.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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.