Welcome to the Highcharts Gantt JS (gantt) Options Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search this API through the search bar or the navigation tree in the sidebar.

chart.scrollablePlotArea

Options for a scrollable plot area. This feature provides a minimum size for the plot area of the chart. If the size gets smaller than this, typically on mobile devices, a native browser scrollbar is presented. This scrollbar provides smooth scrolling for the contents of the plot area, whereas the title, legend and unaffected axes are fixed.

Since v7.1.2, a scrollable plot area can be defined for either horizontal or vertical scrolling, depending on whether the minWidth or minHeight option is set.

Note: Because native browser scrollbars are used, they may overlap with fixed chart elements such as credits or the chart border. To avoid this collision, it is recommended to manually add extra space to the corresponding side using chart.spacingBottom (for horizontal scrollbars) or chart.spacingRight (for vertical scrollbars).