Hi,

I'm beguining to use JFreeChart. My tutorial is "JFreeChart and wicket
example" (http://cwiki.apache.org/WICKET/jfreechart-and-wicket-example.html).

That's work fine, except two things.

First, I think modestly there is a very little error : the tutorial
says "JFreeChart chart = (JFreeChart)getModelObject();", but it's work
better with "JFreeChart chart = (JFreeChart) getDefaultModelObject();"
for me.

Second (the question), how it is possible to set the width and height
in the html img of the graph ?

The generated html is <img wicket:id="graphe"
src="?wicket:interface=:2:votes:resultats:graphe:1:IResourceListener::">,
and I should prefer <img wicket:id="graphe"
src="?wicket:interface=:2:votes:resultats:graphe:1:IResourceListener::"
width="something" height="someother">

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to