Hi,

You can do that using a compositeDiagram. Below you can check a simple example:

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.
    ^ compDiag open

regards,

On Thu, May 3, 2012 at 10:36 AM, Andre Hora <andrehoraa@gmail.com> wrote:

Hi
I don't have access to an image now to send you code but you can have a look into the class ESExamples. There are several examples there.

Regards,

On May 3, 2012 12:59 AM, "Franco Sabadini" <fsabadi@gmail.com> wrote:
Hi,

I'm working with EyeSee to create some charts in Moose but unfortunately I haven't been able to create multiple lines in a single line chart, is this possible? and if so does anyone have some sample code to share?

Thanks.


Franco

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
Andre Hora