VectSharp 2.6.1
A light library for C# vector graphics
|
A plot element that fills an area between a line passing through some data points and a base line. More...
Public Member Functions | |||
Area (IEnumerable< T > data, Func< T, T > getBaseline, ICoordinateSystem< T > coordinateSystem) | |||
Create a new Area<T> instance. 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 upper part of the area will pass. More... | |
Func< T, T > | GetBaseline [get, set] |
A function returning the baseline for each data point. 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 area. More... | |
string | Tag [get, set] |
A tag to identify the area 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 fills an area between a line passing through some data points and a base line.
T | The kind of data describing the data points (generally, IReadOnlyList<double> ). |
Definition at line 599 of file DataPoints.cs.
VectSharp.Plots.Area< T >.Area | ( | IEnumerable< T > | data, |
Func< T, T > | getBaseline, | ||
ICoordinateSystem< T > | coordinateSystem | ||
) |
Create a new Area<T> instance.
data | The data points through which the upper part of the area will pass. |
getBaseline | A function returning the baseline for each data point. |
coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
Definition at line 640 of file DataPoints.cs.
void VectSharp.Plots.Area< 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 648 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 621 of file DataPoints.cs.
|
getset |
The data points through which the upper part of the area will pass.
Definition at line 604 of file DataPoints.cs.
|
getset |
A function returning the baseline for each data point.
Definition at line 609 of file DataPoints.cs.
|
getset |
Presentation attributes determining the appearance of the area.
Definition at line 627 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 615 of file DataPoints.cs.
|
getset |
A tag to identify the area in the plot.
Definition at line 632 of file DataPoints.cs.