Histogram Control


Import Data from Other Charts

Samples and series can be imported from other chart types. This is supported through the constructor. 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 sample class is:

Import from an Individuals Series

Below, we will import data to a Histogram control (named hcControl in the examples below) from an Individuals series (named isSeries in the examples below). The process is similar when importing from other chart types:

[Visual Basic]
' Import data from Individuals series
hcControl.SeriesCollection.Add(new HistogramSeries(isSeries))

[Visual C#]
// Import data from Individuals series
hcControl.SeriesCollection.Add(new HistogramSeries(isSeries));

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

Get Microsoft Silverlight