Hi everybody,
 
I try to use the chart examples furnished by Macromedia unsuccessfully.
I have always recieved the same error message for each chart examples :
 
*****PROPERTY ELEMENTS MAY NOT HAVE ATTRIBUTES*****
 
can you help me about this problem?
 
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Script>
  var expenses = [
{Month: "January", Profit: 2000, Expenses: 1500, Amount: 450},
{Month: "February", Profit: 1000, Expenses: 200, Amount: 600},
{Month: "March", Profit: 1500, Expenses: 500, Amount: 300},
{Month: "April", Profit: 500, Expenses: 300, Amount: 500},
{Month: "May", Profit: 1000, Expenses: 450, Amount: 250},
{Month: "June", Profit: 2000, Expenses: 500, Amount: 700}
];
  </mx:Script>
<mx:PlotChart id="plot" dataProvider="{expenses}" showDataTips="true">
<mx:series>
<mx:Array>
<mx:PlotSeries xField="Expenses" yField="Profit" name="Plot 1" />
<mx:PlotSeries xField="Amount" yField="Expenses" name="Plot 2" />
<mx:PlotSeries xField="Profit" yField="Amount" name="Plot 3" />
</mx:Array>
</mx:series>
</mx:PlotChart>
<mx:Legend dataProvider="{plot}" />
</mx:Application>
 
Thanks for your help!
 
David
 
PS: I have even imported mx.charts.*

**********************************************************************

Coface facilite les echanges entre les entreprises partout dans le monde. Pour cela, elle offre a toutes les entreprises des solutions pour gerer, financer et proteger leur poste client, en leur permettant d'externaliser tout ou partie de la gestion et des risques lies a leurs relations commerciales. Coface est notee AA par Fitch Ratings et Aa3 par Moody's.

Pour en savoir plus, http://www.coface.fr

Coface facilitates business-to-business commerce worldwide. It offers all size companies an array of solutions to manage, finance, and protect their accounts receivables affording them the option of fully or partly outsourcing trade relationship management and attendant risks. Coface is rated AA by Fitch ratings and Aa3 by Moody's.

More about Coface, http://www.coface.com

WARNING :

- Soyez conscient que notre systeme Anti-Spam peut parfois rejeter des messages, soit parce que certains mots et types de fichiers ne sont pas acceptes, ou bien parce que le mail n'a pas ete identifie correctement.

- Be aware that from time to time our Anti-Spam system may reject mails either because some words and types of files are not allowed or because mails are misidentified.

**********************************************************************



Yahoo! Groups Links

Reply via email to