Skip to content

Commit 2c173dc

Browse files
authored
Version 0.7.0 (#214)
Version 0.7.0
1 parent f099633 commit 2c173dc

File tree

11 files changed

+336
-616
lines changed

11 files changed

+336
-616
lines changed

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,21 @@
33
A zoom and pan plugin for Chart.js. Currently requires Chart.js >= 2.6.0
44

55
Panning can be done via the mouse or with a finger.
6-
Zooming is done via the mouse wheel or via a pinch gesture. [Hammer JS](http://hammerjs.github.io/) is used for gesture recognition.
6+
Zooming is done via the mouse wheel or via a pinch gesture. [Hammer.js](https://hammerjs.github.io/) is used for gesture recognition.
77

8-
[Live Codepen Demo](http://codepen.io/pen/PGabEK)
8+
[Live Codepen Demo](https://codepen.io/pen/PGabEK)
9+
10+
## Installation
11+
12+
Run `npm install --save chartjs-plugin-zoom` to install with `npm`.
13+
14+
If including via a `<script>` tag, make sure to include `Hammer.js` as well:
15+
16+
```html
17+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
18+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
19+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
20+
```
921

1022
## Configuration
1123

@@ -99,7 +111,7 @@ Prior to v0.4.0, this plugin was known as 'Chart.Zoom.js'. Old versions are stil
99111

100112
## Documentation
101113

102-
You can find documentation for Chart.js at [www.chartjs.org/docs](http://www.chartjs.org/docs).
114+
You can find documentation for Chart.js at [www.chartjs.org/docs](https://www.chartjs.org/docs).
103115

104116
Examples for this plugin are available in the [samples folder](samples).
105117

@@ -109,4 +121,4 @@ Before submitting an issue or a pull request to the project, please take a momen
109121

110122
## License
111123

112-
chartjs-plugin-zoom.js is available under the [MIT license](http://opensource.org/licenses/MIT).
124+
chartjs-plugin-zoom.js is available under the [MIT license](https://opensource.org/licenses/MIT).

0 commit comments

Comments
 (0)