C# 클래스 System.Windows.Forms.DataVisualization.Charting.Utilities.HistogramChartHelper

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.
파일 보기 프로젝트 열기: blgalvan/SIM 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SegmentIntervalNumber int
SegmentIntervalWidth double
ShowPercentOnSecondaryYAxis bool

공개 메소드들

메소드 설명
CreateHistogram ( System.Windows.Forms.DataVisualization.Charting.Chart chartControl, string dataSeriesName, string histogramSeriesName ) : void

Creates a histogram chart.

비공개 메소드들

메소드 설명
RoundInterval ( double interval ) : double

Helper method which rounds specified axsi interval.

메소드 상세

CreateHistogram() 공개 메소드

Creates a histogram chart.
public CreateHistogram ( System.Windows.Forms.DataVisualization.Charting.Chart chartControl, string dataSeriesName, string histogramSeriesName ) : void
chartControl System.Windows.Forms.DataVisualization.Charting.Chart Chart control reference.
dataSeriesName string Name of the series which stores the original data.
histogramSeriesName string Name of the histogram series.
리턴 void

프로퍼티 상세

SegmentIntervalNumber 공개적으로 프로퍼티

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

SegmentIntervalWidth 공개적으로 프로퍼티

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".
public double SegmentIntervalWidth
리턴 double

ShowPercentOnSecondaryYAxis 공개적으로 프로퍼티

Indicates that percent frequency should be shown on the right axis
public bool ShowPercentOnSecondaryYAxis
리턴 bool