yacoubean Report post Posted July 5, 2012 We are using MSArea.swf, and we have a data value of 9.00. We want to show the '00' after the decimal. I have tried everything I can find, and I've searched high and low, but I cannot get that 00 to show. If I change the value to 9.01 the decimals show. Here's the XML: <chart yAxisValuesPadding='0' plotFillAlpha='100' plotBorderAlpha='100' bgColor='ffffff' forceDecimals='2' decimals='2' numberPrefix='' numberSuffix='¢' yAxisMaxValue='13' yAxisValuesStep='2' valuePadding='3' placeValuesInside='1' outCnvBaseFontColor='666666' caption='Standard Residential Plan' subcaption='' xAxisName='Monthly kWh Usage' yAxisName='Cents per kWh' showNames='1' showValues='0' numVDivLines='10' plotGradientColor='' showAlternateVGridColor='0' showlegend='0' AlternateVGridColor='ffffff' divLineColor='ffffff' vdivLineColor='e1f5ff' baseFontColor='666666' canvasBorderThickness='0' showBorder='0' showPlotBorder='1' plotBorderThickness='0'> <categories> <category label='0'/> <category label='400' showLabel='0'/> <category label='800'/> <category label='1400' showLabel='0'/> <category label='2000'/> <category label='3000' showLabel='0'/> <category label='4000' showLabel='0'/> </categories> <dataset seriesName='0-800' color='ffcb4f' showvalues='1' plotBorderColor='333333'> <set value='7.24' showvalue='0'/> <set value='7.24'/> <set value='7.24' showvalue='0'/> </dataset> <dataset seriesName='801-2,000' color='ffcb4f' showvalues='1' plotBorderColor='333333'> <set/> <set/> <set value='8.05' showvalue='0'/> <set value='8.05'/> <set value='8.05' showvalue='0'/> </dataset> <dataset seriesName='2,001 Over' color='ffcb4f' showvalues='1' plotBorderColor='333333'> <set/> <set/> <set/> <set/> <set value='9.00' showvalue='0'/> <set value='9.00'/> <set value='9.00' showvalue='0'/> </dataset> </chart> As you can see, I am using both the "forceDecimals" and "decimals" attributes, to no avail. Share this post Link to post Share on other sites
Guest Bindhu Report post Posted July 6, 2012 (edited) Hi, Welcome to the FusionCharts Forum Thank you for the post. Please modify your code and set the attribute "forceDecimals" to 1 instead of 2. It is of type "boolean". Please find attached screen shot of the chart rendered with the above settings applied. Also, for more details on ' Multi-series Area 2D Chart Specification Sheet', please refer to the link below, http://docs.fusioncharts.com/charts/contents/?ChartSS/MSArea2D.html Hope this helps! Edited July 6, 2012 by Bindhu Share this post Link to post Share on other sites
yacoubean Report post Posted July 6, 2012 Please modify your code and set the attribute "forceDecimals" to 1 instead of 2. It is of type "boolean". That fixed it! Thanks! Share this post Link to post Share on other sites