Histogram Control


Edit Curve

This page describes how to change the appearance of the normal curve of a histogram series. The histogram chart/control of the .Net Analytics package are of the following types:

The series class of the histogram chart/control is:

and the following property is responsible for the bins/cells appearance:

The first step is to include the necessary namespace and add a new chart/control.

Change Normal Curve Appearance

Below, we will change the appearance of the normal curve for a Histogram series (named hsSeries in the examples below):

[Visual Basic]
' Change the appearance of the normal curve
hsSeries.CurveStroke = New SolidColorBrush(Colors.Yellow)

[Visual C#]
// Change the appearance of the normal curve
hsSeries.CurveStroke = new SolidColorBrush(Colors.Yellow);

In the chart below, you can test the code to see what the result will look like:

Get Microsoft Silverlight