Column Chart dragging - Javascript highcharts

Javascript examples for highcharts:Column Chart

Description

Column Chart dragging

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.jquery.com/jquery-3.1.1.min.js"></script> 
      <script src="https://github.highcharts.com/stock/highstock.js"></script> 
      <script src="https://github.highcharts.com/stock/modules/exporting.js"></script> 
      <div id="container" style="height: 400px"></div> 
      <script type="text/javascript">
// create the chart
    Highcharts.stockChart('container', {
      chart: {/*from  www.j  av  a  2  s  .  c  om*/
        alignTicks: false
      },
      title: {
        text: 'AAPL Stock Volume'
      },
      series: [{
        type: 'column',
        name: 'AAPL Stock Volume',
        data: [10,20,30,40,50,60,70,80,90,100]
      }]
    });

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

Related Tutorials