Class SeriesNavigation

    • Constructor Detail

      • SeriesNavigation

        public SeriesNavigation()
    • Method Detail

      • getMode

        public String getMode()
        Returns the keyboard navigation mode for the chart. Can be "normal" or "serialize".

        Default: "normal"

      • setMode

        public void setMode​(String mode)
        Sets the keyboard navigation mode for the chart. Can be "normal" or "serialize". In normal mode, left/right arrow keys move between points in a series, while up/down arrow keys move between series. Up/down navigation acts intelligently to figure out which series makes sense to move to from any given point.

        In "serialize" mode, points are instead navigated as a single list. Left/right behaves as in "normal" mode. Up/down arrow keys will behave like left/right. This can be useful for unifying navigation behavior with/without screen readers enabled.

        Default: "normal"

      • isPointNavigationEnabledThreshold

        public boolean isPointNavigationEnabledThreshold()
        Returns whether to enable/disable when a series contains more points than this, we no longer allow keyboard navigation for it.

        Default: false

      • setPointNavigationEnabledThreshold

        public void setPointNavigationEnabledThreshold​(boolean pointNavigationEnabledThreshold)
        Sets whether to enable/disable when a series contains more points than this, we no longer allow keyboard navigation for it.

        Default: false

      • isRememberPointFocus

        public boolean isRememberPointFocus()
        Returns whether to remember which point was focused even after navigating away from the series, so that when navigating back to the series you start at the last focused point.

        Default: false

      • setRememberPointFocus

        public void setRememberPointFocus​(boolean rememberPointFocus)
        Sets whether to remember which point was focused even after navigating away from the series, so that when navigating back to the series you start at the last focused point.

        Default: false

      • isSkipNullPoints

        public boolean isSkipNullPoints()
        Returns whether to skip null points when navigating through points with the keyboard

        Default: true

      • setSkipNullPoints

        public void setSkipNullPoints​(boolean skipNullPoints)
        Sets whether to skip null points when navigating through points with the keyboard

        Default: true