amCharts 4 Editor
amCharts 4 Editor is a chart configuration creation and editing GUI for amCharts 4. It is intended to be used as part of your application to enable your users to create and edit chart configurations.
There are two steps that you need to complete to add amCharts 4 Editor to your CMS.
1. Install the package:
npm install @amcharts4/editor4
yarn add @amcharts/editor4
2. Configure your build process to copy
am4editor directory inside of this package into the output of your build.
Standard CRA scripts in
package.json are modified to perform the copying before the build:
First, you'll need to import Editor launcher into your app like this:
// import Editor Launcher;
Then you create an instance of the
EditorLauncher class and call its
method passing chart configuration object in case you want to edit an existing chart.
Something like this:
const launcher = ;launcher;
Refer to EditorLauncher reference in the documentation to learn about available properties and configuration options.
For practical applications, check out the included samples:
amCharts 4 Editor is is in the alpha stage and is not yet ready for use in productions. You are welcome to explore it and provide feedback to shape the development.
Commercial license holders should contact us directly at email@example.com.
If you have a commercial amCharts 4 Editor license, this software is covered by your license, which supersedes any other license bundled with this package.
If you don't have a commercial license, you can use this software for development and testing purposes. Refer to the included LICENSE file. The license is also available online.
Found a bug?
Open an issue.