Represents a box plot control.
- Inheritance:
-
object
Visual
UIElement
Framework
Element Control object
Constructors
MicroBoxPlot()
Initializes a new instance of the Micro
Properties
AreOutliersVisible
Gets or sets a boolean value indicating whether or not outliers should be rendered. This is a dependency property.
Property Value
- bool:
true
if outlier values are visible; otherwise,false
. The default value isfalse
.
BoxStyle
Gets or sets the Style used to render the box. This is a dependency property.
IqrMultiplier
Gets or sets a value indicating the amount to multiply the IQR by to find the range of the whiskers. This is a dependency property.
Property Value
- double:
A value indicating the amount to multiply the IQR by to find the range of the whiskers. The default value is
1.5
.
Remarks
IQR stands for interquartile range, which is equal to the difference of the upper and lower quartiles.
IsMeanVisible
Gets or sets a boolean value indicating whether or not the mean value bar should be rendered. This is a dependency property.
Property Value
- bool:
true
if the mean value is visible; otherwise,false
. The default value isfalse
.
IsMedianVisible
Gets or sets a boolean value indicating whether or not the median value bar should be rendered. This is a dependency property.
Property Value
- bool:
true
if the median value is visible; otherwise,false
. The default value istrue
.
LegendStringFormat
Gets or sets the format that the Micro
Property Value
- string:
The string format that determines how to display a tool tip. The default value is
null
.
Remarks
The format string will be passed the following parameters:
- {0} - The minimum value.
- {1} - The lower whisker value.
- {2} - The first quartile value.
- {3} - The median value.
- {4} - The third quartile value.
- {5} - The upper whisker value.
- {6} - The maximum value.
- {7} - The mean value.
- {8} - The number of values.
Maximum
Gets or sets the maximum value of the chart. This is a dependency property.
Property Value
- double:
The maximum value of the chart. The default value is
NaN
.
MeanStyle
Gets or sets the style of the mean value bar. This is a dependency property.
Property Value
- Style:
The style of the mean value bar. The default value is
null
.
MedianStyle
Gets or sets the style of the median value bar. This is a dependency property.
Property Value
- Style:
The style of the median value bar. The default value is
null
.
Minimum
Gets or sets the minimum value of the chart. This is a dependency property.
Property Value
- double:
The minimum value of the chart. The default value is
NaN
.
Orientation
Gets or sets the orientation of the Micro
Property Value
- Orientation:
The orientation of the Micro
Box . The default value isPlot Horizontal
.
OutlierStyle
Gets or sets the style of the outlier marker. This is a dependency property.
Property Value
- Style:
The style of the outlier marker. The default value is
null
.
Values
Gets or sets the list of data values to be represented by the chart. This is a dependency property.
Property Value
- IEnumerable<double>:
The the list of data values. The default value is
null
.
WhiskerAscent
Gets or sets a Unit indicating the ascent of the whisker endline. This is a dependency property.
Property Value
Remarks
Ascent is height when in a horizontal graph, and width when in a vertical graph.
WhiskerStyle
Gets or sets the style of the whisker line. This is a dependency property.
Property Value
- Style:
The style of the whisker line. The default value is
null
.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
OnCreateAutomationPeer()
When implemented in a derived class, returns class-specific Automation
Returns
- Automation
Peer : The class-specific Automation
Peer subclass to return.
OnSizeChanged(object, SizeChangedEventArgs)
Handles the SizeChanged
event of the control.
Parameter | Type | Description |
---|---|---|
sender | object | The source of the event. |
e | Size |
The Size |
Refresh()
Updates the chart based on the current state.
Fields
AreOutliersVisibleProperty
Identifies the Are
BoxStyleProperty
Identifies the Box
IqrMultiplierProperty
Identifies the Iqr
IsMeanVisibleProperty
Identifies the Is
IsMedianVisibleProperty
Identifies the Is
LegendStringFormatProperty
Identifies the Legend
MaximumProperty
Identifies the Maximum dependency property. This field is read-only.
MeanStyleProperty
Identifies the Mean
MedianStyleProperty
Identifies the Median
MinimumProperty
Identifies the Minimum dependency property. This field is read-only.
OrientationProperty
Identifies the Orientation dependency property. This field is read-only.
OutlierStyleProperty
Identifies the Outlier
ValuesProperty
Identifies the Values dependency property. This field is read-only.
WhiskerAscentProperty
Identifies the Whisker
WhiskerStyleProperty
Identifies the Whisker