hallo erstmal...
a simple BarChart,
The model is a collection of chart description items,
each being a dictionary filled with entries for:
#value aNumber the numeric value
#color aColor the color
see example on how to fill such a chartDescription model.
This was one if the author's very first smalltalk programs ever.
So please excuse any odd code.
[instance variables:]
minWidth left Viewport limit
maxWidth right Viewport limit
maxHeight top Viewport limit
minHeight bottom Viewport limit
xAbstand difference between vertical lines
yMaxScale limit of horizontal value
anzahl number of values
summe summe of all values
maxWert biggest value
schrumpf factor of ...
aod Aray of Dictionaries
foregroundColor color for label
backgroundColor color for background lines
label1 name of bar chart
style fontstyle
newfont
oldfont