VectSharp 2.6.1
A light library for C# vector graphics
|
A plot element that draws a symbol at the location of multiple data points. More...
Public Member Functions | |||
ScatterPoints (IEnumerable< T > data, ICoordinateSystem< T > coordinateSystem) | |||
Creates a new ScatterPoints<T> instance, using the specified data and coordinateSystem . 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 at which the symbols will be drawn. More... | |
double | Size = 2 [get, set] |
The size of the symbols to draw, in plot coordinates. More... | |
IDataPointElement | DataPointElement = new PathDataPointElement() [get, set] |
The symbol that will be drawn (by default, a circle). 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 (stroke and fill colour, etc.) of the symbols. More... | |
string | Tag [get, set] |
A tag to identify the symbols 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 symbol at the location of multiple data points.
T | The kind of data describing the data points (generally, IReadOnlyList<double> ). |
Definition at line 150 of file DataPoints.cs.
VectSharp.Plots.ScatterPoints< T >.ScatterPoints | ( | IEnumerable< T > | data, |
ICoordinateSystem< T > | coordinateSystem | ||
) |
Creates a new ScatterPoints<T> instance, using the specified data and coordinateSystem .
data | The data points at which the symbols will be drawn. |
coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
Definition at line 188 of file DataPoints.cs.
void VectSharp.Plots.ScatterPoints< 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 195 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 170 of file DataPoints.cs.
|
getset |
The data points at which the symbols will be drawn.
Definition at line 155 of file DataPoints.cs.
|
getset |
The symbol that will be drawn (by default, a circle).
Definition at line 165 of file DataPoints.cs.
|
getset |
Presentation attributes determining the appearance (stroke and fill colour, etc.) of the symbols.
Definition at line 176 of file DataPoints.cs.
|
getset |
The size of the symbols to draw, in plot coordinates.
Definition at line 160 of file DataPoints.cs.
|
getset |
A tag to identify the symbols in the plot.
Definition at line 181 of file DataPoints.cs.