Thanks a lot Andre this works great :).
EyeSee in squeaksource.
On May 15, 2012 10:16 PM, "Chris Cunningham" <cunningham.cb@gmail.com> wrote:On Tue, May 15, 2012 at 2:02 AM, Andre Hora <andrehoraa@gmail.com> wrote:
>
> Chris, if you download the last EyeSee the regular axis (#regularAxis) will
> work fine. It automatically creates the steps size, instead of step 1.
> Below you can check the code:
>
> lineBarCompositeDiagram2
> "self new lineBarCompositeDiagram2"
>
> | diag1 diag2 diag3 compDiag model1 model2 model3 |
>
> model1 := #(30 29 25 31 28 24 22 26).
> model2 := #(14 24 21 11 22 13 43 21).
> model3 := #(0 20 25 14 18 12 12 15).
>
> diag1 := (ESDiagramRenderer new lineDiagram)
> y: #yourself;
> models: model1;
> regularAxis;
>
> defaultColor: Color red;
> yourself.
>
> diag2 := (ESDiagramRenderer new lineDiagram)
> y: #yourself;
> defaultColor: Color green;
> models: model2;
> yourself.
>
> diag3 := (ESDiagramRenderer new lineDiagram)
> y: #yourself;
> defaultColor: Color blue;
> models: model3;
> yourself.
>
> compDiag := ESDiagramRenderer new.
> (compDiag compositeDiagram)
> add: diag1;
> add: diag2;
> add: diag3;
> preferredAxisMaxY: 45.
> ^ compDiag open
>>
>>
>> -Chris
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev@iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>
> --
> Andre Hora
Andre,
That does look good. Which repository is the latest stored in?
-Chris
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev