The code is like this:
 <script type="text/javascript">
    google.load('visualization', '1.1', {packages: ['line']});
    google.setOnLoadCallback(drawChart);

    function drawChart() {

      var data = new google.visualization.DataTable();
      data.addColumn('string', 'Time');
     if(<?php if(isset($cha1)) echo $cha1; else echo "0"; ?>==1) {data.
addColumn('number', 'Zone 1');}
      if(<?php if(isset($cha2)) echo $cha2; else echo "0"; ?>==1){ data.
addColumn('number', 'Zone 2');}
      if(<?php if(isset($cha3)) echo $cha3; else echo "0"; ?>==1) {data.
addColumn('number', 'Zone 3');}
      if(<?php if(isset($temp)) echo $temp; else echo "0"; ?>==1) {data.
addColumn('number', 'Temp');}
      
     data.addRows(<?php echo $chart_data ?>);
    
    //alle WErte
      if(<?php if(isset($axe)) echo $axe; else echo "0"; ?>==1){  
      var options = {
        chart: {
          title: 'Data'
        }, 
        
        height:600,        
        chartArea:{left:30,top:30,width:'100%',height:600},
        series: {
          // Gives each series an axis name that matches the Y-axis below.
         
         0: {axis: 'ppm'},
         1:{axis: 'ppm'},
         2:{axis: 'ppm'},
         3:{axis: 'C'},
          
        },
        axes: {
          // Adds labels to each axis; they don't have to match the axis 
names.
         y: {
            ppm: {label: '<?php echo $unitaktuell ?>'},
            C: {label: '°C'}

          }
        }

      };} var chart = new google.charts.Line(document.getElementById(
'linechart_material'));

      chart.draw(data, options);
    }
    
    // Make the charts responsive
      jQuery(document).ready(function(){
        jQuery(window).resize(function(){
          drawChart();
        });
      });

  </script>



Am Montag, 7. März 2016 18:33:07 UTC+1 schrieb Nadja:
>
> Hello,
>
> I have a line chart.
> If the numbers are very big, it is shown like this "24Tsd.". but "Tsd." is 
> german, isn't it? How can I change it to english?
> Thank you very much
> Nadja
>

-- 
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/1a1177e8-8c15-4033-804b-2c17a63dcb05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to