AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.7.0 version of this document. Switch to the 8.3.0 version to see the up to date information.

class anychart.core.SeparateChart Improve this Doc

Extends: anychart.core.Chart

Base class for all charts, contains the margins, the background and the title.

Methods Overview

Chart Controls
credits()Credits settings.
legend()Legend settings.
Miscellaneous
interactivity()Gets the current settings for chart.

Methods Description

credits

Getter for current chart credits settings.

Returns:

anychart.core.ui.Credits - An instance of class for method chaining.

Try it:

Setter for chart credits settings. Learn more about credits settings.

Params:

Name Type Default Description
value Object | boolean | null
true
Credits settings.

Returns:

anychart.core.Chart - An instance of class for method chaining.

interactivity

Gets the current settings for chart.

Returns:

anychart.core.utils.Interactivity - The current interactivity settings.
Sets settings for chart.

Params:

Name Type Description
value Object | anychart.enums.HoverMode Settings object or boolean value like enabled state.

Returns:

anychart.core.SeparateChart - Self instance for method chaining.

Try it:

legend

Getter for the current chart legend.

Returns:

anychart.core.ui.Legend - An instance of class for method chaining.

Try it:

Setter for chart legend setting.

Params:

Name Type Default Description
value Object | boolean | null
false
Legend settings.

Returns:

anychart.core.Chart - An instance of class for method chaining.