Hi Alexandre,

 

That’s nice!

I succeeded to have the curves with colors and legends :)

 

But I would like to personalize the popupText when I hover the curve. How can I do that? Because for now it using the default print method?

 

By another hand, it is possible to zoom in the view by using the mouse wheel? I tried “b view @ RTZoomableView” and it didn’t work.

And the example RTRoassalExample>>exampleScrollZoom is not working either.

 

And one more thing, can I specify date stamps on x scale instead of array indexes?

Thanks!

 

Vincent

 

 

De : Alexandre Bergel [mailto:alexandre.bergel@me.com]
Envoyé : vendredi 1 août 2014 01:20
À : Moose-related deve
lopment
Cc : Blondeau Vincent
Objet : Re: [Moose-dev] How to show graphs from the Moose panel?

 

Hi Vincent,

 

Today I worked on what I hope will be an acceptable solution for you.

I have improved Charter to support coloring and multi-curve.

 

Try the following:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

            | b classes normalizer |
            b := RTCharterBuilder new.
            b extent: 400 @ 200.
           
            classes := RTShape withAllSubclasses.
            normalizer := RTMultiLinearColorForIdentity new objects: classes.
            classes do: [ :c |
                        | data |
                        data := (c methods reverseSortedAs: #numberOfLinesOfCode ).
                       
                        b interaction popup.
                        b shape rectangle color: (normalizer rtValue: c).
                        b points: data.
                        b connectDotColor: (normalizer rtValue: c).
            ].

            b allY: #numberOfLinesOfCode.
            b stackX.

            b axisXWithNumberOfTicks: 3.
            b axisYWithNumberOfTicks: 4.
            b open.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 

Here is the output:

 

 

Each square is a method and shows its source code as tooltip.

 

Let me know whether this is useful. And if not, how I can help.

 

Cheers,

Alexandre

 


On Jul 30, 2014, at 12:01 PM, Blondeau Vincent <vincent.blondeau@worldline.com> wrote:


Hi,
 
Yes by graph I mean curves.
I used GraphET to compare some curves at the same time because Charter is very low level for what I want, and EyeSee is not loaded in Moose.
 
So with GraphET and 2 or 3 curves that’s manageable.
But if I want to do a graph like that, with 10 curves:
<image002.png>
How can I retrieve the names of the curves? Automatic colors and legend? Popups?
 
Thanks in advance.
 
 
Cheers,
Vincent Blondeau
 
-----Message d'origine-----
De : moose-dev-bounces@iam.unibe.ch [mailto:moose-dev-bounces@iam.unibe.ch] De la part de Alexandre Bergel
Envoyé : jeudi 24 juillet 2014 18:38
À : Moose-related development
Objet : [Moose-dev] Re: How to show graphs from the Moose panel?
 
What do you mean by graph? Simple curve?
 
You can use EyeSee or GraphET2.
I have recently started to work on Charter, a Roassal builder to draw graph.
You can try it:
-=-=-=-=-=-=-=-=-=-=-=-=
                | b |
                b := RTCharterBuilder new.
                b extent: 400 @ 400.
                b shape ellipse color: (Color blue alpha: 0.5).
                b points: (0.0 to: 1.0 by: 0.05).
                b curve.
 
                b y: [ :v | v sqrt ].
                               
                b axisXWithNumberOfTicks: 3.
                b axisYWithNumberOfTicks: 4.
                b open.
-=-=-=-=-=-=-=-=-=-=-=-=
 
If you have particular request for Charter, we will implement them.
Charter is still very raw...
 
Alexandre
 
 
On Jul 24, 2014, at 11:15 AM, Blondeau Vincent <vincent.blondeau@worldline.com> wrote:
 
> Hello everyone,

> In a former moose version, it was being able to do on a MooseGroup : Browse>>In Eye See Editor.
> Now it is not possible…

> What tool should I use to draw graphs?

> Thanks in advance

> Cheers,

> Vincent BLONDEAU

>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
> _______________________________________________
> Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
 
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
 
 
 
 
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.

 




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.