Abd - 2006-08-18

Hi,

I am struggling to set the chart image size programmatically.

I've tried it with the example provided by adding a getSize() method but it does not work.

<jsp:useBean id="pageViews" class="org.ee04569.olap.ui.PageViewCountData"/>
<cewolf:chart
    id="line"
    title="Page View Statistics"
    type="verticalBar3D"
    xaxislabel="Page"
    yaxislabel="Views">
    <cewolf:data>
        <cewolf:producer id="pageViews"/>
    </cewolf:data>
</cewolf:chart>
<p>
<cewolf:img chartid="line" renderer="cewolf" width="<%= pageViews.getSize() %>" height="300"/>

Can anyone please help?

Abd