HistogrammInfo: IChartHistogrammInfo;
The HistogrammInfo property enables the user to determine frequency chart parameters.
Use the IChartHistogrammInfo interface to work with available parameters.
This example assumes that there is the Chart object of the IChart type.
Sub Main;
Var
Chart : IChart;
Begin
Chart.DisplayHistogramm := True;
Chart.HistogrammInfo.AutoIntervals := False;
Chart.HistogrammInfo.Intervals := 5 As Integer;
End Sub Main;
The DisplayHistogramm property is set to True to make the chart become the frequency one.
After executing the example the histogram displays 5 intervals.
See also: