Number Formatting in FusionCharts
|
||||
|
||||
1)Controlling decimal precision (小数位控制) | ||||
<chart ... decimals=‘2‘ > |
||||
|
||||
<chart ... forceDecimals=‘1‘ > |
||||
|
||||
2)Automatic number formatting (格式转换) | ||||
|
||||
|
||||
<chart formatNumberScale=‘0‘..> |
||||
|
||||
<chart ... formatNumber=‘0‘ formatNumberScale=‘0‘ ..> : |
||||
|
||||
|
||||
<chart ... decimalSeparator=‘,‘ thousandSeparator=‘.‘ >
|
||||
|
||||
3)Adding number prefix and suffix (给数字添加前缀和后缀) | ||||
<chart numberPrefix="$"> 例如: $40000, $50000. <chartnumberSuffix="25%"> 例如: 25% |
||||
|
||||
4)Y-axis values decimal formatting in manual div-lines mode (Y轴数字设置) | ||||
<chart yAxisMinValue=‘115‘ yAxisMaxValue=‘140‘ adjustDiv=‘0‘ numDivLines=‘3‘ >
|
||||
|
||||
<chart yAxisMinValue=‘115‘ yAxisMaxValue=‘140‘ adjustDiv=‘0‘ numDivLines=‘3‘ yAxisValueDecimals=‘2‘ decimals=‘0‘ > |
||||
|
原文:http://www.cnblogs.com/yuany69/p/6394462.html