Closed GoogleCodeExporter closed 9 years ago
Edit: only setWidth(String) is not working properly. setWidth(int) is ok...
Original comment by pkacz...@gmail.com
on 3 Aug 2010 at 8:06
setWidth("300px") is working. If you want to define a width in percentage, you
have to set the width of the parent. The following code is working for me :
SimplePlot plot = new SimplePlot( model, plotOptions );
plot.setWidth( "80%" );
plot.setHeight( "40%" );
SimplePanel panel = new SimplePanel(plot);
panel.setSize( "800px", "800px" );
Original comment by nmr.morel
on 4 Jan 2012 at 9:14
Original issue reported on code.google.com by
pkacz...@gmail.com
on 2 Aug 2010 at 4:51