PolarYAxis

StockSharp.Xaml.Charting.Visuals.Axes

Provides a Polar, Value Numeric Axis, capable of rendering double, int, short, byte, long ticks on the YAxis of a UltrachartSurface.

Inherits: NumericAxis

Constructors

PolarYAxis
public PolarYAxis()
polarYAxis = PolarYAxis()

Initializes a new instance of the PolarYAxis class.

Properties

Angle
public double Angle { get; set; }
value = polarYAxis.Angle
polarYAxis.Angle = value

Gets or set rotation angle for this axis

IsPolarAxis
public override bool IsPolarAxis { get; }
value = polarYAxis.IsPolarAxis

Gets a value indicating whether this instance is a polar axis.

Methods

DrawGridLine
protected override void DrawGridLine(IRenderContext2D renderContext, Style gridLineStyle, IEnumerable<float> coordsToDraw)
polarYAxis.DrawGridLine(renderContext, gridLineStyle, coordsToDraw)

Draws grid lines on chart at specified coordinates

renderContext
gridLineStyle
coordsToDraw
GetAxisOffset
public override double GetAxisOffset()
result = polarYAxis.GetAxisOffset()

Returns the offset of the Axis

GetAxisParams
public override AxisParams GetAxisParams()
result = polarYAxis.GetAxisParams()

Gets an AxisParams struct with info about the current axis setup

Fields

AngleProperty
public static readonly DependencyProperty AngleProperty
value = PolarYAxis.AngleProperty

Defines the Angle DependencyProperty