Matt,
The problem come from this portion of code:
 
<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" />
 
I re-write it without success.
After submitting my problem to Macromedia, they mentionned it could come from the version of Flex as you said but I try Flex 1.5 et Flex Builder 1.5.
I have the feeling that the problem is a parsing problem concerning the chart tag I have because for any chart I tried to test I recieved the same alert...
 
What is the logic behind the editing of chart? (and other mxml composant)
 
They are looking for.


De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Matt Chotin
Envoyé : jeudi 9 juin 2005 02:54
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Chart examples

Your code looks correct, maybe there’s a character by accident in one of your tags?  It should tell you what line it is looking at when it sees this error.

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of david_gal-reyniez
Sent: Wednesday, June 08, 2005 1:24 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Chart examples

 

Matt,

Is that possible that the error is generated by a wrong/reduced class PlotSeries.as?

It seems that the message is due to a defect xml structure. Don't you think so?

I don't find the chart classes to look at them. Do you know where I can find them.

Thanks.

David

 


De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] De la part de Matt Horn
Envoyé : mardi 7 juin 2005 19:13
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Chart examples

No, that should have no effect here... certainly not the source of that error message. I'm sorry, I can't reproduce this error.

 

m

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of david_gal-reyniez
Sent: Tuesday, June 07, 2005 11:40 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Chart examples

Matt,

I have the same version but this is the trial version. Is that the reason why?

David

 


De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] De la part de Matt Horn
Envoyé : mardi 7 juin 2005 17:28
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Chart examples

David, I copied and pasted the code in this email exactly as written and it runs fine for me. What version of Flex are you using? I tried it with 1.5.

 

matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of david_gal-reyniez
Sent: Tuesday, June 07, 2005 4:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Chart examples

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.

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

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

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.

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

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

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.

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

 

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

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