luftikus143
luftikus143

Reputation: 1285

Using modified JS version in Highcharts to bring back the pre-3.0 export buttons

There are a few posts on this issue, but only one got me closer to the solution by using a modified Javascript lib.

But, I don't succeed in getting back the two buttons (print, save).

I have the code to get the libs like this:

 <script type="text/javascript" src="Highcharts-3/js/highcharts.js"></script>
 <script type="text/javascript" src="Highcharts-3/js/modules/exporting-old-look.src.js"></script>

And I have the Highcharts code like this:

exporting:
{
    enabled: true,
    buttons:
    {
        exportButton:
        {
            align: 'right',
            verticalAlign: 'bottom',
            y: -20
        },
        printButton:
        {
            align: 'right',
            verticalAlign: 'bottom',
            y: -40,
            x: -10
        }
    }   
},

But that doesn't do it...

I've put up a fiddle here.

Thanks for any hints!

Upvotes: 0

Views: 115

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37588

You need to add exporting.js file, and remove your exporitng optiosn

http://fiddle.jshell.net/wjq9b/8/

Upvotes: 1

Related Questions