Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Commit 59be501

Browse files
committed
chore: inital commit
1 parent fb93a82 commit 59be501

8 files changed

+6639
-1
lines changed

.gitignore

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Outputs
2+
src/**/*.js
3+
src/**/*.js.map
4+
src/**/*.d.ts
5+
dist/
6+
7+
# IDEs
8+
.idea/
9+
jsconfig.json
10+
.vscode/
11+
12+
# Misc
13+
node_modules/
14+
npm-debug.log*
15+
yarn-error.log*
16+
17+
# Mac OSX Finder files.
18+
**/.DS_Store
19+
.DS_Store

README.md

+31-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,31 @@
1-
# ngx-echarts
1+
# ngx-echarts
2+
3+
Echarts bindings for Angular.
4+
5+
## Usage
6+
To get started, lets install the package thru npm:
7+
8+
```
9+
npm i @amcdnl/ngx-echarts --S
10+
```
11+
12+
then include the effect in your module:
13+
14+
```TS
15+
import { EChartsModule } from '@amcdnl/ngx-echarts';
16+
17+
@NgModule({
18+
imports: [EChartsModule]
19+
})
20+
export class MyModule {}
21+
```
22+
23+
then use the component like:
24+
25+
```TS
26+
<ngx-echarts
27+
[series]="series$ | async"
28+
(chartClick)="onChartClick($event)"
29+
(chartDblClick)="onChartDblClick($event)">
30+
</ngx-echarts>
31+
```

dist.tgz

9.91 KB
Binary file not shown.

0 commit comments

Comments
 (0)