A plot element that draws a title for an axis.
More...
|
| IReadOnlyList< double > | StartPoint [get, set] |
| | The starting point of the axis, expressed in data space coordinates. More...
|
| |
| IReadOnlyList< double > | EndPoint [get, set] |
| | The ending point of the axis, expressed in data space coordinates. More...
|
| |
| double | Position = 30 [get, set] |
| | The distance between the title and the axis, in plot space coordinates. More...
|
| |
| IEnumerable< FormattedText > | Title [get, set] |
| | The axis title to draw. More...
|
| |
| bool | FollowAxis = true [get, set] |
| | If the axis is not a straight line (e.g., because the coordinate system is not linear), if this is true the title will follow the shape of the axis. If this is false, the title will always be drawn on a straight line. More...
|
| |
| double? | Rotation = null [get, set] |
| | Orientation of the title with respect to the horizontal. If this is null, the title is parallel to the axis. More...
|
| |
| TextBaselines | Baseline = TextBaselines.Middle [get, set] |
| | The baseline for the title anchor. More...
|
| |
| TextAnchors | Alignment = TextAnchors.Left [get, set] |
| | The alignment for the title anchor. More...
|
| |
| IContinuousCoordinateSystem | CoordinateSystem [get, set] |
| | The coordinate system used to transform the points from data space to plot space. More...
|
| |
| PlotElementPresentationAttributes | PresentationAttributes = new PlotElementPresentationAttributes() { Font = new Font(FontFamily.ResolveFontFamily(FontFamily.StandardFontFamilies.HelveticaBold), 14), Stroke = null, Fill = Colours.Black } [get, set] |
| | Presentation attributes determining the appearance of the title. More...
|
| |
| string | Tag [get, set] |
| | A tag to identify the labels in the plot. More...
|
| |
| ICoordinateSystem | CoordinateSystem [get] |
| | The coordinate system used to transform the points from data space to plot space. More...
|
| |
A plot element that draws a title for an axis.
Definition at line 570 of file Axes.cs.
◆ ContinuousAxisTitle() [1/2]
| VectSharp.Plots.ContinuousAxisTitle.ContinuousAxisTitle |
( |
IEnumerable< FormattedText > |
title, |
|
|
IReadOnlyList< double > |
startPoint, |
|
|
IReadOnlyList< double > |
endPoint, |
|
|
IContinuousCoordinateSystem |
coordinateSystem |
|
) |
| |
Create a new ContinuousAxisTitle instance.
- Parameters
-
| title | The title to draw on the axis. |
| startPoint | The starting point of the axis, expressed in data space coordinates. |
| endPoint | The ending point of the axis, expressed in data space coordinates. |
| coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
Definition at line 638 of file Axes.cs.
◆ ContinuousAxisTitle() [2/2]
Create a new ContinuousAxisTitle instance.
- Parameters
-
| title | The title to draw on the axis. |
| startPoint | The starting point of the axis, expressed in data space coordinates. |
| endPoint | The ending point of the axis, expressed in data space coordinates. |
| coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
| presentationAttributes | Presentation attributes determining the appearance of the title. |
Definition at line 654 of file Axes.cs.
◆ Plot()
| void VectSharp.Plots.ContinuousAxisTitle.Plot |
( |
Graphics |
target | ) |
|
◆ Alignment
| TextAnchors VectSharp.Plots.ContinuousAxisTitle.Alignment = TextAnchors.Left |
|
getset |
The alignment for the title anchor.
Definition at line 613 of file Axes.cs.
◆ Baseline
| TextBaselines VectSharp.Plots.ContinuousAxisTitle.Baseline = TextBaselines.Middle |
|
getset |
The baseline for the title anchor.
Definition at line 608 of file Axes.cs.
◆ CoordinateSystem
◆ EndPoint
| IReadOnlyList<double> VectSharp.Plots.ContinuousAxisTitle.EndPoint |
|
getset |
The ending point of the axis, expressed in data space coordinates.
Definition at line 580 of file Axes.cs.
◆ FollowAxis
| bool VectSharp.Plots.ContinuousAxisTitle.FollowAxis = true |
|
getset |
If the axis is not a straight line (e.g., because the coordinate system is not linear), if this is true the title will follow the shape of the axis. If this is false, the title will always be drawn on a straight line.
Definition at line 597 of file Axes.cs.
◆ Position
| double VectSharp.Plots.ContinuousAxisTitle.Position = 30 |
|
getset |
The distance between the title and the axis, in plot space coordinates.
Definition at line 585 of file Axes.cs.
◆ PresentationAttributes
Presentation attributes determining the appearance of the title.
Definition at line 624 of file Axes.cs.
◆ Rotation
| double? VectSharp.Plots.ContinuousAxisTitle.Rotation = null |
|
getset |
Orientation of the title with respect to the horizontal. If this is null, the title is parallel to the axis.
Definition at line 603 of file Axes.cs.
◆ StartPoint
| IReadOnlyList<double> VectSharp.Plots.ContinuousAxisTitle.StartPoint |
|
getset |
The starting point of the axis, expressed in data space coordinates.
Definition at line 575 of file Axes.cs.
◆ Tag
| string VectSharp.Plots.ContinuousAxisTitle.Tag |
|
getset |
A tag to identify the labels in the plot.
Definition at line 629 of file Axes.cs.
◆ Title
| IEnumerable<FormattedText> VectSharp.Plots.ContinuousAxisTitle.Title |
|
getset |
The axis title to draw.
Definition at line 590 of file Axes.cs.
The documentation for this class was generated from the following file: