Hi,

When I export data from rrdtool I get a xml-file with multiple values
with the same element-name (v). Does anyone know of a simple way to
transform the XML before it hits the Chart so that I can have multiple?

Rickard.

<xport>
<data>
<row><t>1153470600</t><v>6.3773341734e+01</v><v>6.1874135668e+01</v></row>
<row><t>1153470900</t><v>6.3837381056e+01</v><v>6.1822602388e+01</v></row>
<row><t>1153472100</t><v>6.8332877136e+01</v><v>6.6292065226e+01</v></row>
</data>
</xport>


<mx:AreaChart id="mychart" height="244" width="100%"
paddingRight="5" paddingLeft="5"
showDataTips="true"
dataProvider="{httpService.lastResult.xport.data.row}" >

<mx:horizontalAxis>
<dta:EgenDateTimeAxis parseFunction="myDateParseFunction"
displayLocalTime="true"/>
</mx:horizontalAxis>

<mx:verticalAxis>
<mx:LinearAxis baseAtZero="true" maximumLabelPrecision="2" />
</mx:verticalAxis>

<mx:series>
<mx:AreaSeries yField="v" xField="t" form="curve" displayName="Load" />
</mx:series>
</mx:AreaChart>








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to