-----Message d'origine-----
De : moose-dev-bounces(a)iam.unibe.ch [mailto:moose-dev-bounces@iam.unibe.ch]
De la part de Kevin Lanvin
Envoyé : lundi 6 janvier 2014 17:11
À : Moose-related development
Objet : [Moose-dev] Re: [Pharo-dev] Feature for request for GraphET?
It seems that 'chart' isn't even written in Graph-ET Package.
I didn't find anything interesting in extra files too.
I don't understand where this id is used.
I thought it was just for css , or just rendering axis and so on ...
Ok, I think that the id tag used is "roassal-canvas". Look at the method
named paper in RORaphaelCanvas (package ARoassal-Raphaeljs).
Maybe you have to modify and extend it to add another graph.
Check if you use this tag for your first chart.
Thank you for helping
----- Mail original -----
De: "Vincent BLONDEAU"
<vincent.blondeau(a)polytech-lille.net>
À: "Moose-related development" <moose-dev(a)iam.unibe.ch>
Envoyé: Lundi 6 Janvier 2014 16:54:25
Objet: [Moose-dev] Re: [Pharo-dev] Feature for request for GraphET?
-----Message d'origine-----
De : moose-dev-bounces(a)iam.unibe.ch
[mailto:moose-dev-bounces@iam.unibe.ch]
De la part de Kevin Lanvin
Envoyé : lundi 6 janvier 2014 15:30
À : Moose-related development
Objet : [Moose-dev] Re: [Pharo-dev] Feature for request for GraphET?
Hello,
I'm displaying a graph on the web , and it's working well, but then I
want tu put a second diagram on my page.
But diagrams are displayed in <div id="chart"></div> So i can't
use a
second division to display another one.
Could it be possible to use class instead of id ?
Hi Kevin,
I think you can't use the class tag instead of id.
The id tag has to be unique in the web page.
Class tag is not unique and it's used mostly for the css tags.
If you want to display two diagrams in the page, put the tag : <div
id="chart1"></div> as a placeholder for the first and <div
id="chart2"></div> for the second.
You have to set also the controller (GraphET) to display the right
chart in the right tag, by default, it seems to be set with "chart".
I hope that it will help,
Vincent Blondeau
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev