Comunidad de diseño web y desarrollo en internet online

Flex Chart: showDataTips (+de2campos)

Citar            
MensajeEscrito el 09 Oct 2008 05:31 am
Hola, tengo una duda, tengo un gráfico en Flex:

//el xml

Código :

<xml>   
      <r Month="Jan" Profit="2000" Expenses="1500" campo="3campo"/>
      <r Month="Feb" Profit="1000" Expenses="200" campo="3campo"/>
      <r Month="Mar" Profit="1500" Expenses="500" campo="3campo"/>
</xml>


//el mxml

Código :

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="lcXMLrqst.send()">
<mx:HTTPService id="lcXMLrqst" url="xml/LineChart.xml"/>
     <mx:LineChart id="myChart" dataProvider="{lcXMLrqst.lastResult.xml.r}" showDataTips="true">
        <mx:horizontalAxis>
           <mx:CategoryAxis dataProvider="{lcXMLrqst.lastResult.xml.r}" categoryField="Month"/>
        </mx:horizontalAxis>
        <mx:series>
           <mx:LineSeries yField="Profit" displayName="Profit"/>      
           <mx:LineSeries yField="Expenses" displayName="Expenses"/>     
        </mx:series>
     </mx:LineChart>   
</mx:WindowedApplication>

Es posible agregar un tercer campo en el cuadro del showDataTips?, por lo que tengo entendido se incluye en dicho cuadro el categoryField y el yField, es decir los valores que justamente pertenecen a la tabla. Ahora bien, yo necesitaria incorporar un 3er valor a este cuadro, que no juega un papel dentro de la gráfica, es un dato que repercute en este pero no se ve y quiero que sea incorporado al cuadro de tips. Es posible lograrlo? Como? Gracias.

Por COOKERNATOR

43 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 09 Oct 2008 01:54 pm

Por master_of_puppetz

Claber

2483 de clabLevel

7 tutoriales
3 articulos

Genero:Masculino   Premio_Secretos

WebDev (Flex + PHP + JS)

safari

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.