We do not know what you mean by "Could you tell how to set frequencylimits?". Are you saying that you do not know how to set the individual elements of an array ? That's pretty basic stuff.
The InitFrequencyHistogram is documented in the user manual, and its use, as seen below, is demonstrated in the FrequencyHistogram example program.
Dim freqLimits() As Double = _
{19.5, 24.5, 29.5, 34.5, 39.5, 44.5, 49.5, 54.5, 59.5}
'data to be sorted into frequency bins
Dim freqValues() As Double = _
{32, 44, 44, 42, 57, 26, 51, 23, 33, _
27, 42, 46, 43, 45, 44, 53, 37, 25, _
38, 44, 36, 40, 36, 48, 56, 47, 40, _
58, 45, 38, 32, 39, 43, 31, 45, 41, _
37, 31, 39, 33, 20, 50, 33, 50, 51, _
28, 51, 40, 52, 43}
Me.InitFrequencyHistogram(freqLimits, freqValues) '
Or you can assign the values element by element.
Dim freqLimits(8) As Double
freqLimits(0) = 19.5
freqLimits(1) = 24.5
freqLimits(2) = 29.5
freqLimits(3) = 34.5
freqLimits(4) = 39.5
freqLimits(5) = 44.5
freqLimits(6) = 49.5
freqLimits(7) = 54.5
freqLimits(8) = 59.5
The frequencyLimits set the frequency bins of the resulting histogram. Look at the example program code, run it, and study the resulting chart.
The number of frequency bins you want in the resulting histogram, and each frequency bin value, is up to you. It depends on your application. We can't tell you what values to use.
If you are still confused, please describe in much, much, more detail exactly what you do not understand.