title: How to change the decimal values in integers in Discrete Bar chart
body: <p>i m using the Discrete Bar chart (NVD3 Library) to display chart in my site.
  while showing graph everything is fine, but my problem is that how to change the decimal values to integers. 
  values that are showing in y-axis displaying integer values. 
  although which array i used to display values having integer values. js code which i used are below  </p>
  
  <pre><code>     nv.addGraph(function() {  
       var chart = nv.models.discreteBarChart()
      .x(function(d) { return d.label })
      .y(function(d) { return d.value })
      .staggerLabels(true)
      .tooltips(false)
      .showValues(true)
      .transitionDuration(250);
      chart.xAxis.axisLabel("&lt;?php echo $configureGrid['x_axis']['legend']; ?&gt;");
      chart.yAxis.axisLabel("&lt;?php echo $configureGrid['y_axis']['legend']; ?&gt;");
      d3.select('#issue_by_time svg')
      .datum(historicalBarChart)
      .call(chart);
      nv.utils.windowResize(chart.update);
      return chart;
      });
      });
  </code></pre>