AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.utils.SeriesA11y Improve this Doc

Extends: anychart.core.utils.A11y

Anychart series accessibility class.

Methods Overview

Specific settings
enabled()Accessibility state.
titleFormat()Function to format title text.

Methods Description

enabled

Getter for the accessibility enabled state (enabled or disabled).

Returns:

boolean - The accessibility state.
Setter for the accessibility enabled state.

Params:

NameTypeDefaultDescription
enabledboolean
true
Enabled state to set.

Returns:

anychart.core.utils.SeriesA11y - Self instance for method chaining.

titleFormat

Getter for the function to format title.

Returns:

function | string - Function to format title text.
See listing.
var accessibility = series.a11y();
var titleFormat = accessibility.titleFormat();
Setter for the function to format title.
Learn more about using titleFormat() method.

Params:

NameTypeDescription
formatSettingsfunction | stringFunction or token to format title.

Returns:

anychart.core.utils.SeriesA11y - Self instance for method chaining.