Need help with Horizontal histogram!
Posted: Fri May 09, 2008 3:48 pm
I've been using TeeChart successfully with line and bar charts however I'm having trouble with a horizontal Histogram.
I have a range or numbers, for example one hundred numbers between 1 and 5. In other words x number are 1, x number are 2, x number are 3 etc etc.
I need to plot the nmbers 1 - 5 on the Y axis and the number of occurences on the X and display horizontal bars displaying the number of occurences for each. Something like this
5 ||||||||||||
4 ||||||
3 |||||||||||||||||
2 ||||
1 ||||||||||||
0 5 10 15 20 25
I'm having trouble creating a series and adding it in such a way to produce the chart required. Any help would be much appreciated, many thanks.
I have a range or numbers, for example one hundred numbers between 1 and 5. In other words x number are 1, x number are 2, x number are 3 etc etc.
I need to plot the nmbers 1 - 5 on the Y axis and the number of occurences on the X and display horizontal bars displaying the number of occurences for each. Something like this
5 ||||||||||||
4 ||||||
3 |||||||||||||||||
2 ||||
1 ||||||||||||
0 5 10 15 20 25
I'm having trouble creating a series and adding it in such a way to produce the chart required. Any help would be much appreciated, many thanks.