PolarXAxis
Provides a Polar, Value Numeric Axis, capable of rendering double, int, short, byte, long ticks on the XAxis of a UltrachartSurface.
Inherits: NumericAxis
Constructors
public PolarXAxis()
polarXAxis = PolarXAxis()
Initializes a new instance of the PolarXAxis class.
Properties
public override bool IsHorizontalAxis { get; }
value = polarXAxis.IsHorizontalAxis
Gets whether the current axis is horizontal or not
public override bool IsPolarAxis { get; }
value = polarXAxis.IsPolarAxis
Gets a value indicating whether this instance is a polar axis.
Methods
protected override void DrawGridLine(IRenderContext2D renderContext, Style gridLineStyle, IEnumerable<float> coordsToDraw)
polarXAxis.DrawGridLine(renderContext, gridLineStyle, coordsToDraw)
Draws grid lines on chart at specified coordinates
- renderContext
- gridLineStyle
- coordsToDraw
public override double GetAxisOffset()
result = polarXAxis.GetAxisOffset()
Returns the offset of the Axis
public override AxisParams GetAxisParams()
result = polarXAxis.GetAxisParams()
Gets an AxisParams struct with info about the current axis setup
protected override Point GetLabelPosition(float offset, float coords)
result = polarXAxis.GetLabelPosition(offset, coords)
Get coordinates to place tick label
- offset
- coords
public override AxisInfo HitTest(IComparable dataValue)
result = polarXAxis.HitTest(dataValue)
Performs a HitTest operation on the AxisBase. The supplied is used to convert to AxisInfo struct, which contains information about the axis, as well as formatted values
- dataValue
- The data value.
Returns: The AxisInfo result
public override void OnApplyTemplate()
polarXAxis.OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call OnApplyTemplate.