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 QuadrantChartPointConstructors
| Name | Description |
|---|---|
| QuadrantChartPoint(DiagramText, double, double) | Initializes a new instance of the QuadrantChartPoint class. |
QuadrantChartPoint(DiagramText, double, double)
QuadrantChartPoint.csInitializes a new instance of the QuadrantChartPoint class.
public QuadrantChartPoint(DiagramText label, double x, double y)Parameters
labelDiagramText- The text drawn below the point.
xdouble- The position on the x axis, from 0 (left) to 1 (right).
ydouble- The position on the y axis, from 0 (bottom) to 1 (top).
Exceptions
ArgumentOutOfRangeExceptionxoryis not between 0 and 1.
Properties
| Name | Description |
|---|---|
| ClassName | Gets or sets the name of the class whose style applies to the point (Mermaid :::class), or null for none. |
| Label | Gets or sets the text drawn below the point. |
| Style | Gets the style of the point. Its values take precedence over the ones of the class. |
| X | Gets or sets the position on the x axis, from 0 (left) to 1 (right). |
| Y | Gets or sets the position on the y axis, from 0 (bottom) to 1 (top). |
ClassName
QuadrantChartPoint.csGets the style of the point. Its values take precedence over the ones of the class.
public QuadrantChartPointStyle Style { get; }Property value
Gets or sets the position on the x axis, from 0 (left) to 1 (right).
public double X { get; set; }Gets or sets the position on the y axis, from 0 (bottom) to 1 (top).
public double Y { get; set; }Methods
| Name | Description |
|---|---|
| ToString() | Returns the text of the point. |