Package 

Class Editor

    • Constructor Detail

      • Editor

        Editor(String jsChart)
    • Method Detail

      • addClassName

         void addClassName(String className)

        Adds the given class name to the list of classes to be applied to the chart editor component root element. 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.4.0/js/anychart-editor.min.js)

      • dialogRender

         void dialogRender()

        Renders the Chart Editor as a modal dialog. To set dialog visible or hidden use dialogVisible(boolean) method.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.4.0/js/anychart-editor.min.js)

      • dialogRender

         void dialogRender(String className)

        Renders the Chart Editor as a modal dialog using class name. To set dialog visible or hidden use dialogVisible(boolean) method.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.4.0/js/anychart-editor.min.js)

      • dialogVisible

         void dialogVisible()

        Getter for the visibility of the dialog box. 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.4.0/js/anychart-editor.min.js)

      • dialogVisible

         Editor dialogVisible(Boolean enabled)

        Setter for the visibility of the dialog box. 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.4.0/js/anychart-editor.min.js)

      • dispose

         void dispose()

        Disposes a chart editor. Removes it and its children from defs, clears the clip for managed elements. 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.4.0/js/anychart-editor.min.js)

      • getJavascript

         void getJavascript()

        Returns javascript code string that creates a configured chart.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.4.0/js/anychart-editor.min.js)

      • getJavascript

         void getJavascript(JavascriptOptions outputOptions)

        Returns javascript code string using an object.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.4.0/js/anychart-editor.min.js)

      • getJson

         void getJson()

        Returns the configured chart in the JSON representation.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.4.0/js/anychart-editor.min.js)

      • getXml

         void getXml()

        Returns configured chart in XML representation.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.4.0/js/anychart-editor.min.js)

      • hide

         void hide(Boolean hide)

        Hides chart editor component in DOM by setting 'display: none' style to it's root element. 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.4.0/js/anychart-editor.min.js)

      • localization

         Editor localization(String settings)

        Sets anychart locale settings. 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.4.0/js/anychart-editor.min.js)

      • removeAllListeners

         void removeAllListeners(String type)

        Removes all listeners from an object. You can also optionally remove listeners of some particular type. 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.4.0/js/anychart-editor.min.js)

      • removeClassName

         void removeClassName(String className)

        Removes the given class name from the list of classes to be applied to the chart editor component root element. 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.4.0/js/anychart-editor.min.js)

      • show

         void show(Boolean show)

        Shows chart editor component in DOM by removing 'display: none' style. 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.4.0/js/anychart-editor.min.js)

      • step

         Step step(EditorSteps stepName)

        Getter for the step by its 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.4.0/js/anychart-editor.min.js)

      • step

         Step step(String stepName)

        Getter for the step by its 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.4.0/js/anychart-editor.min.js)

      • step

         Step step(EditorSteps stepName, Boolean value)

        Setter for the step settings. Call this method only before {api:anychart.editor.Editor#render}render{api} chart editor. Step is a screen of the chart editor. 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.4.0/js/anychart-editor.min.js)

      • step

         Step step(String stepName, Boolean value)

        Setter for the step settings. Call this method only before {api:anychart.editor.Editor#render}render{api} chart editor. Step is a screen of the chart editor. 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.4.0/js/anychart-editor.min.js)

      • unlistenByKey

         void unlistenByKey(String key)

        Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). 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.4.0/js/anychart-editor.min.js)

      • version

         void version()

        Returns the current chart editor version. 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.4.0/js/anychart-editor.min.js)