Well, like I said charts tend to need all
of their data in order to draw anything accurately. You can simulate paging
with a chart by gradually filling in the data (and adding length as it arrives),
but a chart with no values may look very different than a chart that is filled
in, and that is usually unacceptable.
We do have a progress bar, and there are
other ways of hooking up most of what you’re asking for, you’ll
just need to see more of what we provide and play around.
Matt
Thanks Matt. I suggest charts to support paging will be
good. In future as network speed increase and we are able to process large
data available at the client side.
I think it will be more user friendly to include
progress bar, user interrupt function to halt/cancel data binding, display size
of data available etc. Or i had miss from documents, all these are
already available? I will check the documents again.
Matt Chotin
<[EMAIL PROTECTED]> wrote:
You
might want to check ! out Flex Data Services too, we have paging built right
into the system J
However
it’s worth noting that the charts do not support paged data
(where it comes down incrementally), in order to draw successfully a chart
assumes that all data is present.
Thanks alot Matt.
I had checked also
linerealtime.mxml w! hich says "In a real life scenario, you could poll
the server here, or use an XMLSocket or Flash Communication Server approach to
push data from the server to the client." Can you elaborate more on
XMLsocket and how it works?
I will try out
HTTPService with e4x. But I think using paged remote data providers may
be a better technique for my case. This could provide better
streaming-like behavior.
Matt Chotin
<[EMAIL PROTECTED]> wrote:
E4X has an xpath like syntax which may be better for you. Check
out the
XMLListCollection as something you can assign into
a chart and the e4x
operators to build the right list. Make sure
resultFormat="e4x" on the
HTTPService, it might improve performance.
Matt
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of seethinglong
Sent: Monday, March 20, 2006 11:14 PM
To: [email protected]
Subject: [flexcoders] Large XML data binding to
FLEX Chart
Hi all,
I am newbie trying to use FLEX to build chart apps
but I experience
huge problem when the data source in URL from
local hard drive is
around 6MB (request through mx:HTTPService).
Firefox 1.5, Windows XP with adobe FES had failed totally and the
memory/IO
writes reached almost 1GB/50k before firefox crashed.
Later I try with pre-compiled flash with tomcat
apache, the charts
work work sluggishly.
I would like to know is there any binding
mechanism that can stream
the XML data over through HTTP? Something
like active stream format
for movie/sound.
Is FLEX chart support JXPATH/XSLT? I w! ould
like to build a Flex chart
that allows user to enter XPATH/XSLT and produce
the chart dynamically.
Thanks for your patience in the reading.
Meanwhile I am finding the
answer myself reading ! the help documents
provided.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
New Yahoo!
Messenger with Voice. Call regular phones from your PC for low, low rates.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS