-----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