Javascript examples for highcharts:Line Chart
Display yAxis label on a diagonal line in polar chart
<html> <head> <title>Highcharts test tool</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(function(){/*from ww w . j a v a 2 s .com*/ $(function () { window.chart = new Highcharts.Chart({ chart: { renderTo: 'container', polar: true, type: 'line' }, title: { text: 'Budget vs spending', x: -80 }, pane: { size: '80%', startAngle: -30 }, xAxis: { categories: ['Sales', 'Marketing', 'Development', 'Customer Support', 'Information Technology', 'Administration'], tickmarkPlacement: 'on', lineWidth: 0 }, yAxis: { gridLineInterpolation: 'polygon', lineWidth: 0, min: 0 }, tooltip: { shared: true, valuePrefix: '$' }, legend: { align: 'right', verticalAlign: 'top', y: 100, layout: 'vertical' }, series: [{ name: 'Allocated Budget', data: [43000, 19000, 60000, 35000, 17000, 10000], pointPlacement: 'on' }, { name: 'Actual Spending', data: [50000, 39000, 42000, 31000, 26000, 14000], pointPlacement: 'on' }] }); }); }); </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/highcharts-more.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></script> <div id="container" style="width: 700px; height: 400px; margin: 0 auto"></div> </body> </html>