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

Public Member Functions | |||
| BoxPlot (IReadOnlyList< double > position, IReadOnlyList< double > direction, double whisker1, double box1, double box2, double whisker2, ICoordinateSystem< IReadOnlyList< double > > coordinateSystem) | |||
| Create a new BoxPlot 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 centre (e.g., median or mean) of the box plot, in data space coordinates. More... | |
| IReadOnlyList< double > | Direction [get, set] |
| The direction along which the box plot is drawn, in data space coordinates. More... | |
| double | Whisker1 [get, set] |
| The distance between the centre of the box plot and the first whisker, expressed as a multiple of Direction. More... | |
| double | Box1 [get, set] |
| The distance between the centre of the box plot and the first side of the box, expressed as a multiple of Direction. More... | |
| double | Box2 [get, set] |
| The distance between the centre of the box plot and the second side of the box, expressed as a multiple of Direction. More... | |
| double | Whisker2 [get, set] |
| The distance between the centre of the box plot and the second whisker, expressed as a multiple of Direction. More... | |
| double | Width = 10 [get, set] |
| The width of the box plot, in data space coordinates. More... | |
| double | WhiskerWidth = 0.5 [get, set] |
| The width of the whiskers, expressed as a multiple of the Width of the box. More... | |
| double | NotchWidth = 0.5 [get, set] |
| The width of the notch, expressed as a multiple of the Width of the box. More... | |
| double | NotchSize = 0 [get, set] |
| The distance between the centre of the box plot and the end of the notch, expressed as a multiple of Direction. More... | |
| PlotElementPresentationAttributes | BoxPresentationAttributes = new PlotElementPresentationAttributes() { Fill = Colours.White } [get, set] |
| Presentation attributes for the box. More... | |
| PlotElementPresentationAttributes | WhiskersPresentationAttributes = new PlotElementPresentationAttributes() { Fill = null } [get, set] |
| Presentation attributes for the whiskers. More... | |
| PlotElementPresentationAttributes | CentreSymbolPresentationAttributes = new PlotElementPresentationAttributes() { Fill = null, Stroke = null } [get, set] |
| Presentation attributes for the symbol drawn at the centre of the box plot. More... | |
| IDataPointElement | CentreSymbol = new PathDataPointElement() [get, set] |
| Symbol drawn at the centre of the box plot. More... | |
| ICoordinateSystem< IReadOnlyList< double > > | 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 box 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 box plot.
Definition at line 26 of file BoxPlot.cs.
| VectSharp.Plots.BoxPlot.BoxPlot | ( | IReadOnlyList< double > | position, |
| IReadOnlyList< double > | direction, | ||
| double | whisker1, | ||
| double | box1, | ||
| double | box2, | ||
| double | whisker2, | ||
| ICoordinateSystem< IReadOnlyList< double > > | coordinateSystem | ||
| ) |
Create a new BoxPlot instance.
| position | The position of the centre (e.g., median or mean) of the box plot, in data space coordinates. |
| direction | The direction along which the box plot is drawn, in data space coordinates. |
| whisker1 | The distance between the centre of the box plot and the first whisker, expressed as a multiple of direction . |
| box1 | The distance between the centre of the box plot and the first side of the box, expressed as a multiple of direction . |
| box2 | The distance between the centre of the box plot and the second side of the box, expressed as a multiple of direction . |
| whisker2 | The distance between the centre of the box plot and the second whisker, expressed as a multiple of direction . |
| coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
Definition at line 129 of file BoxPlot.cs.
| void VectSharp.Plots.BoxPlot.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 141 of file BoxPlot.cs.
|
getset |
The distance between the centre of the box plot and the first side of the box, expressed as a multiple of Direction.
Definition at line 48 of file BoxPlot.cs.
|
getset |
The distance between the centre of the box plot and the second side of the box, expressed as a multiple of Direction.
Definition at line 54 of file BoxPlot.cs.
|
getset |
Presentation attributes for the box.
Definition at line 86 of file BoxPlot.cs.
|
getset |
Symbol drawn at the centre of the box plot.
Definition at line 101 of file BoxPlot.cs.
|
getset |
Presentation attributes for the symbol drawn at the centre of the box plot.
Definition at line 96 of file BoxPlot.cs.
|
getset |
The coordinate system used to transform the points from data space to plot space.
Implements VectSharp.Plots.IPlotElement.
Definition at line 106 of file BoxPlot.cs.
|
getset |
The direction along which the box plot is drawn, in data space coordinates.
Definition at line 36 of file BoxPlot.cs.
|
getset |
The distance between the centre of the box plot and the end of the notch, expressed as a multiple of Direction.
Definition at line 81 of file BoxPlot.cs.
|
getset |
The width of the notch, expressed as a multiple of the Width of the box.
Definition at line 75 of file BoxPlot.cs.
|
getset |
The position of the centre (e.g., median or mean) of the box plot, in data space coordinates.
Definition at line 31 of file BoxPlot.cs.
|
getset |
A tag to identify the box in the plot.
Definition at line 111 of file BoxPlot.cs.
|
getset |
The distance between the centre of the box plot and the first whisker, expressed as a multiple of Direction.
Definition at line 42 of file BoxPlot.cs.
|
getset |
The distance between the centre of the box plot and the second whisker, expressed as a multiple of Direction.
Definition at line 60 of file BoxPlot.cs.
|
getset |
Presentation attributes for the whiskers.
Definition at line 91 of file BoxPlot.cs.
|
getset |
The width of the whiskers, expressed as a multiple of the Width of the box.
Definition at line 70 of file BoxPlot.cs.
|
getset |
The width of the box plot, in data space coordinates.
Definition at line 65 of file BoxPlot.cs.