Highcharts Demo
author(s):
Torstein Hønsi
by Murali Kaliappan
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 400px"></div>
JavaScript
Highcharts.chart('container', {
xAxis: {
endOnTick: true,
showLastLabel: true,
startOnTick: true
},
yAxis:{
plotLines:[{
value:30,
color:'green',
width:2,
dashStyle:"DashDot"
}],
},
series: [{
data: [129.9, 171.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 195.6, 154.4]
},{
data:[30],
name:"optimum line",
marker:{enabled:false},
dataLabels:{enabled:false},
enableMouseTracking: false
}]
});