series drawn over context Button - Javascript highcharts

Javascript examples for highcharts:Chart Series

Description

series drawn over context Button

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
      <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.js"></script> 
      <script type="text/javascript">
$(function () {//from w ww .java 2  s.c o m
    $('#container').highcharts({
        chart: {
            marginTop: -25,
            events: {
                load: function() {
                    this.exportSVGElements[0].toFront();
                    this.exportSVGElements[1].toFront();
                }
            }
        },
        title: {
            text: ''
        },
        series: [{
            name: 'Browser share',
            data: [
                ['Firefox',   45.0],
                ['IE',       26.8],
                ['Safari',    8.5],
                ['Opera',     6.2],
                ['Others',   50.7]
            ]
        }]
    });
});

      </script> 
   </head> 
   <body> 
      <script src="https://code.highcharts.com/highcharts.js"></script> 
      <script src="https://code.highcharts.com/modules/exporting.js"></script> 
      <div id="container" style="min-width: 310px; height: 400px; max-width: 600px; margin: 0 auto"></div>  
   </body>
</html>

Related Tutorials