title: How to remove decimal values in google material charts
body: <p>Is it possible to remove decimal numbers in vertical axis? I'm trying to display two charts but I don't know how to remove these decimal numbers because option <strong>ticks</strong> is not working in material charts.</p>
  
  <p><strong>Code of script which is displaying charts:</strong></p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
              // Load the Visualization API and the line package.
  
  google.charts.load('current', {'packages':['bar']});//  google.charts.load('visualization', '1', {'packages':['corechart']}); 
  
  
              // Set a callback to run when the Google Visualization API is loaded.
  google.charts.setOnLoadCallback(drawChart);
  
  function drawChart() {
  
     var data = google.visualization.arrayToDataTable([
      ['Rok', 'Pocet'],
  
      &lt;?php
      foreach ($chart_data as $data) {
            echo "['".$data["rok"]."', ".$data["pocet"]."],";
  
     }
       ?&gt;
  
  
  
      ]);
  
      var data2 = google.visualization.arrayToDataTable([
      ['Rok', 'Pocet'],
  
      &lt;?php
      foreach ($customers_data as $data) {
            echo "['".$data["rok"]."', ".$data["pocet"]."],";
  
     }
       ?&gt;
  
  
  
      ]);     
  
      var options = {
                    chart: {
                          title: 'Chart 1',
  
                     },
  
  
                  };
  
      var options2 = {chart: {
                          title: 'Chart 2',
  
                     },
  
                  };
  
  
  
      var chart = new google.charts.Bar(document.getElementById('columnchart_material')); 
  
      chart.draw(data,google.charts.Bar.convertOptions(options));
  
      var chart2 = new google.charts.Bar(document.getElementById('columnchart_material2'));    
  
      chart2.draw(data2,google.charts.Bar.convertOptions(options2));
  
              }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>It's now displaying like this: <a href="https://i.stack.imgur.com/7TyH5.png" rel="nofollow noreferrer">Current state</a></p>
  
  <p>And I want to just display 0, 1, 2...</p>
  
  <p>Thank you for all suggestions.</p>