|
VectSharp 2.6.1
A light library for C# vector graphics
|
A plot element that draws a swarm plot. More...

Public Member Functions | |||
| Swarm (IReadOnlyList< double > position, IReadOnlyList< double > direction, IEnumerable< double > data, IContinuousInvertibleCoordinateSystem coordinateSystem) | |||
| Create a new Swarm 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 | |
| IReadOnlyList< double > | Position [get, set] |
| The position of the origin of the swarm (e.g., the 0 in data space coordinates). More... | |
| IReadOnlyList< double > | Direction [get, set] |
| The direction along which the swarm is drawn, in data space coordinates. More... | |
| IReadOnlyList< double > | Data [get] |
| The values whose distribution is displayed by the swarm plot. More... | |
| double | PointSize = 2 [get, set] |
| The size of the points in the swarm plot, in plot coordinates. More... | |
| double | PointMargin = 0.25 [get, set] |
| The minimum margin between points in the swarm plot, in plot coordinates. More... | |
| IDataPointElement | SwarmPointElement = new PathDataPointElement() [get, set] |
| The IDataPointElement used to draw the swarm points. More... | |
| PlotElementPresentationAttributes | PresentationAttributes = new PlotElementPresentationAttributes() { Fill = Colours.White } [get, set] |
| Presentation attributes for the swarm plot. More... | |
| IContinuousInvertibleCoordinateSystem | CoordinateSystem [get, set] |
| The coordinate system used to transform the points from data space to plot space. More... | |
| string | Tag [get, set] |
| A tag to identify the swarm 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... | |
| VectSharp.Plots.Swarm.Swarm | ( | IReadOnlyList< double > | position, |
| IReadOnlyList< double > | direction, | ||
| IEnumerable< double > | data, | ||
| IContinuousInvertibleCoordinateSystem | coordinateSystem | ||
| ) |
Create a new Swarm instance.
| position | The position of the origin of the swarm (e.g., the 0 in data space coordinates). |
| direction | The direction along which the swarm is drawn, in data space coordinates. |
| data | The values whose distribution is displayed by the swarm plot. |
| coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
| void VectSharp.Plots.Swarm.Plot | ( | Graphics | target | ) |
Draw the plot element on the specified target  Graphics.
| target | The Graphics on which to draw. |
Implements VectSharp.Plots.IPlotElement.
|
getset |
The coordinate system used to transform the points from data space to plot space.
Implements VectSharp.Plots.IPlotElement.
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
The IDataPointElement used to draw the swarm points.
|
getset |