title: Google Line Chart - Show Data Values on Points by default
body: <p>I want to show data values on the line chart, i.e. which appear on mouse over, i need them all displayed by default. I tried the solution here <a href="https://stackoverflow.com/questions/13449467/google-charts-api-always-show-the-data-point-values-in-graph">Google Charts API: Always show the Data Point Values in Graph</a></p>
  
  <pre><code>data.addColumn({type: 'number', role: 'annotation'});
  </code></pre>
  
  <p>I added this to my code (I'm not sure where to put it exactly) but It didn't make any change. </p>
  
  <p>Here is part of my code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Week/Orders&lt;/title&gt;
      &lt;script type="text/javascript" src="loader.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          google.charts.load('current', {'packages':['corechart']});
  
          google.charts.setOnLoadCallback(drawChart);
          function drawChart(){
  
              var data = new google.visualization.DataTable();
              var data = google.visualization.arrayToDataTable([
  
                  ['Week','Orders'],
                  &lt;?php
                      while($row = mysqli_fetch_assoc($aresult)){
                          echo "['".$row["Week"]."', ".$row["Orders"]."],";
                      }
                  ?&gt;
  
                 ]);
  
  
              var options = {
                  title: 'Week Vs Orders',
                  'width':1700,
                  'height':600,
  
                  legend: { position: 'bottom' }
                       };
  
                 var chart = new google.visualization.LineChart(document.getElementById('curvechart')); 
                 chart.draw(data, options);  
  
          }
  
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
       &lt;div id="curvechart" style="width: 900px; height: 400px"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I have two values; Week and Orders. I need only the "Order" value displayed on the graph by default. How can I do this? Thanks. </p>