title: Google line chart line opacity
body: <p>Is there any way to change the opacity of the line in Google Line chart ?</p>
  
  <p>I am using the below code :</p>
  
  <pre><code>function drawLineChart() {
          var data = google.visualization.arrayToDataTable([
            ['Year', 'Sales', 'Expenses'],
            ['2004', 1000, 400],
            ['2005', 1170, 460],
            ['2006', 660, 1120],
            ['2007', 1030, 540]
          ]);
  
  
          var options1 = {
              legend: { position: 'bottom', maxLines: 3 },
              trendlines: {
                  1: {
                      type: 'linear',
                      color: 'green',
                      lineWidth: 10,
                      opacity: 0.3,
                      showR2: true,
                      visibleInLegend: true
                  }
              },
              title: 'Company Performance'
          };
  
  
          var chart = new google.visualization.LineChart(document.getElementById('chart_div'));
  
          chart.draw(data, options1);
      }
  </code></pre>