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 control of the .Net Analytics package is of the following type:

The series class of the histogram chart is:

and the sample class is:

The first step is to include the necessary namespaces for the controls and add new series.

Import from an Individuals Series

Below, we will import data to a Histogram chart (named hcChart 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
hcChart.SeriesCollection.Add(new HistogramSeries(isSeries))

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

The Individuals chart, and the Histogram chart to which the data is imported, are shown below:

Individuals chart Histogram chart with data imported from individuals