Class BoxAndWhiskerSegment
Creates segments for BoxAndWhiskerSeries.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class BoxAndWhiskerSegment : ChartSegment, INotifyPropertyChanged
Constructors
BoxAndWhiskerSegment()
Initializes a new instance of the BoxAndWhiskerSegment class.
Declaration
public BoxAndWhiskerSegment()
BoxAndWhiskerSegment(ChartSeriesBase)
Initializes a new instance of the BoxAndWhiskerSegment class with the specified chart series.
Declaration
public BoxAndWhiskerSegment(ChartSeriesBase series)
Parameters
| Type | Name | Description |
|---|---|---|
| ChartSeriesBase | series |
Properties
ActualStroke
Gets the actual stroke for box and whisker segment.
Declaration
public Brush ActualStroke { get; }
Property Value
| Type |
|---|
| System.Windows.Media.Brush |
LowerQuartile
Gets or sets lower quartile value for segment.
Declaration
public double LowerQuartile { get; }
Property Value
| Type |
|---|
| System.Double |
Maximum
Gets or sets maximum value for segment.
Declaration
public double Maximum { get; }
Property Value
| Type |
|---|
| System.Double |
Median
Gets or sets median value for segment.
Declaration
public double Median { get; }
Property Value
| Type |
|---|
| System.Double |
Minimum
Gets or sets minimum value for segment.
Declaration
public double Minimum { get; }
Property Value
| Type |
|---|
| System.Double |
UppperQuartile
Gets or sets upper quartile value for segment.
Declaration
public double UppperQuartile { get; }
Property Value
| Type |
|---|
| System.Double |
Methods
CreateVisual(Size)
Creates the visaul for box and whisker segment.
Declaration
public override UIElement CreateVisual(Size size)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | size |
Returns
| Type |
|---|
| System.Windows.UIElement |
Overrides
GetRenderedVisual()
Gets the rendered visual for box and whisker segment.
Declaration
public override UIElement GetRenderedVisual()
Returns
| Type |
|---|
| System.Windows.UIElement |
Overrides
OnPropertyChanged(String)
Called when Property changed
Declaration
protected override void OnPropertyChanged(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Overrides
OnSizeChanged(Size)
Called whenever the segment's size changed. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.
Declaration
public override void OnSizeChanged(Size size)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | size | Size of the panel. |
Overrides
SetData(Double[])
Sets the value for box and whisker segment. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.
Declaration
public override void SetData(params double[] Values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double[] | Values |
Overrides
SetVisualBindings(Shape)
Method implementation for Set Bindings to properties in ColumnSegment.
Declaration
protected override void SetVisualBindings(Shape element)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Shapes.Shape | element |
Overrides
Update(IChartTransformer)
Updates the box and whisker segment based on its data point value. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
| Type | Name | Description |
|---|---|---|
| Syncfusion.UI.Xaml.Charts.IChartTransformer | transformer | Represents the view port of chart control.(refer Syncfusion.UI.Xaml.Charts.IChartTransformer) |