class anychart.editor.Step Improve this Doc
Step editor class.
Methods Overview
Specific settings | |
tab() | Allows to enable/disable tab on the chart editor by name. |
Interactivity | |
enabled() | Enable/Disable steps. |
Methods Description
enabled
Getter for enabled state of the step.
To work with the Chart Editor you need to reference the extension file from AnyChart CDN (example for the versioned file: https://cdn.anychart.com/releases/8.11.1/js/anychart-editor.min.js)
To work with the Chart Editor you need to reference the extension file from AnyChart CDN (example for the versioned file: https://cdn.anychart.com/releases/8.11.1/js/anychart-editor.min.js)
Returns:
boolean - Enabled state.Setter for enabled state of the step.
To work with the Chart Editor you need to reference the extension file from AnyChart CDN (example for the versioned file: https://cdn.anychart.com/releases/8.11.1/js/anychart-editor.min.js)
To work with the Chart Editor you need to reference the extension file from AnyChart CDN (example for the versioned file: https://cdn.anychart.com/releases/8.11.1/js/anychart-editor.min.js)
Params:
Name | Type | Description |
---|---|---|
enabled | boolean | Enabled state value. |
Returns:
anychart.editor.Step - Self instance for method chaining. Sample for the enabled() method
var editor = anychart.editor(); var step = editor.step('data'); // Disable step with the 'data' name. step.enabled(false); editor.render(document.getElementById('container'));See sample at https://www.anychart.com/features/chart_editor/demo.html
tab
Allows to enable/disable tab on the chart editor by name.
To work with the Chart Editor you need to reference the extension file from AnyChart CDN (example for the versioned file: https://cdn.anychart.com/releases/8.11.1/js/anychart-editor.min.js)
To work with the Chart Editor you need to reference the extension file from AnyChart CDN (example for the versioned file: https://cdn.anychart.com/releases/8.11.1/js/anychart-editor.min.js)
Params:
Name | Type | Description |
---|---|---|
tabName | anychart.enums.EditorTabs | string | Name of the chart editor tab. |
value | boolean | Object.<{enabled: boolean}> | Boolean value to enable/disable tab or object with settings. |
Returns:
anychart.editor.Step - Self instance for method chaining. Sample for the enabled() method
var editor = anychart.editor(); var step = editor.step('chart'); // Disable the 'legend' tab in the step with 'chart' name. step.tab('legend', false); editor.render(document.getElementById('container'));See sample at https://www.anychart.com/features/chart_editor/demo.html