Class: Fullscreen

Highcharts. Fullscreen

new Fullscreen()

Handles displaying chart's container in the fullscreen mode.

Note: Fullscreen is not supported on iPhone due to iOS limitations.

Requires:
  • module:modules/full-screen

Requires

  • module:modules/full-screen

Members

chart :Highcharts.Chart

Chart managed by the fullscreen controller.

Type:

isOpen :boolean|undefined

The flag is set to true when the chart is displayed in the fullscreen mode.

Type:
  • boolean | undefined
Since:
  • 8.0.1

Methods

close()

Stops displaying the chart in fullscreen mode. Exporting module required.

Since:
  • 8.0.1
Requires:
  • module:modules/full-screen
Returns:

open()

Displays the chart in fullscreen mode. When fired customly by user before exporting context button is created, button's text will not be replaced - it's on the user side. Exporting module required.

Since:
  • 8.0.1
Requires:
  • module:modules/full-screen
Returns:

toggle()

Toggles displaying the chart in fullscreen mode. By default, when the exporting module is enabled, a context button with a drop down menu in the upper right corner accesses this function. Exporting module required.

Since:
  • 8.0.1
Requires:
  • module:modules/full-screen
Try it