How to include or exclude outliers in WPF BoxAndWhisker Charts?
This article explains how to include or exclude the outlier space by using the BoxAndWhisker type of WPF Chart. By default, it has been plotted with outlier space as shown in the following image.
It has been achieved by using the ShowOutlier property in BoxAndWhisker series. The default value of ShowOutlier property is true. In order to remove outlier space, set false to ShowOutlier property as shown in the following code sample.
[XAML]
<Grid Margin="10"> <chart:SfChart x:Name="boxWhiskerChart" > <chart:SfChart.PrimaryAxis> <chart:CategoryAxis /> </chart:SfChart.PrimaryAxis> <chart:SfChart.SecondaryAxis> <chart:NumericalAxis/> </chart:SfChart.SecondaryAxis> <chart:BoxAndWhiskerSeries ShowOutlier=" False" ItemsSource="{Binding BoxWhiskerData}" XBindingPath="Department" YBindingPath="Age" > </chart:BoxAndWhiskerSeries> </chart:SfChart> </Grid>
Output
See also
How to customize box and whisker chart in WPF
How to customize the default outlier view in WPF
How to create a various customized chart in WPF
Conclusion
I hope you enjoyed learning how to include or exclude outliers in WPF BoxAndWhisker Charts.
You can refer to our WPF Chart feature tour page know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WPF Chart Examples to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!