Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@amcharts/editor4
Advanced tools
Readme
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
The npm package @amcharts/editor4 receives a total of 219 weekly downloads. As such, @amcharts/editor4 popularity was classified as not popular.
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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.