setting the combined line and bar graph maximum width for line chart - Javascript highcharts

Javascript examples for highcharts:Line Chart

Description

setting the combined line and bar graph maximum width for line chart

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <title>Highcharts Demo</title> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
   </head> 
   <body> 
      <script src="https://code.highcharts.com/highcharts.src.js"></script> 
      <div id="container"></div> 
      <script type="text/javascript">
var chart = Highcharts.chart('container', {
  yAxis: [{/*from w  w  w  .  j av a2  s  .com*/
    max: 100,
        tickPositions: [0, 20, 40, 60, 80, 100]
  }, {
  }],
  series: [{
    data: [55, 11, 3],
    yAxis: 1,
    type: 'column'
  }, {
    data: [44, 55, 100]
  }]
});

      </script>  
   </body>
</html>

Related Tutorials