HistogrammInfo: IChartHistogrammInfo;
The bar chartmInfo property allows to determine parameters of the frequency chart.
Use the IChartbar chartmInfo 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 Displaybar chartm property takes the True value to make the chart become the frequency one.
After executing the example the bar chart displays 5 intervals.
See also: