JSFiddle - React, Tailwind, and code Playground

by KSK Kushwah

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container"></div>

JavaScript

Highcharts.chart('container', {
series: [{
		type: 'area',
    data: [80000, 80000],
    marker: {enabled : false},
    color: {
    linearGradient: { x1: 0, x2: 0, y1: 0, y2: 1 },
    stops: [
        [0, 'blue'],
        [1, 'red']
    ]
    }
  }]
});