title: How to change bar color at a specific value with Apex Charts?
body: <p>Is there a way to change the color of a bar on Apex charts below a specific value? For example when a weight above 200 lbs the bar changes red.</p>
  <p>Here is the code I am working with but I am not quite sure what I am supposed to put for value, seriesIndex, and w</p>
  <pre><code>colors: ['#02DFDE'],
               fill: {
                   colors: [function({ value, seriesIndex, w }) {
                      if(value &lt; 360) {
                        return '#FF0000'
                    } else {
                        return '#02DFDE'
                    }
                  }]
           },
  </code></pre>