Class LegendAccessibility

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

    public class LegendAccessibility
    extends Optionable
    Options for configuring accessibility for the legend of the chart.

    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

      • LegendAccessibility

        public LegendAccessibility()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Returns whether to enable accessibility support for the legend.

        Default: true

      • setEnabled

        public void setEnabled​(boolean enabled)
        Sets whether to enable accessibility support for the legend.

        Default: true

      • setKeyboardNavigation

        public void setKeyboardNavigation​(LegendKeyboardNavigation keyboardNavigation)
        Sets options for keyboard navigation for the legend.