Highcharts-ng AngularJs export problems

17 views
Skip to first unread message

Anthony Mariella

unread,
Jun 27, 2017, 10:47:53 AM6/27/17
to highcharts-ng
I'm trying to use the Export option with Highcharts-ng and AngularJs

I've tried using the exporting option:

exporting: {
        allowHTML: true,
        buttons: {
            contextButton: {
                menuItems: Highcharts.getOptions().exporting.buttons.contetButton.menuItems.splice(2)
            }
        }
}

When is use it in Highcahrts, it works fine and I get these options:
Download PNG image
Download JPEG image
Download SVG vector image

When I use it in Highcharts-ng I get these options:
Print chart

--------------------

Download PNG image
Download JPEG image
Download SVG vector image

I want to be able to remove the Print chart option but I can't figure out how to do it.
I've also tried:

printButton: {
   enabled: false
}

but that doesn't work either
Reply all
Reply to author
Forward
0 new messages