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.

依赖:
  • module:modules/full-screen

依赖

  • module:modules/full-screen

成员

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

方法

close()

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

Since:
  • 8.0.1
依赖:
  • module:modules/full-screen
返回值:

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
依赖:
  • module:modules/full-screen
返回值:

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
依赖:
  • module:modules/full-screen
在线示例