w-plot-vue 1.0.7 → 1.0.8
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/.github/workflows/ci-test.yml +3 -3
- package/README.md +4 -6
- package/babel.config.js +4 -3
- package/docs/examples/w-bar_horizontal_multi-set(color).html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set(color, gradient).html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set(series color).html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set(series color, gradient).html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set.html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackNormal).html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackPercent).html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set__hide legned.html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set__show labels.html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set_barKpColor(gradient).html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set_barKpColor.html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set_barUseInnerLabelsForHorizontal_barGroupWidthRatio.html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio.html +9 -15
- package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio_barGroupWidthRatio.html +9 -15
- package/docs/examples/w-bar_horizontal_one-set(color).html +9 -15
- package/docs/examples/w-bar_horizontal_one-set(color, gradient).html +9 -15
- package/docs/examples/w-bar_horizontal_one-set.html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_barColor(gradient).html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_barColor.html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_barKpColor(gradient).html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_barKpColor.html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_barUseInnerLabelsForHorizontal.html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_barWidthRatio.html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_barWidthRatio_barGroupWidthRatio.html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_hide labels.html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_marginLeft_marginRight.html +9 -15
- package/docs/examples/w-bar_horizontal_one-set_show legned.html +9 -15
- package/docs/examples/w-bar_multi-set(color).html +9 -15
- package/docs/examples/w-bar_multi-set(color, gradient).html +9 -15
- package/docs/examples/w-bar_multi-set(series color).html +9 -15
- package/docs/examples/w-bar_multi-set(series color, gradient).html +9 -15
- package/docs/examples/w-bar_multi-set.html +9 -15
- package/docs/examples/w-bar_multi-set__barDisplay(stackNormal).html +9 -15
- package/docs/examples/w-bar_multi-set__barDisplay(stackNormal)_.html +9 -15
- package/docs/examples/w-bar_multi-set__barDisplay(stackPercent).html +9 -15
- package/docs/examples/w-bar_multi-set__hide legned.html +9 -15
- package/docs/examples/w-bar_multi-set__show labels.html +9 -15
- package/docs/examples/w-bar_multi-set_barKpColor(gradient).html +9 -15
- package/docs/examples/w-bar_multi-set_barKpColor.html +9 -15
- package/docs/examples/w-bar_multi-set_barWidthRatio.html +9 -15
- package/docs/examples/w-bar_multi-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +9 -15
- package/docs/examples/w-bar_one-set(color).html +9 -15
- package/docs/examples/w-bar_one-set(color, gradient).html +9 -15
- package/docs/examples/w-bar_one-set.html +9 -15
- package/docs/examples/w-bar_one-set_barColor(gradient).html +9 -15
- package/docs/examples/w-bar_one-set_barColor.html +9 -15
- package/docs/examples/w-bar_one-set_barKpColor(gradient).html +9 -15
- package/docs/examples/w-bar_one-set_barKpColor.html +9 -15
- package/docs/examples/w-bar_one-set_barWidthRatio.html +9 -15
- package/docs/examples/w-bar_one-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +9 -15
- package/docs/examples/w-bar_one-set_hide labels.html +9 -15
- package/docs/examples/w-bar_one-set_marginLeft_marginRight_marginTop.html +9 -15
- package/docs/examples/w-bar_one-set_show legned.html +9 -15
- package/docs/examples/w-pie_one-set(color).html +9 -15
- package/docs/examples/w-pie_one-set(color, gradient).html +9 -15
- package/docs/examples/w-pie_one-set.html +9 -15
- package/docs/examples/w-pie_one-set_hide labels.html +9 -15
- package/docs/examples/w-pie_one-set_hide legned.html +9 -15
- package/docs/examples/w-pie_one-set_marginLeft_marginRight_marginTop.html +9 -15
- package/docs/examples/w-pie_one-set_pieBorderRadius.html +9 -15
- package/docs/examples/w-pie_one-set_pieBorderWidth_pieBorderRadius.html +9 -15
- package/docs/examples/w-pie_one-set_pieKpColor(gradient).html +9 -15
- package/docs/examples/w-pie_one-set_pieKpColor.html +9 -15
- package/docs/examples/w-pie_one-set_pieThicknessRatio.html +9 -15
- package/docs/examples/w-plot-2d_default.html +9 -15
- package/docs/examples/w-plot-3d_default.html +9 -15
- package/docs/examples/w-rose_multi-set(color).html +9 -15
- package/docs/examples/w-rose_multi-set(color, gradient).html +9 -15
- package/docs/examples/w-rose_multi-set(series color).html +9 -15
- package/docs/examples/w-rose_multi-set(series color, gradient).html +9 -15
- package/docs/examples/w-rose_multi-set.html +9 -15
- package/docs/examples/w-rose_multi-set__hide legned.html +9 -15
- package/docs/examples/w-rose_multi-set__show labels.html +9 -15
- package/docs/examples/w-rose_multi-set_roseBorderWidth.html +9 -15
- package/docs/examples/w-rose_multi-set_roseKpColor(gradient).html +9 -15
- package/docs/examples/w-rose_multi-set_roseKpColor.html +9 -15
- package/docs/examples/w-rose_multi-set_roseWidthRatio.html +9 -15
- package/docs/examples/w-rose_one-set(color).html +9 -15
- package/docs/examples/w-rose_one-set(color, gradient).html +9 -15
- package/docs/examples/w-rose_one-set.html +9 -15
- package/docs/examples/w-rose_one-set_marginLeft_marginRight_marginTop.html +9 -15
- package/docs/examples/w-rose_one-set_roseBorderWidth.html +9 -15
- package/docs/examples/w-rose_one-set_roseKpColor(gradient).html +9 -15
- package/docs/examples/w-rose_one-set_roseKpColor.html +9 -15
- package/docs/examples/w-rose_one-set_roseShowLabels.html +9 -15
- package/docs/examples/w-rose_one-set_roseWidthRatio.html +9 -15
- package/docs/examples/w-rose_one-set_showLegend.html +9 -15
- package/docs/examples/w-rose_one-set_showLegend_legendPosition.html +9 -15
- package/docs/examples/w-set-multi_default.html +9 -15
- package/docs/examples/w-set-multi_hide labels.html +9 -15
- package/docs/examples/w-set-multi_hide legned.html +9 -15
- package/docs/examples/w-set-multi_keySelect.html +9 -15
- package/docs/examples/w-set-multi_slot head.html +9 -15
- package/docs/examples/w-set-multi_textPlotType_kpSelectText_widthSelect.html +9 -15
- package/docs/examples/w-set-one_default.html +9 -15
- package/docs/examples/w-set-one_hide labels.html +9 -15
- package/docs/examples/w-set-one_keySelect.html +9 -15
- package/docs/examples/w-set-one_show legned.html +9 -15
- package/docs/examples/w-set-one_slot head.html +9 -15
- package/docs/examples/w-set-one_textPlotType_kpSelectText_widthSelect.html +9 -15
- package/package.json +9 -10
- package/public/index.html +8 -12
- package/script.txt +9 -9
- package/toolg/gDistApp.mjs +8 -8
- package/toolg/gExtractHtml.mjs +8 -8
- package/vue.config.js +1 -12
- package/docs/examples/app.html +0 -65
- package/docs/examples/app.umd.js +0 -18
- package/docs/examples/app.umd.js.map +0 -1
- package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -978
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -1049
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
- package/docs/getDefAxis.mjs.html +0 -157
- package/docs/getDefChart.mjs.html +0 -123
- package/docs/getDefLegend.mjs.html +0 -115
- package/docs/getDefOpt.mjs.html +0 -137
- package/docs/global.html +0 -1088
- package/docs/index.html +0 -84
- package/docs/module-WBar.html +0 -216
- package/docs/module-WPie.html +0 -216
- package/docs/module-WPlot2d.html +0 -216
- package/docs/module-WPlot3d.html +0 -216
- package/docs/module-WRose.html +0 -216
- package/docs/module-WSetMulti.html +0 -216
- package/docs/module-WSetOne.html +0 -216
- package/docs/scripts/collapse.js +0 -39
- package/docs/scripts/commonNav.js +0 -28
- package/docs/scripts/linenumber.js +0 -25
- package/docs/scripts/nav.js +0 -12
- package/docs/scripts/polyfill.js +0 -4
- package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/docs/scripts/prettify/lang-css.js +0 -2
- package/docs/scripts/prettify/prettify.js +0 -28
- package/docs/scripts/search.js +0 -99
- package/docs/setLegendLoc.mjs.html +0 -176
- package/docs/styles/jsdoc.css +0 -776
- package/docs/styles/prettify.css +0 -80
package/script.txt
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
#node
|
|
2
|
-
node
|
|
1
|
+
#node toolg/addVersion.mjs
|
|
2
|
+
node toolg/modifyReadme.mjs
|
|
3
3
|
|
|
4
|
-
node
|
|
4
|
+
node toolg/cleanFolder.mjs
|
|
5
5
|
./node_modules/.bin/jsdoc -c .jsdoc
|
|
6
6
|
|
|
7
|
-
node
|
|
7
|
+
node toolg/gDistApp.mjs
|
|
8
8
|
|
|
9
|
-
node
|
|
10
|
-
node
|
|
9
|
+
node toolg/gExtractHtml.mjs
|
|
10
|
+
node toolg/gDocExams.mjs
|
|
11
11
|
|
|
12
|
-
node
|
|
12
|
+
node toolg/gMergeComps.mjs
|
|
13
13
|
|
|
14
|
-
node
|
|
14
|
+
node toolg/gDistRollupComps.mjs
|
|
15
15
|
|
|
16
16
|
git add . -A
|
|
17
17
|
git commit -m 'modify: '
|
|
@@ -22,6 +22,6 @@ npm run deploy
|
|
|
22
22
|
#npm test
|
|
23
23
|
|
|
24
24
|
#rm -r test-screenshot
|
|
25
|
-
#node
|
|
25
|
+
#node gUITest.mjs
|
|
26
26
|
|
|
27
27
|
#npm publish
|
package/toolg/gDistApp.mjs
CHANGED
|
@@ -11,20 +11,20 @@ let opt = {
|
|
|
11
11
|
<link href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.2/css/all.min.css" rel="stylesheet">
|
|
12
12
|
|
|
13
13
|
<!-- mdi, 各組件使用mdi/js故不需引用 -->
|
|
14
|
-
<link _href="https://cdn.jsdelivr.net/npm/@mdi/font@7.
|
|
14
|
+
<link _href="https://cdn.jsdelivr.net/npm/@mdi/font@7.4.47/css/materialdesignicons.min.css" rel="stylesheet">
|
|
15
15
|
|
|
16
16
|
<!-- google, 各組件使用mdi/js故不需引用 -->
|
|
17
17
|
<link _href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
|
|
18
18
|
<link _href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">
|
|
19
19
|
|
|
20
20
|
<!-- data -->
|
|
21
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
22
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
23
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
24
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
25
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
26
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
27
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
21
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataAAPL.js"></script>
|
|
22
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataUSD2EUR.js"></script>
|
|
23
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataTemperature.js"></script>
|
|
24
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataHousePriceArea.js"></script>
|
|
25
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataFlare.js"></script>
|
|
26
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataRain.js"></script>
|
|
27
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataRainClip.js"></script>
|
|
28
28
|
|
|
29
29
|
`,
|
|
30
30
|
globals: {
|
package/toolg/gExtractHtml.mjs
CHANGED
|
@@ -79,20 +79,20 @@ function writeHtml(v) {
|
|
|
79
79
|
<link href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.2/css/all.min.css" rel="stylesheet">
|
|
80
80
|
|
|
81
81
|
<!-- mdi, 各組件使用mdi/js會於轉單頁時改為mdi icon, 故需引用mdi/css -->
|
|
82
|
-
<link href="https://cdn.jsdelivr.net/npm/@mdi/font@7.
|
|
82
|
+
<link href="https://cdn.jsdelivr.net/npm/@mdi/font@7.4.47/css/materialdesignicons.min.css" rel="stylesheet">
|
|
83
83
|
|
|
84
84
|
<!-- google, 各組件使用mdi/js故不需引用 -->
|
|
85
85
|
<link _href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
|
|
86
86
|
<link _href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">
|
|
87
87
|
|
|
88
88
|
<!-- data -->
|
|
89
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
90
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
91
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
92
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
93
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
94
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
95
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores
|
|
89
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataAAPL.js"></script>
|
|
90
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataUSD2EUR.js"></script>
|
|
91
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataTemperature.js"></script>
|
|
92
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataHousePriceArea.js"></script>
|
|
93
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataFlare.js"></script>
|
|
94
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataRain.js"></script>
|
|
95
|
+
<script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataRainClip.js"></script>
|
|
96
96
|
|
|
97
97
|
<!-- w-plot-vue -->
|
|
98
98
|
<script src="../dist/w-plot-vue.umd.js"></script>
|
package/vue.config.js
CHANGED
|
@@ -2,18 +2,7 @@ module.exports = {
|
|
|
2
2
|
lintOnSave: false, //禁止eslint-loader於編譯時檢查語法
|
|
3
3
|
devServer: {
|
|
4
4
|
proxy: {
|
|
5
|
-
|
|
6
|
-
target: 'http://localhost:9000',
|
|
7
|
-
pathRewrite: {
|
|
8
|
-
'^/api': '/api'
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
'/swdoc': {
|
|
12
|
-
target: 'http://localhost:9000',
|
|
13
|
-
pathRewrite: {
|
|
14
|
-
'^/swdoc': '/swdoc'
|
|
15
|
-
},
|
|
16
|
-
},
|
|
5
|
+
|
|
17
6
|
}
|
|
18
7
|
},
|
|
19
8
|
//transpileDependencies: ['abc'],
|
package/docs/examples/app.html
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<!DOCTYPE html>
|
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-tw">
|
|
4
|
-
<head>
|
|
5
|
-
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
|
|
7
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8
|
-
<title>w-plot-vue</title>
|
|
9
|
-
|
|
10
|
-
<!-- @babel/polyfill已廢棄 -->
|
|
11
|
-
<script nomodule src="https://cdn.jsdelivr.net/npm/@babel/polyfill@7.12.1/dist/polyfill.min.js"></script>
|
|
12
|
-
|
|
13
|
-
<!-- vue -->
|
|
14
|
-
<script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.min.js"></script>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<!-- rollupVueToHtml已自動添加@babel/polyfill與vue -->
|
|
19
|
-
|
|
20
|
-
<!-- fontawesome -->
|
|
21
|
-
<link href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.2/css/all.min.css" rel="stylesheet">
|
|
22
|
-
|
|
23
|
-
<!-- mdi, 各組件使用mdi/js故不需引用 -->
|
|
24
|
-
<link _href="https://cdn.jsdelivr.net/npm/@mdi/font@7.2.96/css/materialdesignicons.min.css" rel="stylesheet">
|
|
25
|
-
|
|
26
|
-
<!-- google, 各組件使用mdi/js故不需引用 -->
|
|
27
|
-
<link _href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
|
|
28
|
-
<link _href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">
|
|
29
|
-
|
|
30
|
-
<!-- data -->
|
|
31
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores@1.0.23/res/data/dataAAPL.js"></script>
|
|
32
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores@1.0.23/res/data/dataUSD2EUR.js"></script>
|
|
33
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores@1.0.23/res/data/dataTemperature.js"></script>
|
|
34
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores@1.0.23/res/data/dataHousePriceArea.js"></script>
|
|
35
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores@1.0.23/res/data/dataFlare.js"></script>
|
|
36
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores@1.0.23/res/data/dataRain.js"></script>
|
|
37
|
-
<script src="https://cdn.jsdelivr.net/npm/w-demores@1.0.23/res/data/dataRainClip.js"></script>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<!-- app -->
|
|
42
|
-
<script src="app.umd.js?1711381789565"></script>
|
|
43
|
-
|
|
44
|
-
</head>
|
|
45
|
-
<body style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;">
|
|
46
|
-
|
|
47
|
-
<div id="app">
|
|
48
|
-
<w-app></w-app>
|
|
49
|
-
</div>
|
|
50
|
-
|
|
51
|
-
<script>
|
|
52
|
-
|
|
53
|
-
//install app
|
|
54
|
-
Vue.component('w-app',app)
|
|
55
|
-
|
|
56
|
-
//initialize
|
|
57
|
-
new Vue({
|
|
58
|
-
el: '#app',
|
|
59
|
-
|
|
60
|
-
})
|
|
61
|
-
|
|
62
|
-
</script>
|
|
63
|
-
|
|
64
|
-
</body>
|
|
65
|
-
</html>
|