title: Setting floating points in google graph charts
body: <p>I want to assign values such as 137.55 to the "number" type column in google chart and then plot it. Anytime I assign the floating number, It throws this exception :</p>
  
  <pre><code>Uncaught Error: Type mismatch. Value 32.03 does not match type number in column index 1 
  </code></pre>
  
  <p>My code is something like this :</p>
  
  <pre><code>      var data = new google.visualization.DataTable();
  
     data.addColumn('number','Loop');
     data.addColumn('number','ReqSec');
     var myTicks = new Array();
  
     var formatter = new google.visualization.NumberFormat({
         fractionDigits: 2
      });
  
     for (var i=0;i&lt;arr.length;i++){
          myVal = $.trim(arr[i][10]);
          myVal = parseFloat(Math.round(myVal * 100) / 100).toFixed(2);
          data.addRow([parseInt(i), myVal]);
          myTicks[i] = i;
     }
  
     formatter.format(data, 1);
  
    // Create and draw the visualization.
    new google.visualization.AreaChart(document.getElementById('visualization')).
        draw(data, {curveType: "function",
                    width: 700, height: 400,
                    vAxis: {title: 'Throughput'},
                    hAxis: {title: 'Loop', ticks: myTicks}}
            );
  </code></pre>
  
  <p>I tried to use formatter, but I guess it's not for floating point data type insertion. any advice or solution ?</p>