Class SeriesAccessibility

  • All Implemented Interfaces:
    Serializable, OptionDataListener, org.zkoss.json.JSONAware

    public class SeriesAccessibility
    extends Optionable
    Accessibility options for a series.

    Requires the accessibility module to be loaded. For example,

    
     Library.setProperty("org.zkoss.chart.modules.accessibility", "true");
     
    Since:
    10.2.1.0
    Author:
    jumperchen
    See Also:
    Serialized Form
    • Constructor Detail

      • SeriesAccessibility

        public SeriesAccessibility()
    • Method Detail

      • getDescription

        public String getDescription()
        Returns a description of the series, announced to screen readers.

        Default: null

      • setDescription

        public void setDescription​(String description)
        Sets a description of the series, announced to screen readers.
      • isEnabled

        public Boolean isEnabled()
        Returns whether to enable/disable accessibility functionality for a specific series.

        Default: null

      • setEnabled

        public void setEnabled​(boolean enabled)
        Sets whether to enable/disable accessibility functionality for a specific series.
      • isExposeAsGroupOnly

        public Boolean isExposeAsGroupOnly()
        Returns to expose only the series element to screen readers, not its points.

        Default: null

      • setExposeAsGroupOnly

        public void setExposeAsGroupOnly​(boolean exposeAsGroupOnly)
        Sets to expose only the series element to screen readers, not its points.
      • setKeyboardNavigation

        public void setKeyboardNavigation​(SeriesKeyboardNavigation keyboardNavigation)
        Sets the keyboard navigation for a series.
      • setPoint

        public void setPoint​(AccessibilityPoint point)
        Sets the point accessibility options for a series.