[Laszlo-user] Charting [SEC=UNCLASSIFIED]
peter.foley@abs.gov.au
peter.foley at abs.gov.au
Wed Apr 11 22:38:38 PDT 2007
I am looking at OpenLazslo as 1 of several ways of providing interactive
charting facilities to our statistics users. So far it is looking promising
but I have run into a few "showstoppers". I don't know if they are bugs.
I have modified LineChart to change it to ScatterChart (just removed line
drawing) and have been adding some new features.
1. My aim is to allow users to select different statistics to plot at
runtime e.g. age, sex, location, year. One of the features I have added is
map the size of a datapoint to a datacolumn. This works fine but when I
added a new attribute to datacolumn to allow the size to be scaled (so it
fits on the screen) I ran into a problem. Setting the scale to a constant
works fine but setting the scale to a data bound variable causes the chart
to not display at all (no axes, no points).
2. I would like to animate the chart based on year. How would I do that?
3. If a series only has a single item charting fails. I think this is
because xmlpathQuery returns a string not a nodeset so that series.length
gives the length of the string (e.g. 2007 gives length 4) not 1. Is this a
bug?
Thanks
------------------------------------------------------------------------------------------------
Free publications and statistics available on www.abs.gov.au
More information about the Laszlo-user
mailing list