[aida] WebCharts
Francisco A. Lizarralde
st.easy.rider at gmail.com
Sat Mar 7 23:55:54 CET 2009
Hi all,
I trying to play with WebCharts. This is the code I use:
viewStats
| e chart |
e := WebElement new.
e addTextH1: 'Stats'.
e addBreak.
e add: self viewTabComponent.
chart := WebChart new
addData: {1 at 2. 2 at 3. 3 at 4. 4 at 5} label: 'label1';
addData: {1 at 4. 2 at 3. 3 at 1. 4 at 2. 5 at 3} label: 'label2'.
chart legend show: true;
position: 'nw'.
chart lines show: true;
lineWidth: 3.
e addTextH1: 'Stats'.
e addBreak.
e add: chart.
self pageFrameWith: e title: 'Stats'.
but when I refresh the page, I only see the header of the TabView. I
don't know what's I'm doing wrong.
Any help would be appreciated.
Thanks in advance,
Best regards,
Francisco
PD. I'm using AidaWeb 5.6 on Damien's web image.
More information about the Aida
mailing list