title: Highcharts, how to use gradient without setting a color?
body: <p>I'm looking to set a gradient color for my graph area's where the color goes from it's "default" color to white/transparent.</p>
  
  <p>I'm working how can I "Choose" not set a value and let it auto decide the area color.</p>
  
  <p>This is what my code is producting now: 
  <a href="https://i.stack.imgur.com/UXAS6.png" rel="nofollow noreferrer">image of my graph now</a></p>
  
  <p>(I'm looking to match the fill color to the "outline" color that's auto set)</p>
  
  <p>Code that's being used to set this "yellow-ish color" right now</p>
  
  <pre><code>        linearGradient: {
            x1: 0,
            y1: 0,
            x2: 0,
            y2: 1
          },
          stops: [
            [0, "#ffff00"],
            [
              1,
              Highcharts.color("#DADADA")
                .setOpacity(0)
                .get("rgba")
            ]
          ]
        },
  </code></pre>