Number format 12,345,678.12 without , between integer (12345678.12)

25 views
Skip to first unread message

roberto taormina

unread,
Jun 21, 2016, 10:30:14 AM6/21/16
to Google Visualization API
I have this example

<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
 
<script type="text/javascript">
  google
.charts.load('current', {packages: ['corechart', 'bar']});
google
.charts.setOnLoadCallback(drawBasic);

function drawBasic() {

 
var data = google.visualization.arrayToDataTable([
         
['Giorni', 'Euro'],
['1', 0.00],
['2', 0.00],
['3', 0.00],
['4', 0.00],
['5', 0.00],
['6', 0.00],
['7', 0.00],
['8', 0.00],
['9', 0.00],
['10', 0.00],
['11', 0.00],
['12', 800.23],
['13', 980.00],
['14', 600.00],
['15', 1299.00],
['16', 777.00],
['17', 0.00],
['18', 0.00],
['19', 0.00],
['20', 0.00],
['21', 0.00],
['22', 0.00],
['23', 0.00],
['24', 0.00],
['25', 0.00],
['26', 0.00],
['27', 0.00],
['28', 0.00],
['29', 0.00],
['30', 0.00],
     ]);

     
var options = {
        title
: 'Foglio cassa del mese di',
        hAxis
: {
          title
: '',
          format
: 'number',
          viewWindow
: {
            min
: [7, 30, 0],
            max
: [17, 30, 0]
         
}
       
},
        vAxis
: {
          title
: ''
       
}
     
};

     
var chart = new google.visualization.ColumnChart(
        document
.getElementById('chart_div'));

      chart
.draw(data, options);
   
}
 
</script>
 
<div id="chart_div"></div>

I would like to see far The numelo Value Without comma ( , ) See picture


Io vorrei far visualizzare il valore del numelo senza virgola (,) Vedi immagine
00.jpg

Henry Harrison

unread,
Jun 22, 2016, 8:08:49 AM6/22/16
to Google Visualization API
Reply all
Reply to author
Forward
0 new messages