Javascript examples for highcharts:Chart Value
Set plot value in line chart
<html> <head> <title>Highcharts test tool</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-git.js"></script> <script type="text/javascript"> $(function(){// www.j av a2 s .c o m Highcharts.chart('reg-chart', { title: { text: 'Daily Average Registration', x: -20 }, xAxis: { categories: ["2017 JUL 01","2017 JUL 02","2017 JUL 03"] }, yAxis: { title: { text: '' }, plotLines: [{ value: 0, width: 1, color: '#808080' }] }, series: [{ name: 'Users', data: [20,1,61] }] }) }); </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <div id="reg-chart"></div> </body> </html>