Hello
I want to use EyeSee and I've some questions:
first, how to give different colors to 'Bars' into a verticalBarDiagram?
precisely, if: models := (models1 union: models2), how to say to diagram that:
if models1 includes: current then
current visualBar color -> #green
else
current visualBar color -> #red
??
I did this but It does not work:
|diag models removedModels|
models := ...
removedModels := ...
diag := Smalltalk.EyeSee.DiagramRenderer new.
(diag verticalBarDiagram)
y: #size;
regularAxis;
gridLine;
color: [:each| models includes: each];
models: (models addAll: removedModels; yourself).
diag open.
thanks,
Hani