![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@amcharts/editor4
Advanced tools
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.
npm install @amcharts4/editor4
or
yarn add @amcharts/editor4
am4editor
directory inside of this package into the output of your build.For example, you can use a tool like ncp to copy these files into the public
directory of your projects. An included React demo
uses this technique in a typical Create React App-based application:
Standard CRA scripts in package.json
are modified to perform the copying before the build:
"scripts": {
"copy-editor": "ncp ./node_modules/@amcharts/editor4/am4editor ./public/am4editor",
"start": "yarn copy-editor && react-scripts start",
"build": " yarn copy-editor && react-scripts build",
}
Vue sample, on the other hand, uses a different approach and modifies webpack configuration to perform the copy.
First, you'll need to import Editor launcher into your app like this:
// import Editor Launcher
import * as am4editor from '@amcharts/editor4';
Then you create an instance of the EditorLauncher
class and call its launch()
method passing chart configuration object in case you want to edit an existing chart.
Something like this:
const launcher = new am4editor.EditorLauncher();
launcher.launch(chartConfig);
Refer to EditorLauncher reference in the documentation to learn about available properties and configuration options.
For practical applications, check out the included samples:
Commercial license holders should contact us directly at contact@amcharts.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.
Open an issue.
FAQs
amCharts 4 Editor
We found that @amcharts/editor4 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.