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

Commit ea4ae74

Browse files
committed
chore: fix namespace
1 parent 59be501 commit ea4ae74

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Echarts bindings for Angular.
55
## Usage
66
To get started, lets install the package thru npm:
77

8-
```
9-
npm i @amcdnl/ngx-echarts --S
8+
```bash
9+
npm i @amcdnl/ngx-echarts echarts --S
1010
```
1111

1212
then include the effect in your module:
@@ -29,3 +29,5 @@ then use the component like:
2929
(chartDblClick)="onChartDblClick($event)">
3030
</ngx-echarts>
3131
```
32+
33+
For more information, visit [official ECharts documentation](https://ecomfe.github.io/echarts-doc/public/en/).

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@amcdnl/ngx-echarts",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "ECharts for Angular",
55
"main": "dist/index.js",
66
"scripts": {

src/echarts.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ import { take, distinctUntilChanged, debounceTime, takeUntil } from 'rxjs/operat
1717
import { fromEvent, Subject } from 'rxjs';
1818

1919
@Component({
20-
selector: 'ngx-echart',
20+
selector: 'ngx-echarts',
2121
template: `<ng-content></ng-content>`,
2222
changeDetection: ChangeDetectionStrategy.OnPush,
2323
host: {
24-
'[class.ngx-echart]': 'true'
24+
'[class.ngx-echarts]': 'true'
2525
}
2626
})
2727
export class EChartsComponent implements OnInit, OnChanges, OnDestroy {

0 commit comments

Comments
 (0)