ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  need help formatting numbers with comma separator
Posted by Michael on Feb-24-2013 09:41
Hi

I'm using CD with ColdFusion 9.

I'm trying to get the data labels on a bar chart to format correctly, but can not figure it out.

If the value is 60000    what gets displayed is  60.000  what I would like is 60,000

I'm using this code:

layer.setAggregateLabelFormat("{value|,}");

My page is set for UTF-8 characters

Could you provide some help.  I am new to CD.

Thx

Michael

  Re: need help formatting numbers with comma separator
Posted by Michael on Feb-24-2013 14:08
Hi

Please ignore my earlier request.

I was feeding CD some erroneous data.  Once I corrected it, the number formatting worked.

Thx