Box and Whisker Plot Control


Edit a Series' Appearance

This page describes how to change the appearance of the box and whisker plot. The box and whisker control of the .Net Analytics is the following type:

Some of the properties associated with the box and whisker plot apperance are:

  • ColorBoxFill
  • ColorOutlierInsideFence
  • ColorOutlierOutsideFence
  • ColorWhisker

The first step is to include the necessary namespaces.

Edit the Box Color

Below, we will change a box and whisker plot appearance (named bwPlot in the examples below):

[Visual Basic]
' Modify the color of the box
bwPlot.ColorBoxFill = Color.Yellow

[Visual C#]
// Modify the color of the box
bwPlot.ColorBoxFill = Color.Yellow;

After the colors have been changed, the resulting chart should look similar to the following:

Box and whisker plot with edited colors