Ok Thank you

Le vendredi 19 février 2016 15:55:05 UTC+1, Gibono a écrit :
>
> 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/7482c9a8-30a3-4e8a-a63c-9eb80709315b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to