Skip to content

Commit 6e31f73

Browse files
committed
Updated readme content to include information on chartjs 3.5
1 parent 1d2ec0e commit 6e31f73

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

README.md

+21-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ This library is updated for usage with Angular 9 and removes chart.js as a peer
2525

2626
## Version Information
2727

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 |
3232

3333
## Usage & Demo
3434

@@ -40,16 +40,33 @@ This library is updated for usage with Angular 9 and removes chart.js as a peer
4040
npm install @rinminase/ng-charts
4141
```
4242

43+
For Chart.js version 3.5+
44+
45+
```bash
46+
npm install @rinminase/ng-charts@next
47+
```
48+
4349
### Using a CDN
4450

4551
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**
4654
```html
4755
<body>
4856
...
4957
<script src=https://cdn.jsdelivr.net/npm/@rinminase/ng-charts></script>
5058
</body>
5159
```
5260

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+
5370
### Stackblitz Starting Templates
5471

5572
* [Line Chart](https://stackblitz.com/edit/ng-charts-line)

0 commit comments

Comments
 (0)