Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scaled bar chart

Status
Not open for further replies.

derHans

Programmer
Jul 29, 2009
5
TW
Hallo,
I have a problem by drawing a special kind of bar chart to show the derivation of measurement values.

_________________________________________
90 |_________________________|X|_____________
80 |_________________________|X|_____________
70 |_______________|X|_______|X|_____________
60 |____|X|________|X|_______|X|_____________
50 |____|X|________|X|_______|X|_______|X|___
20 - 30 ' 30 - 40 ' 40 - 50 ' 50 - 60'

I get from the data values between 0 and 60. What I have to do is to show the number of values which have a value between 20 and 30, 30 and 40 and so on.

My question is: how can I group the values easily? The best would be if I could auto scale the x-axis so crystal reports knows, that it shall draw 4 bars and if need 6 bars I only enter this number.

One way I tought about was to create running totals and adding thease to the bar chart. But then I have no autoscaling if a value appears I did not prepare.

Thank you for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top