QuadrantChartPoint Class

A point of a QuadrantChart: a circle at a position from 0 to 1 on each axis, with a text below it.

public sealed class QuadrantChartPoint

Constructors

NameDescription
QuadrantChartPoint(DiagramText, double, double)Initializes a new instance of the QuadrantChartPoint class.

QuadrantChartPoint(DiagramText, double, double)

QuadrantChartPoint.cs

Initializes a new instance of the QuadrantChartPoint class.

public QuadrantChartPoint(DiagramText label, double x, double y)

Parameters

label DiagramText
The text drawn below the point.
x double
The position on the x axis, from 0 (left) to 1 (right).
y double
The position on the y axis, from 0 (bottom) to 1 (top).

Exceptions

ArgumentOutOfRangeException
x or y is not between 0 and 1.

Properties

NameDescription
ClassNameGets or sets the name of the class whose style applies to the point (Mermaid :::class), or null for none.
LabelGets or sets the text drawn below the point.
StyleGets the style of the point. Its values take precedence over the ones of the class.
XGets or sets the position on the x axis, from 0 (left) to 1 (right).
YGets or sets the position on the y axis, from 0 (bottom) to 1 (top).

Gets or sets the name of the class whose style applies to the point (Mermaid :::class), or null for none.

public string? ClassName { get; set; }

Property value

string?

Gets or sets the text drawn below the point.

public DiagramText Label { get; set; }

Property value

DiagramText

Gets the style of the point. Its values take precedence over the ones of the class.

public QuadrantChartPointStyle Style { get; }

Gets or sets the position on the x axis, from 0 (left) to 1 (right).

public double X { get; set; }

Property value

double

Exceptions

ArgumentOutOfRangeException
The value is not between 0 and 1.

Gets or sets the position on the y axis, from 0 (bottom) to 1 (top).

public double Y { get; set; }

Property value

double

Exceptions

ArgumentOutOfRangeException
The value is not between 0 and 1.

Methods

NameDescription
ToString()Returns the text of the point.

Returns the text of the point.

public override string ToString()

Returns

string The text.