Inheritance
System.Object
BoxAndWhiskerPlot
public class BoxAndWhiskerPlot
Constructors
Declaration
public BoxAndWhiskerPlot(Draw2D draw2D, Units units)
Parameters
Declaration
public BoxAndWhiskerPlot(Draw2D draw2D, Units units, Color colorBackground)
Parameters
Type |
Name |
Description |
Draw2D |
draw2D |
|
Units |
units |
|
Color |
colorBackground |
|
Methods
Declaration
public void Draw(Rect rect, float x, float y, float w, float h, float min, float lowerQuartile, float median, float upperQuartile, float max, float yAxisStart, float yAxisEnd, Color color, Color colorFilled, bool clearFirst = true)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
System.Single |
x |
|
System.Single |
y |
|
System.Single |
w |
|
System.Single |
h |
|
System.Single |
min |
|
System.Single |
lowerQuartile |
|
System.Single |
median |
|
System.Single |
upperQuartile |
|
System.Single |
max |
|
System.Single |
yAxisStart |
|
System.Single |
yAxisEnd |
|
Color |
color |
|
Color |
colorFilled |
|
System.Boolean |
clearFirst |
|
Declaration
public void Draw(float width, float height, float min, float lowerQuartile, float median, float upperQuartile, float max, float yAxisStart, float yAxisEnd, Color color, Color colorFilled)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
height |
|
System.Single |
min |
|
System.Single |
lowerQuartile |
|
System.Single |
median |
|
System.Single |
upperQuartile |
|
System.Single |
max |
|
System.Single |
yAxisStart |
|
System.Single |
yAxisEnd |
|
Color |
color |
|
Color |
colorFilled |
|
Declaration
public void DrawHorizontal(Rect rect, float x, float y, float w, float h, float min, float lowerQuartile, float median, float upperQuartile, float max, float xAxisStart, float xAxisEnd, Color color, Color colorFilled, bool clearFirst = true)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
System.Single |
x |
|
System.Single |
y |
|
System.Single |
w |
|
System.Single |
h |
|
System.Single |
min |
|
System.Single |
lowerQuartile |
|
System.Single |
median |
|
System.Single |
upperQuartile |
|
System.Single |
max |
|
System.Single |
xAxisStart |
|
System.Single |
xAxisEnd |
|
Color |
color |
|
Color |
colorFilled |
|
System.Boolean |
clearFirst |
|
Declaration
public void DrawHorizontal(float width, float height, float min, float lowerQuartile, float median, float upperQuartile, float max, float xAxisStart, float xAxisEnd, Color color, Color colorFilled, GUIStyle style = null)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
height |
|
System.Single |
min |
|
System.Single |
lowerQuartile |
|
System.Single |
median |
|
System.Single |
upperQuartile |
|
System.Single |
max |
|
System.Single |
xAxisStart |
|
System.Single |
xAxisEnd |
|
Color |
color |
|
Color |
colorFilled |
|
GUIStyle |
style |
|
DrawText(Single, Single, Single, Single, String, String)
Declaration
public void DrawText(float width, float plotHeight, float min, float max, string minTooltip, string maxTooltip)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
plotHeight |
|
System.Single |
min |
|
System.Single |
max |
|
System.String |
minTooltip |
|
System.String |
maxTooltip |
|
Declaration
public void SetUnits(Units units)
Parameters
Type |
Name |
Description |
Units |
units |
|