Skip to content

Commit 306b347

Browse files
authored
Bump version to 2.0.0 (#144)
1 parent d052f8f commit 306b347

File tree

15 files changed

+232
-232
lines changed

15 files changed

+232
-232
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# chartjs-plugin-streaming
66

7-
[![npm](https://img.shields.io/npm/v/chartjs-plugin-streaming/latest.svg?style=flat-square)](https://npmjs.com/package/chartjs-plugin-streaming) [![npm](https://img.shields.io/npm/v/chartjs-plugin-streaming/next.svg?style=flat-square)](https://npmjs.com/package/chartjs-plugin-streaming) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/nagix/chartjs-plugin-streaming/CI?style=flat-square)](https://github.com/nagix/chartjs-plugin-streaming/actions?query=workflow%3ACI+branch%3Amaster) [![Code Climate](https://img.shields.io/codeclimate/maintainability/nagix/chartjs-plugin-streaming.svg?style=flat-square)](https://codeclimate.com/github/nagix/chartjs-plugin-streaming) [![Awesome](https://awesome.re/badge-flat2.svg)](https://github.com/chartjs/awesome)
7+
[![npm](https://img.shields.io/npm/v/chartjs-plugin-streaming.svg?style=flat-square)](https://npmjs.com/package/chartjs-plugin-streaming) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/nagix/chartjs-plugin-streaming/CI?style=flat-square)](https://github.com/nagix/chartjs-plugin-streaming/actions?query=workflow%3ACI+branch%3Amaster) [![Code Climate](https://img.shields.io/codeclimate/maintainability/nagix/chartjs-plugin-streaming.svg?style=flat-square)](https://codeclimate.com/github/nagix/chartjs-plugin-streaming) [![Awesome](https://awesome.re/badge-flat2.svg)](https://github.com/chartjs/awesome)
88

99
*[Chart.js](https://www.chartjs.org) plugin for live streaming data*
1010

docs/guide/getting-started.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
### npm
66

7-
[![npm](https://img.shields.io/npm/v/chartjs-plugin-streaming/next.svg?style=flat-square&maxAge=600)](https://npmjs.com/package/chartjs-plugin-streaming) [![npm downloads](https://img.shields.io/npm/dm/chartjs-plugin-streaming.svg?style=flat-square&maxAge=600)](https://npmjs.com/package/chartjs-plugin-streaming)
7+
[![npm](https://img.shields.io/npm/v/chartjs-plugin-streaming.svg?style=flat-square&maxAge=600)](https://npmjs.com/package/chartjs-plugin-streaming) [![npm downloads](https://img.shields.io/npm/dm/chartjs-plugin-streaming.svg?style=flat-square&maxAge=600)](https://npmjs.com/package/chartjs-plugin-streaming)
88

99
```sh
10-
npm install chartjs-plugin-streaming@next --save
10+
npm install chartjs-plugin-streaming --save
1111
```
1212

1313
::: tip
@@ -16,12 +16,11 @@ This plugin can also be installed using [Bower](https://bower.io/).
1616

1717
### CDN
1818

19-
[![jsdelivr](https://img.shields.io/npm/v/chartjs-plugin-streaming/next.svg?label=jsdelivr&style=flat-square&maxAge=600)](https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@next/dist/) [![jsdelivr hits](https://data.jsdelivr.com/v1/package/npm/chartjs-plugin-streaming/badge)](https://www.jsdelivr.com/package/npm/chartjs-plugin-streaming)
19+
[![jsdelivr](https://img.shields.io/npm/v/chartjs-plugin-streaming.svg?label=jsdelivr&style=flat-square&maxAge=600)](https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@latest/dist/) [![jsdelivr hits](https://data.jsdelivr.com/v1/package/npm/chartjs-plugin-streaming/badge)](https://www.jsdelivr.com/package/npm/chartjs-plugin-streaming)
2020

2121
By default, `https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming` returns the latest (minified) version, however it's [**highly recommended**](https://www.jsdelivr.com/features) to always specify a version in order to avoid breaking changes. This can be achieved by appending `@{version}` to the url:
2222

2323
```
24-
https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@next // pre-release version
2524
https://cdn.jsdelivr.net/npm/[email protected] // exact version
2625
https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@2 // latest 2.x.x
2726
```
@@ -30,9 +29,9 @@ Read more about jsDeliver versioning on their [website](http://www.jsdelivr.com/
3029

3130
### Download
3231

33-
[![github](https://img.shields.io/github/release/nagix/chartjs-plugin-streaming.svg?include_prereleases&sort=semver&style=flat-square&maxAge=600)](https://github.com/nagix/chartjs-plugin-streaming/releases/latest) [![github downloads](https://img.shields.io/github/downloads/nagix/chartjs-plugin-streaming/total.svg?style=flat-square&maxAge=600)](http://www.somsubhra.com/github-release-stats/?username=nagix&repository=chartjs-plugin-streaming)
32+
[![github](https://img.shields.io/github/release/nagix/chartjs-plugin-streaming.svg?style=flat-square&maxAge=600)](https://github.com/nagix/chartjs-plugin-streaming/releases/latest) [![github downloads](https://img.shields.io/github/downloads/nagix/chartjs-plugin-streaming/total.svg?style=flat-square&maxAge=600)](http://www.somsubhra.com/github-release-stats/?username=nagix&repository=chartjs-plugin-streaming)
3433

35-
You can download the latest version of `chartjs-plugin-streaming` from the [GitHub Releases](https://github.com/nagix/chartjs-plugin-streaming/releases):
34+
You can download the latest version of `chartjs-plugin-streaming` from the [GitHub Releases](https://github.com/nagix/chartjs-plugin-streaming/releases/latest):
3635

3736
- `chartjs-plugin-streaming.js` (recommended for development)
3837
- `chartjs-plugin-streaming.min.js` (recommended for production)
@@ -48,7 +47,7 @@ You can download the latest version of `chartjs-plugin-streaming` from the [GitH
4847
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
4948
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
5049
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
51-
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@next"></script>
50+
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@2.0.0"></script>
5251
```
5352

5453
::: warning IMPORTANT

docs/ja/guide/getting-started.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
### npm
66

7-
[![npm](https://img.shields.io/npm/v/chartjs-plugin-streaming/next.svg?style=flat-square&maxAge=600)](https://npmjs.com/package/chartjs-plugin-streaming) [![npm downloads](https://img.shields.io/npm/dm/chartjs-plugin-streaming.svg?style=flat-square&maxAge=600)](https://npmjs.com/package/chartjs-plugin-streaming)
7+
[![npm](https://img.shields.io/npm/v/chartjs-plugin-streaming.svg?style=flat-square&maxAge=600)](https://npmjs.com/package/chartjs-plugin-streaming) [![npm downloads](https://img.shields.io/npm/dm/chartjs-plugin-streaming.svg?style=flat-square&maxAge=600)](https://npmjs.com/package/chartjs-plugin-streaming)
88

99
```sh
10-
npm install chartjs-plugin-streaming@next --save
10+
npm install chartjs-plugin-streaming --save
1111
```
1212

1313
::: tip 補足
@@ -16,12 +16,11 @@ npm install chartjs-plugin-streaming@next --save
1616

1717
### CDN
1818

19-
[![jsdelivr](https://img.shields.io/npm/v/chartjs-plugin-streaming/next.svg?label=jsdelivr&style=flat-square&maxAge=600)](https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@next/dist/) [![jsdelivr hits](https://data.jsdelivr.com/v1/package/npm/chartjs-plugin-streaming/badge)](https://www.jsdelivr.com/package/npm/chartjs-plugin-streaming)
19+
[![jsdelivr](https://img.shields.io/npm/v/chartjs-plugin-streaming.svg?label=jsdelivr&style=flat-square&maxAge=600)](https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@latest/dist/) [![jsdelivr hits](https://data.jsdelivr.com/v1/package/npm/chartjs-plugin-streaming/badge)](https://www.jsdelivr.com/package/npm/chartjs-plugin-streaming)
2020

2121
デフォルトでは、`https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming` は最新の(圧縮された)バージョンを返しますが、互換性を損なう変更を避けるために、常にバージョンを指定することを[**強くお勧めします**](https://www.jsdelivr.com/features)。これは、URL に `@{version}` を追加することで実現できます。
2222

2323
```
24-
https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@next // プレリリースバージョン
2524
https://cdn.jsdelivr.net/npm/[email protected] // 厳密なバージョン
2625
https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@2 // 最新の 2.x.x
2726
```
@@ -30,9 +29,9 @@ jsDeliver のバージョニングについては、同サービスの[ウェブ
3029

3130
### ダウンロード
3231

33-
[![github](https://img.shields.io/github/release/nagix/chartjs-plugin-streaming.svg?include_prereleases&sort=semver&style=flat-square&maxAge=600)](https://github.com/nagix/chartjs-plugin-streaming/releases/latest) [![github downloads](https://img.shields.io/github/downloads/nagix/chartjs-plugin-streaming/total.svg?style=flat-square&maxAge=600)](http://www.somsubhra.com/github-release-stats/?username=nagix&repository=chartjs-plugin-streaming)
32+
[![github](https://img.shields.io/github/release/nagix/chartjs-plugin-streaming.svg?style=flat-square&maxAge=600)](https://github.com/nagix/chartjs-plugin-streaming/releases/latest) [![github downloads](https://img.shields.io/github/downloads/nagix/chartjs-plugin-streaming/total.svg?style=flat-square&maxAge=600)](http://www.somsubhra.com/github-release-stats/?username=nagix&repository=chartjs-plugin-streaming)
3433

35-
最新版の `chartjs-plugin-streaming` は、[GitHub Releases](https://github.com/nagix/chartjs-plugin-streaming/releases)からダウンロードできます。
34+
最新版の `chartjs-plugin-streaming` は、[GitHub Releases](https://github.com/nagix/chartjs-plugin-streaming/releases/latest)からダウンロードできます。
3635

3736
- `chartjs-plugin-streaming.js`(開発向けに推奨)
3837
- `chartjs-plugin-streaming.min.js`(製品向けに推奨)
@@ -48,7 +47,7 @@ jsDeliver のバージョニングについては、同サービスの[ウェブ
4847
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
4948
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
5049
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
51-
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@next"></script>
50+
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@2.0.0"></script>
5251
```
5352

5453
::: warning 重要

docs/ja/tutorials/angular/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
[ng2-charts](https://valor-software.com/ng2-charts/)[Luxon](https://moment.github.io/luxon/)[chartjs-adapter-luxon](https://github.com/chartjs/chartjs-adapter-luxon)[chartjs-plugin-streaming](https://nagix.github.io/chartjs-plugin-streaming/) をプロジェクトにインストールします。
44

55
```bash
6-
$ npm install ng2-charts@next luxon chartjs-adapter-luxon chartjs-plugin-streaming@next --save
6+
$ npm install ng2-charts@next luxon chartjs-adapter-luxon chartjs-plugin-streaming --save
77
```

docs/ja/tutorials/plainjs/scripts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# スクリプトを含める
22

3-
まず [Chart.js](https://github.com/chartjs/Chart.js/releases/latest)[Luxon](https://moment.github.io/luxon/)[chartjs-adapter-luxon](https://github.com/chartjs/chartjs-adapter-luxon/releases/latest)[chartjs-plugin-streaming](https://github.com/nagix/chartjs-plugin-streaming/releases) をページに含める必要があります。
3+
まず [Chart.js](https://github.com/chartjs/Chart.js/releases/latest)[Luxon](https://moment.github.io/luxon/)[chartjs-adapter-luxon](https://github.com/chartjs/chartjs-adapter-luxon/releases/latest)[chartjs-plugin-streaming](https://github.com/nagix/chartjs-plugin-streaming/releases/latest) をページに含める必要があります。
44

55
```html
66
<script src="path/to/chartjs/dist/chart.min.js"></script>

docs/ja/tutorials/react/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
[Chart.js](https://www.chartjs.org)[react-chartjs-2](http://reactchartjs.github.io/react-chartjs-2/), [Luxon](https://moment.github.io/luxon/)[chartjs-adapter-luxon](https://github.com/chartjs/chartjs-adapter-luxon)[chartjs-plugin-streaming](https://nagix.github.io/chartjs-plugin-streaming/) をプロジェクトにインストールします。
44

55
```bash
6-
$ npm install chart.js react-chartjs-2 luxon chartjs-adapter-luxon chartjs-plugin-streaming@next --save
6+
$ npm install chart.js react-chartjs-2 luxon chartjs-adapter-luxon chartjs-plugin-streaming --save
77
```

docs/ja/tutorials/vue/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
[Chart.js](https://www.chartjs.org)[vue-chartjs](https://vue-chartjs.org/)[chartjs-plugin-streaming](https://nagix.github.io/chartjs-plugin-streaming/) をプロジェクトにインストールします。
44

55
```bash
6-
$ npm install chart.js@2 vue-chartjs chartjs-plugin-streaming --save
6+
$ npm install chart.js@2 vue-chartjs chartjs-plugin-streaming@1 --save
77
```
88

99
::: warning 注意事項
10-
現在、vue-chartjs は Chart.js 2.x のみをサポートしており、3.x はサポートしていません。そのため、Chart.js 2.x を明示的にインストールする必要があります。
10+
現在、vue-chartjs は Chart.js 2.x のみをサポートしており、3.x はサポートしていません。そのため、Chart.js 2.x および chartjs-plugin-streaming 1.x を明示的にインストールする必要があります。
1111
:::

docs/ja/tutorials/vue/stream.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# データを流し込む
22

3-
コールバック関数でデータを追加し、様々なチャートオプションを指定することができます。ブラウザは自動更新され、ストリーミングチャートが表示されます。カスタマイズのオプションについては Chart.js の[ドキュメント](https://www.chartjs.org/docs/2.8.0)[サンプル](https://www.chartjs.org/samples)、vue-chartjs の[ドキュメント](https://vue-chartjs.org/#/Home)をご覧ください。
3+
コールバック関数でデータを追加し、様々なチャートオプションを指定することができます。ブラウザは自動更新され、ストリーミングチャートが表示されます。カスタマイズのオプションについては Chart.js の[ドキュメント](https://www.chartjs.org/docs/2.9.4)[サンプル](https://www.chartjs.org/samples/2.9.4)、vue-chartjs の[ドキュメント](https://vue-chartjs.org/#/Home)をご覧ください。
44

55
#### src/components/MyChart.vue
66

docs/tutorials/angular/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
Install [ng2-charts](https://valor-software.com/ng2-charts/), [Luxon](https://moment.github.io/luxon/), [chartjs-adapter-luxon](https://github.com/chartjs/chartjs-adapter-luxon) and [chartjs-plugin-streaming](https://nagix.github.io/chartjs-plugin-streaming/) into our project.
44

55
```bash
6-
$ npm install ng2-charts@next luxon chartjs-adapter-luxon chartjs-plugin-streaming@next --save
6+
$ npm install ng2-charts@next luxon chartjs-adapter-luxon chartjs-plugin-streaming --save
77
```

docs/tutorials/plainjs/scripts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Include scripts
22

3-
First, we need to include [Chart.js](https://github.com/chartjs/Chart.js/releases/latest), [Luxon](https://moment.github.io/luxon/), [chartjs-adapter-luxon](https://github.com/chartjs/chartjs-adapter-luxon/releases/latest) and [chartjs-plugin-streaming](https://github.com/nagix/chartjs-plugin-streaming/releases) in our page.
3+
First, we need to include [Chart.js](https://github.com/chartjs/Chart.js/releases/latest), [Luxon](https://moment.github.io/luxon/), [chartjs-adapter-luxon](https://github.com/chartjs/chartjs-adapter-luxon/releases/latest) and [chartjs-plugin-streaming](https://github.com/nagix/chartjs-plugin-streaming/releases/latest) in our page.
44

55
```html
66
<script src="path/to/chartjs/dist/chart.min.js"></script>

0 commit comments

Comments
 (0)