Avalonia solo in codiceEnglish

API › RAVAL

RPolarChart class

Il riferimento e' in inglese: viene dai commenti del sorgente di RAVAL, che dalla 2.0 ha nomi e commenti in inglese.

public sealed class RPolarChart : Control

The polar chart of complex curves and radiation patterns.

Costruttori

RPolarChart()

The empty chart.

Proprietà

List<RComplexSeries> Series { get; }

The curves.

double Max { get; set; }

The magnitude (or dB) at the edge; NaN: from the data, rounded up.

bool Decibels { get; set; }

Whether the distance is 20·log10|z| (radiation patterns).

double Range { get; set; }

With Decibels, how many dB from the edge to the center (40).

double ZeroAngle { get; set; }

Where the angle zero is, degrees counterclockwise from the right (0).

bool Clockwise { get; set; }

Whether the angles grow clockwise (false: as in the complex plane).

double AngleStep { get; set; }

The step of the rays, degrees (30).

CultureInfo Culture { get; set; }

How the numbers are written (invariant: the point).

string BackgroundKey { get; set; }

The theme resource of the background.

string GridKey { get; set; }

The theme resource of the grid.

string InkKey { get; set; }

The theme resource of the texts and of the edge.

double TextSize { get; set; }

The size of the texts.

double Edge { get; }

The value at the edge used in the last drawing (magnitude, or dB).

(double, double, double) Circle { get; }

The center and the radius of the edge, pixels.

Metodi

Point PixelOf(Complex z)

The point of the control of a complex number.

void SavePng(string path, double widthCm = 12, double dpi = 300)

Saves the chart as PNG, square, the given centimetres wide at the given dpi (RImage).

void Render(DrawingContext ctx)

Draws the circles of the magnitude, the rays of the angle, the curves.