File tree 1 file changed +21
-4
lines changed
1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ This library is updated for usage with Angular 9 and removes chart.js as a peer
25
25
26
26
## Version Information
27
27
28
- | Version | Chart.js Version | Branch |
29
- | -------------- | ---------------- | ------ |
30
- | ` 4.x ` | 2.9 | master |
31
- | ` 5.x ` _ (beta)_ | 3.5 | dev |
28
+ | Version | Chart.js Version | Branch |
29
+ | ------------------- | ---------------- | ------ |
30
+ | ` 4.x ` | 2.9 | master |
31
+ | ` 5.x ` _ (beta/next )_ | 3.5 | dev |
32
32
33
33
## Usage & Demo
34
34
@@ -40,16 +40,33 @@ This library is updated for usage with Angular 9 and removes chart.js as a peer
40
40
npm install @rinminase/ng-charts
41
41
```
42
42
43
+ For Chart.js version 3.5+
44
+
45
+ ``` bash
46
+ npm install @rinminase/ng-charts@next
47
+ ```
48
+
43
49
### Using a CDN
44
50
45
51
1 . You can use [ JSDelivr] ( https://www.jsdelivr.com/ ) CDN and place it on your main HTML page
52
+
53
+ If you're using ** Chart.js version 2.9**
46
54
``` html
47
55
<body >
48
56
...
49
57
<script src =https://cdn.jsdelivr.net/npm/@rinminase/ng-charts ></script >
50
58
</body >
51
59
```
52
60
61
+ If you're using ** Chart.js version 3.5+**
62
+ ``` html
63
+ <body >
64
+ ...
65
+ <script src =https://cdn.jsdelivr.net/npm/@rinminase/ng-charts@next ></script >
66
+ </body >
67
+ ```
68
+ _ Please note that version 5 of this package is still currently in beta and has not been thoroughly tested_
69
+
53
70
### Stackblitz Starting Templates
54
71
55
72
* [ Line Chart] ( https://stackblitz.com/edit/ng-charts-line )
You can’t perform that action at this time.
0 commit comments