Hi,
I'm trying to display an amount of swiss francs, but I don't find the
langage associated to Swiss Francs. How can I change the local currency to
swiss francs?
Here is my code:
google.charts.load('current', {'packages':['corechart'], 'language': 'CH'});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var jsonData1 = $.ajax({
url: "xxxxx.php",
dataType: "json",
async: false
}).responseText;
var data1 = new google.visualization.DataTable(jsonData1);
var options1 = {
title : 'Total money',
vAxis: {title: 'CHF', format: 'currency'},
hAxis: {title: 'Month'},
seriesType: 'bars',
series: {}
};
options1.series[data1.getNumberOfColumns()-2] = {type: 'line'};
var chart = new google.visualization.ComboChart(document.getElementById(
'chart'));
chart.draw(data1, options1);
}
Thank you very much for the answers.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/00cefd00-d676-4746-9723-f106732125f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.