IChartHistogrammInfo.Intervals

Syntax

Intervals: Integer;

Description

The Intervals property determines the number of histogram intervals. To determine the number of intervals, set the AutoIntervals property to False.

Example

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;

After executing the example 5 intervals are displayed on the histogram.

See also:

IChartHistogrammInfo