 |
 |
 |
Thank you again, Thomas.
I'm coming to the same conclusion:
XML is wonderful for interchanging data sets between databases, and (XSLT)
transformed XML and VLM are good for static chart creation (and for
rendering lists and tables). There are better data structures, however, for
rendering the kind of interactive (OLAP, pivot table, dynamic) charts that
let users quickly slice and dice the data into many different views.
It seems to me that converting XML into optimized array configurations and
storing them in a delimited text file is the most efficient way to structure
and transport data for this purpose; and rendering charts from selected
subsets of the arrays is the most efficient way achieve interactive
charting. Unfortunately, browsers aren't set up to do this directly.
Is that accurate?
If so, it would be great if something can be done to enable browser-based
scripts (or other methods) to read and render portions of arrays from
delimited text files client-side!
Steve
-----Original Message-----
From: Thomas B. Passin [mailto:tpassin@c...]
Sent: Tuesday, March 02, 2004 6:34 PM
To: xml-dev@l...
Subject: Re: [xml-dev] Using pre-arranged arrays to render charts
Stephen E. Beller wrote:
>
> I may be asking XML to do too much in this case. Is there some kind of
> JavaScript called from and XML file, or an IE plug-in, or some other way
to
> access pre-configured arrays, possibly stored in an external text file,
and
> apply appropriate parsing and rendering routines to display the chart in a
> browser?
In addition to behaviors, there are various spreadsheet plugins and
charting plugins for IE, and presumably you can program them with VB or
javascript. You could extract the data from the xml document and give
it to the plugin.
One such control is at
http://www.teemach.com/products/teechart/teechartindex.htm
I have not used it, but it says it has a COM version, so it ought to be
scriptable and usable in IE.
You might also be able to use so-called data binding within IE to get at
the data. At least, that can connect xml data to html elements, though
I am not sure if you can get from there to charting.
Whether you use one of these controls, VML, or whatever, you will
probably want to get the data out of the XML and into some other data
structures for easy access by your scripts.
Cheers,
Tom P
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php>
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |