JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="id" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function () {
$('#id').highcharts({
chart: {
type: 'line'
},
xAxis: {
tickWidth: 0,
categories: ['xaxis']
},
yAxis: {
gridLineColor: '#fff',
title: {
text: ''
},
labels: {
formatter: function() {
return '';
}
}
},
navigation: {
buttonOptions: {
enabled: false
}
},
series: [{
name: 'This ',
data: 'blue',
color: '#1e71ef'
}, {
name: 'Last ',
data: 'gray',
color:'#dfe0e1'
}]
});
});