Change the placement of the export option

I want to change the location of the "exporting" buttons. At the moment when they are located in the upper right corner and, thus, hide pieces of a longer name. I would like to change this, but I do not see a parameter in the links for this.

Thanks for any tips!

+5
source share
4 answers

There are many options for style buttons, you just need to take a look at the link.

Using exporting, you can directly draw a button, for example:

exporting: {
    buttons: {
        exportButton: {
            align: 'left',
            x: 40
        }
    }
}

demo

Using navigation, you can style all buttons:

navigation: {
    buttonOptions: {
        align: 'center'
    }
}

demonstration

Link:

+8
source

This works for me:

exporting: {
  buttons: {
    contextButton: {
      align: 'center',
      x: 50
    }
  }
},
+2

. , , .

    exporting: {
        buttons: {
            contextButton: {
                align: 'left',
                x: 0,
                y: 380,
                verticalAlign: 'top'
            }
        }
    },
+2

You can use the x / y or align parameter: ExportButton Align

0
source

All Articles