Tuesday, October 25, 2011

Formatting Numbers On DVT Pie.

Using numberFormatString property of dvt:pieGraph->dvt:sliceLabel->dvt:numberFormat tag, you can change the format of the number rendering on Pie graph from :


to


Here, I set the numberFormatSting to FM999,999,999,999,999 to get the desired output, as shown below:



Since numberFormat tag is deprecated now, the same view can be achieved by using af:converNumber tag instead of dvt:numberFormat tag, and by setting scaling to none, and AutoPrecision to off on dvt:sliceLabel tag.

No comments:

Post a Comment