IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
CShell.Modules.Sink.ViewModels.PlotSinkViewModel.HistogramChartHelper Class Reference

Helper class that creates a histogram chart. Histogram is a data distribution chart which shows how many values, from the data series, are inside each segment interval. More...

Public Member Functions

void CreateHistogram (Chart chartControl, string dataSeriesName, string histogramSeriesName)
 Creates a histogram chart. More...
 
void CreateHistogram (Chart chartControl, string dataSeriesName, string histogramSeriesName)
 Creates a histogram chart. More...
 

Public Attributes

int SegmentIntervalNumber = 20
 Number of class intervals the data range is devided in. This property only has affect when "SegmentIntervalWidth" is set to double.NaN. More...
 
double SegmentIntervalWidth = double.NaN
 Histogram class interval width. Setting this value to "double.NaN" will result in automatic width calculation based on the data range and number of required interval specified in "SegmentIntervalNumber". More...
 
bool ShowPercentOnSecondaryYAxis = true
 Indicates that percent frequency should be shown on the right axis More...
 

Detailed Description

Helper class that creates a histogram chart. Histogram is a data distribution chart which shows how many values, from the data series, are inside each segment interval.

You can define how many intervals you want to have using the SegmentIntervalNumber field or the exact length of the interval using the SegmentIntervalWidth field. Actual segment interval number can be slightly different due to the automatic interval rounding.

Member Function Documentation

void CShell.Modules.Sink.ViewModels.PlotSinkViewModel.HistogramChartHelper.CreateHistogram ( Chart  chartControl,
string  dataSeriesName,
string  histogramSeriesName 
)
inline

Creates a histogram chart.

Parameters
chartControlChart control reference.
dataSeriesNameName of the series which stores the original data.
histogramSeriesNameName of the histogram series.
void CShell.Modules.Sink.ViewModels.PlotSinkViewModel.HistogramChartHelper.CreateHistogram ( Chart  chartControl,
string  dataSeriesName,
string  histogramSeriesName 
)
inline

Creates a histogram chart.

Parameters
chartControlChart control reference.
dataSeriesNameName of the series which stores the original data.
histogramSeriesNameName of the histogram series.

Member Data Documentation

int CShell.Modules.Sink.ViewModels.PlotSinkViewModel.HistogramChartHelper.SegmentIntervalNumber = 20

Number of class intervals the data range is devided in. This property only has affect when "SegmentIntervalWidth" is set to double.NaN.

double CShell.Modules.Sink.ViewModels.PlotSinkViewModel.HistogramChartHelper.SegmentIntervalWidth = double.NaN

Histogram class interval width. Setting this value to "double.NaN" will result in automatic width calculation based on the data range and number of required interval specified in "SegmentIntervalNumber".

bool CShell.Modules.Sink.ViewModels.PlotSinkViewModel.HistogramChartHelper.ShowPercentOnSecondaryYAxis = true

Indicates that percent frequency should be shown on the right axis


The documentation for this class was generated from the following file: