chartjs-plugin-chart2music 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ The following plugin options are available:
|
|
|
43
43
|
* `cc` - the equivalent of the [chart2music option `cc`](https://chart2music.com/docs/API/Config#axes)
|
|
44
44
|
* `audioEngine` - the equivalent of the [chart2music option `audioEngine`](https://chart2music.com/docs/API/Config#cc)
|
|
45
45
|
* `axes` - the equivalent of the [chart2music option `axes`](https://chart2music.com/docs/API/Config#axes)
|
|
46
|
-
* `lang` - the language your user speaks. The available languages that Chart2Music supports are: "en", "es". The default is "en". If you would like to add translations for another language, [Chart2Music is open to PRs](https://github.com/julianna-langston/chart2music).
|
|
46
|
+
* `lang` - the language your user speaks. The available languages that Chart2Music supports are: "en", "de", "es", "fr", "it". The default is "en". If you would like to add translations for another language, [Chart2Music is open to PRs](https://github.com/julianna-langston/chart2music).
|
|
47
47
|
|
|
48
48
|
Here's an example for providing options:
|
|
49
49
|
```js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chartjs-plugin-chart2music",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Chart.js plugin for Chart2Music. Turns chart.js charts into music so the blind can hear data.",
|
|
6
6
|
"main": "dist/plugin.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@babel/preset-env": "^7.23.9",
|
|
45
45
|
"@rollup/plugin-typescript": "11.1.6",
|
|
46
46
|
"@sgratzl/chartjs-chart-boxplot": "4.2.8",
|
|
47
|
-
"@types/jest": "29.5.
|
|
47
|
+
"@types/jest": "29.5.12",
|
|
48
48
|
"canvas": "^2.11.2",
|
|
49
49
|
"chartjs-chart-wordcloud": "4.3.3",
|
|
50
50
|
"chartjs-plugin-a11y-legend": "0.1.1",
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
"jest": "29.7.0",
|
|
54
54
|
"jest-environment-jsdom": "29.7.0",
|
|
55
55
|
"rimraf": "5.0.5",
|
|
56
|
-
"rollup": "4.
|
|
56
|
+
"rollup": "4.12.0",
|
|
57
57
|
"ts-jest": "29.1.2",
|
|
58
58
|
"tslib": "2.6.2",
|
|
59
59
|
"typescript": "5.3.3",
|
|
60
|
-
"vite": "5.
|
|
60
|
+
"vite": "5.1.4"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"chart.js": "4.4.1",
|
|
64
|
-
"chart2music": "1.
|
|
64
|
+
"chart2music": "1.15.1"
|
|
65
65
|
}
|
|
66
66
|
}
|