JSFiddle - React, Tailwind, and code Playground
by RajKumari_1
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<div id="graphDiv">
</div>
JavaScript
Highcharts.chart('graphDiv', {
chart: {
type: 'area',
},
title: null,
xAxis: {
categories: ['Apr 2020'],
title: {
enabled: false
}
},
legend: {
enabled: true,
symbolRadius: 4
},
yAxis: {
title: {
enable: false,
}
},
tooltip: {
shared: true
},
plotOptions: {
area: {
stacking: 'normal',
lineWidth: 1,
stickyTracking: false,
marker: {
enabled: true,
symbol: 'circle',
radius: 5 ,
lineColor: null,
states: {
hover: {
enabled: true,
radius: 5
}
}
},
}
},
series: [
{
name : 'A',
data : [0.00060660]
},
{
name : 'B',
data : [0.00013098]
},
{
name : 'C',
data : [0.00010992]
},
{
name : 'D',
data : [0.00000024]
}]
});