View Full Version : Chart Component
yshen
07-05-2006, 01:48 AM
Hi,
Is there any chart component available in Laszlo right now?
notzippy
07-05-2006, 06:38 AM
The beta version of charts is available, check the references -> http://www.openlaszlo.org/lps-latest/docs/reference/index.html
aquatic
07-10-2006, 07:19 PM
yes..., it's pretty cool for beta version
btw itsn't work for date / time format yet...
Is there anyone has made modification the chart to work with date/time data format?
may you share it here... ;)
I have tried what Richard(Li Ruichao) made (His chart available in this forum), although its work with date format, but itsn't work with time format. :(
or perhaps i do something wrong with his chart (because in his documentation he descripe, his chart work for date/time format)
plz... I need both of this data format work in chart
thx....
notzippy
07-10-2006, 07:24 PM
Did you need the dates to be linear ? Or simply sorted ?
If just sorting is required it is fairly easy thing to do with the datapath
aquatic
07-11-2006, 09:22 PM
Hi notzippy...
I need the dates to be linear one...
what should I do...
any suggestion will be appreciate...
thanks..
notzippy
07-12-2006, 07:59 AM
Ok
Ok, first off the date should be retrieved in the format YYYYmmdd (This can be treated as a "number" "linear" in your series definition). Then you want to override the method "renderLinearTick" in your axis definition. You will need to perform the same operation as the method defined in axis.lzx, However you will need to perform your range calculations in a date sensitive manner. This will involve some date operations in javascript but it should work..
z
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.