fusioncharts - fusion charts x axis values issue -


i rendering chart using fusion charts free:

var strxml = "<graph caption='ideation' shownames='1' decimalprecision='0' canvasborderthickness='0' labeldisplay='auto'>";                 strxml  += "<set name='submitted' value='" + idsub+  "' color='2595ff'/>";                 strxml  += "<set name='under review' value='" + idundr+  "' color='ffc000'/>";                 strxml  += "<set name='approved' value='" + idapp+  "' color='00b050'/>";                 strxml  += "<set name='rejected' value='" + idrej+  "'     color='990000'/></graph>";              var chart4 = new fusioncharts("fusionchartsfree/charts/fcf_bar2d.swf", "chartid", "300", "200");             chart4.setdataxml(strxml);                   chart4.render("chartideation"); 

and got chart rendered:
chart

x-axis shows incorrect values: 0,1,1,2,2,3. bars should end on grid lines e.g: approved

this due decimalprecision set 0. axis seems small , disregarding decimal points. 1.1 or 2.5 shown 1 or 2.

also upgrade latest version.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -