labelFunctions on the Axes for the axis labels, dataTipFunction on the
chart for the data tips.
 
Ely.
 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lieven Cardoen
Sent: Thursday, March 22, 2007 5:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ColumnSeries NumberFormatting



I would like the columnSeries to format their data before showing. Now
sometimes I have values in my chart like 55,9999999999999.

How do I do this?

In DataGridColumn I did it like this : 

<mx:DataGridColumn 

                        dataField="type"

 
headerText="{LocaleBundle.getInstance().currentLanguageResourceBundle.ge
tString('year')}"

                        labelFunction="precisionOneNumberFormat"

                  />

In the precisionOneNumberFormat the data is formatted with a
numberFormatter.

Thx, Lieven Cardoen

 

Reply via email to