|
VectSharp 2.6.1
A light library for C# vector graphics
|
A plot element that draws a line passing through a set of points. More...

Public Member Functions | |||
| DataLine (IEnumerable< T > data, ICoordinateSystem< T > coordinateSystem) | |||
| Create a new instance of the DataLine<T> class. More... | |||
| void | Plot (Graphics target) | ||
Draw the plot element on the specified target  Graphics.
| |||
| void | Plot (Graphics target) | ||
| Draw the plot element on the specified target  Graphics. More... | |||
Properties | |
| IEnumerable< T > | Data [get, set] |
| The data points through which the line will pass. More... | |
| bool | Smooth [get, set] |
If this is false, straight line segments are used to join the data points. If this is true, a smooth spline passing through all of them is used instead. More... | |
| ICoordinateSystem< T > | CoordinateSystem [get, set] |
| The coordinate system used to transform the points from data space to plot space. More... | |
| PlotElementPresentationAttributes | PresentationAttributes = new PlotElementPresentationAttributes() [get, set] |
| Presentation attributes determining the appearance of the line. More... | |
| string | Tag [get, set] |
| A tag to identify the labels in the plot. More... | |
Properties inherited from VectSharp.Plots.IPlotElement | |
| ICoordinateSystem | CoordinateSystem [get] |
| The coordinate system used to transform the points from data space to plot space. More... | |
A plot element that draws a line passing through a set of points.
| T | The kind of data describing the data points (generally, IReadOnlyList<double>). |
Definition at line 515 of file DataPoints.cs.
| VectSharp.Plots.DataLine< T >.DataLine | ( | IEnumerable< T > | data, |
| ICoordinateSystem< T > | coordinateSystem | ||
| ) |
Create a new instance of the DataLine<T> class.
| data | The data points through which the line will pass. |
| coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
Definition at line 549 of file DataPoints.cs.
| void VectSharp.Plots.DataLine< T >.Plot | ( | Graphics | target | ) |
Draw the plot element on the specified target  Graphics.
| target | The Graphics on which to draw. |
Implements VectSharp.Plots.IPlotElement.
Definition at line 556 of file DataPoints.cs.
|
getset |
The coordinate system used to transform the points from data space to plot space.
Implements VectSharp.Plots.IPlotElement.
Definition at line 531 of file DataPoints.cs.
|
getset |
The data points through which the line will pass.
Definition at line 520 of file DataPoints.cs.
|
getset |
Presentation attributes determining the appearance of the line.
Definition at line 537 of file DataPoints.cs.
|
getset |
If this is false, straight line segments are used to join the data points. If this is true, a smooth spline passing through all of them is used instead.
Definition at line 526 of file DataPoints.cs.
|
getset |
A tag to identify the labels in the plot.
Definition at line 542 of file DataPoints.cs.