w-plot-vue 1.0.16 → 1.0.18

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.
Files changed (126) hide show
  1. package/README.md +1 -1
  2. package/dist/w-plot-vue.umd.js +2 -13
  3. package/dist/w-plot-vue.umd.js.map +1 -1
  4. package/docs/examples/app.html +1 -1
  5. package/docs/examples/app.umd.js +2 -13
  6. package/docs/examples/app.umd.js.map +1 -1
  7. package/docs/examples/w-bar_horizontal_multi-set(color).html +1 -1
  8. package/docs/examples/w-bar_horizontal_multi-set(color, gradient).html +1 -1
  9. package/docs/examples/w-bar_horizontal_multi-set(series color).html +1 -1
  10. package/docs/examples/w-bar_horizontal_multi-set(series color, gradient).html +1 -1
  11. package/docs/examples/w-bar_horizontal_multi-set.html +1 -1
  12. package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackNormal).html +1 -1
  13. package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackPercent).html +1 -1
  14. package/docs/examples/w-bar_horizontal_multi-set__hide legned.html +1 -1
  15. package/docs/examples/w-bar_horizontal_multi-set__show labels.html +1 -1
  16. package/docs/examples/w-bar_horizontal_multi-set_barKpColor(gradient).html +1 -1
  17. package/docs/examples/w-bar_horizontal_multi-set_barKpColor.html +1 -1
  18. package/docs/examples/w-bar_horizontal_multi-set_barUseInnerLabelsForHorizontal_barGroupWidthRatio.html +1 -1
  19. package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio.html +1 -1
  20. package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio_barGroupWidthRatio.html +1 -1
  21. package/docs/examples/w-bar_horizontal_one-set(color).html +1 -1
  22. package/docs/examples/w-bar_horizontal_one-set(color, gradient).html +1 -1
  23. package/docs/examples/w-bar_horizontal_one-set.html +1 -1
  24. package/docs/examples/w-bar_horizontal_one-set_barColor(gradient).html +1 -1
  25. package/docs/examples/w-bar_horizontal_one-set_barColor.html +1 -1
  26. package/docs/examples/w-bar_horizontal_one-set_barKpColor(gradient).html +1 -1
  27. package/docs/examples/w-bar_horizontal_one-set_barKpColor.html +1 -1
  28. package/docs/examples/w-bar_horizontal_one-set_barUseInnerLabelsForHorizontal.html +1 -1
  29. package/docs/examples/w-bar_horizontal_one-set_barWidthRatio.html +1 -1
  30. package/docs/examples/w-bar_horizontal_one-set_barWidthRatio_barGroupWidthRatio.html +1 -1
  31. package/docs/examples/w-bar_horizontal_one-set_hide labels.html +1 -1
  32. package/docs/examples/w-bar_horizontal_one-set_marginLeft_marginRight.html +1 -1
  33. package/docs/examples/w-bar_horizontal_one-set_show legned.html +1 -1
  34. package/docs/examples/w-bar_multi-set(color).html +1 -1
  35. package/docs/examples/w-bar_multi-set(color, gradient).html +1 -1
  36. package/docs/examples/w-bar_multi-set(series color).html +1 -1
  37. package/docs/examples/w-bar_multi-set(series color, gradient).html +1 -1
  38. package/docs/examples/w-bar_multi-set.html +1 -1
  39. package/docs/examples/w-bar_multi-set__barDisplay(stackNormal).html +1 -1
  40. package/docs/examples/w-bar_multi-set__barDisplay(stackNormal)_.html +1 -1
  41. package/docs/examples/w-bar_multi-set__barDisplay(stackPercent).html +1 -1
  42. package/docs/examples/w-bar_multi-set__hide legned.html +1 -1
  43. package/docs/examples/w-bar_multi-set__show labels.html +1 -1
  44. package/docs/examples/w-bar_multi-set_barKpColor(gradient).html +1 -1
  45. package/docs/examples/w-bar_multi-set_barKpColor.html +1 -1
  46. package/docs/examples/w-bar_multi-set_barWidthRatio.html +1 -1
  47. package/docs/examples/w-bar_multi-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +1 -1
  48. package/docs/examples/w-bar_one-set(color).html +1 -1
  49. package/docs/examples/w-bar_one-set(color, gradient).html +1 -1
  50. package/docs/examples/w-bar_one-set.html +1 -1
  51. package/docs/examples/w-bar_one-set_barColor(gradient).html +1 -1
  52. package/docs/examples/w-bar_one-set_barColor.html +1 -1
  53. package/docs/examples/w-bar_one-set_barKpColor(gradient).html +1 -1
  54. package/docs/examples/w-bar_one-set_barKpColor.html +1 -1
  55. package/docs/examples/w-bar_one-set_barWidthRatio.html +1 -1
  56. package/docs/examples/w-bar_one-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +1 -1
  57. package/docs/examples/w-bar_one-set_hide labels.html +1 -1
  58. package/docs/examples/w-bar_one-set_marginLeft_marginRight_marginTop.html +1 -1
  59. package/docs/examples/w-bar_one-set_show legned.html +1 -1
  60. package/docs/examples/w-pie_one-set(color).html +1 -1
  61. package/docs/examples/w-pie_one-set(color, gradient).html +1 -1
  62. package/docs/examples/w-pie_one-set.html +1 -1
  63. package/docs/examples/w-pie_one-set_hide labels.html +1 -1
  64. package/docs/examples/w-pie_one-set_hide legned.html +1 -1
  65. package/docs/examples/w-pie_one-set_marginLeft_marginRight_marginTop.html +1 -1
  66. package/docs/examples/w-pie_one-set_pieBorderRadius.html +1 -1
  67. package/docs/examples/w-pie_one-set_pieBorderWidth_pieBorderRadius.html +1 -1
  68. package/docs/examples/w-pie_one-set_pieKpColor(gradient).html +1 -1
  69. package/docs/examples/w-pie_one-set_pieKpColor.html +1 -1
  70. package/docs/examples/w-pie_one-set_pieThicknessRatio.html +1 -1
  71. package/docs/examples/w-plot-2d_default.html +1 -1
  72. package/docs/examples/w-rose_multi-set(color).html +1 -1
  73. package/docs/examples/w-rose_multi-set(color, gradient).html +1 -1
  74. package/docs/examples/w-rose_multi-set(series color).html +1 -1
  75. package/docs/examples/w-rose_multi-set(series color, gradient).html +1 -1
  76. package/docs/examples/w-rose_multi-set.html +1 -1
  77. package/docs/examples/w-rose_multi-set__hide legned.html +1 -1
  78. package/docs/examples/w-rose_multi-set__show labels.html +1 -1
  79. package/docs/examples/w-rose_multi-set_roseBorderWidth.html +1 -1
  80. package/docs/examples/w-rose_multi-set_roseKpColor(gradient).html +1 -1
  81. package/docs/examples/w-rose_multi-set_roseKpColor.html +1 -1
  82. package/docs/examples/w-rose_multi-set_roseWidthRatio.html +1 -1
  83. package/docs/examples/w-rose_one-set(color).html +1 -1
  84. package/docs/examples/w-rose_one-set(color, gradient).html +1 -1
  85. package/docs/examples/w-rose_one-set.html +1 -1
  86. package/docs/examples/w-rose_one-set_marginLeft_marginRight_marginTop.html +1 -1
  87. package/docs/examples/w-rose_one-set_roseBorderWidth.html +1 -1
  88. package/docs/examples/w-rose_one-set_roseKpColor(gradient).html +1 -1
  89. package/docs/examples/w-rose_one-set_roseKpColor.html +1 -1
  90. package/docs/examples/w-rose_one-set_roseShowLabels.html +1 -1
  91. package/docs/examples/w-rose_one-set_roseWidthRatio.html +1 -1
  92. package/docs/examples/w-rose_one-set_showLegend.html +1 -1
  93. package/docs/examples/w-rose_one-set_showLegend_legendPosition.html +1 -1
  94. package/docs/examples/w-set-multi_default.html +1 -1
  95. package/docs/examples/w-set-multi_hide labels.html +1 -1
  96. package/docs/examples/w-set-multi_hide legned.html +1 -1
  97. package/docs/examples/w-set-multi_keySelect.html +1 -1
  98. package/docs/examples/w-set-multi_slot head.html +1 -1
  99. package/docs/examples/w-set-multi_textPlotType_kpSelectText_widthSelect.html +1 -1
  100. package/docs/examples/w-set-one_default.html +1 -1
  101. package/docs/examples/w-set-one_hide labels.html +1 -1
  102. package/docs/examples/w-set-one_keySelect.html +1 -1
  103. package/docs/examples/w-set-one_show legned.html +1 -1
  104. package/docs/examples/w-set-one_slot head.html +1 -1
  105. package/docs/examples/w-set-one_textPlotType_kpSelectText_widthSelect.html +1 -1
  106. package/docs/getDefAxis.mjs.html +2 -2
  107. package/docs/getDefChart.mjs.html +2 -2
  108. package/docs/getDefLegend.mjs.html +2 -2
  109. package/docs/getDefOpt.mjs.html +2 -2
  110. package/docs/global.html +2 -2
  111. package/docs/index.html +2 -2
  112. package/docs/module-WBar.html +2 -2
  113. package/docs/module-WPie.html +2 -2
  114. package/docs/module-WPlot2d.html +2 -2
  115. package/docs/module-WRose.html +2 -2
  116. package/docs/module-WSetMulti.html +2 -2
  117. package/docs/module-WSetOne.html +2 -2
  118. package/docs/setLegendLoc.mjs.html +2 -2
  119. package/package.json +6 -8
  120. package/src/App.vue +20 -38
  121. package/src/components/WPlot2d.vue +5 -5
  122. package/src/components/WPlotVue.vue +0 -2
  123. package/docs/examples/w-plot-3d_default.html +0 -203
  124. package/docs/module-WPlot3d.html +0 -250
  125. package/src/AppZoneWPlot3d.vue +0 -106
  126. package/src/components/WPlot3d.vue +0 -1256
@@ -29,7 +29,7 @@
29
29
  <nav >
30
30
 
31
31
 
32
- <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-WBar.html">WBar</a></li><li><a href="module-WPie.html">WPie</a></li><li><a href="module-WPlot2d.html">WPlot2d</a></li><li><a href="module-WPlot3d.html">WPlot3d</a></li><li><a href="module-WRose.html">WRose</a></li><li><a href="module-WSetMulti.html">WSetMulti</a></li><li><a href="module-WSetOne.html">WSetOne</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getDefAxis">getDefAxis</a></li><li><a href="global.html#getDefChart">getDefChart</a></li><li><a href="global.html#getDefLegend">getDefLegend</a></li><li><a href="global.html#getDefOpt">getDefOpt</a></li><li><a href="global.html#setLegendLoc">setLegendLoc</a></li></ul>
32
+ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-WBar.html">WBar</a></li><li><a href="module-WPie.html">WPie</a></li><li><a href="module-WPlot2d.html">WPlot2d</a></li><li><a href="module-WRose.html">WRose</a></li><li><a href="module-WSetMulti.html">WSetMulti</a></li><li><a href="module-WSetOne.html">WSetOne</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getDefAxis">getDefAxis</a></li><li><a href="global.html#getDefChart">getDefChart</a></li><li><a href="global.html#getDefLegend">getDefLegend</a></li><li><a href="global.html#getDefOpt">getDefOpt</a></li><li><a href="global.html#setLegendLoc">setLegendLoc</a></li></ul>
33
33
 
34
34
  </nav>
35
35
 
@@ -237,7 +237,7 @@
237
237
  <br class="clear">
238
238
 
239
239
  <footer>
240
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Tue Aug 18 2026 15:09:55 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
240
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Tue Aug 18 2026 18:01:59 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
241
241
  </footer>
242
242
 
243
243
  <script>prettyPrint();</script>
@@ -29,7 +29,7 @@
29
29
  <nav >
30
30
 
31
31
 
32
- <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-WBar.html">WBar</a></li><li><a href="module-WPie.html">WPie</a></li><li><a href="module-WPlot2d.html">WPlot2d</a></li><li><a href="module-WPlot3d.html">WPlot3d</a></li><li><a href="module-WRose.html">WRose</a></li><li><a href="module-WSetMulti.html">WSetMulti</a></li><li><a href="module-WSetOne.html">WSetOne</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getDefAxis">getDefAxis</a></li><li><a href="global.html#getDefChart">getDefChart</a></li><li><a href="global.html#getDefLegend">getDefLegend</a></li><li><a href="global.html#getDefOpt">getDefOpt</a></li><li><a href="global.html#setLegendLoc">setLegendLoc</a></li></ul>
32
+ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-WBar.html">WBar</a></li><li><a href="module-WPie.html">WPie</a></li><li><a href="module-WPlot2d.html">WPlot2d</a></li><li><a href="module-WRose.html">WRose</a></li><li><a href="module-WSetMulti.html">WSetMulti</a></li><li><a href="module-WSetOne.html">WSetOne</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getDefAxis">getDefAxis</a></li><li><a href="global.html#getDefChart">getDefChart</a></li><li><a href="global.html#getDefLegend">getDefLegend</a></li><li><a href="global.html#getDefOpt">getDefOpt</a></li><li><a href="global.html#setLegendLoc">setLegendLoc</a></li></ul>
33
33
 
34
34
  </nav>
35
35
 
@@ -237,7 +237,7 @@
237
237
  <br class="clear">
238
238
 
239
239
  <footer>
240
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Tue Aug 18 2026 15:09:55 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
240
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Tue Aug 18 2026 18:01:59 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
241
241
  </footer>
242
242
 
243
243
  <script>prettyPrint();</script>
@@ -29,7 +29,7 @@
29
29
  <nav >
30
30
 
31
31
 
32
- <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-WBar.html">WBar</a></li><li><a href="module-WPie.html">WPie</a></li><li><a href="module-WPlot2d.html">WPlot2d</a></li><li><a href="module-WPlot3d.html">WPlot3d</a></li><li><a href="module-WRose.html">WRose</a></li><li><a href="module-WSetMulti.html">WSetMulti</a></li><li><a href="module-WSetOne.html">WSetOne</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getDefAxis">getDefAxis</a></li><li><a href="global.html#getDefChart">getDefChart</a></li><li><a href="global.html#getDefLegend">getDefLegend</a></li><li><a href="global.html#getDefOpt">getDefOpt</a></li><li><a href="global.html#setLegendLoc">setLegendLoc</a></li></ul>
32
+ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-WBar.html">WBar</a></li><li><a href="module-WPie.html">WPie</a></li><li><a href="module-WPlot2d.html">WPlot2d</a></li><li><a href="module-WRose.html">WRose</a></li><li><a href="module-WSetMulti.html">WSetMulti</a></li><li><a href="module-WSetOne.html">WSetOne</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getDefAxis">getDefAxis</a></li><li><a href="global.html#getDefChart">getDefChart</a></li><li><a href="global.html#getDefLegend">getDefLegend</a></li><li><a href="global.html#getDefOpt">getDefOpt</a></li><li><a href="global.html#setLegendLoc">setLegendLoc</a></li></ul>
33
33
 
34
34
  </nav>
35
35
 
@@ -237,7 +237,7 @@
237
237
  <br class="clear">
238
238
 
239
239
  <footer>
240
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Tue Aug 18 2026 15:09:55 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
240
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Tue Aug 18 2026 18:01:59 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
241
241
  </footer>
242
242
 
243
243
  <script>prettyPrint();</script>
@@ -29,7 +29,7 @@
29
29
  <nav >
30
30
 
31
31
 
32
- <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-WBar.html">WBar</a></li><li><a href="module-WPie.html">WPie</a></li><li><a href="module-WPlot2d.html">WPlot2d</a></li><li><a href="module-WPlot3d.html">WPlot3d</a></li><li><a href="module-WRose.html">WRose</a></li><li><a href="module-WSetMulti.html">WSetMulti</a></li><li><a href="module-WSetOne.html">WSetOne</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getDefAxis">getDefAxis</a></li><li><a href="global.html#getDefChart">getDefChart</a></li><li><a href="global.html#getDefLegend">getDefLegend</a></li><li><a href="global.html#getDefOpt">getDefOpt</a></li><li><a href="global.html#setLegendLoc">setLegendLoc</a></li></ul>
32
+ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-WBar.html">WBar</a></li><li><a href="module-WPie.html">WPie</a></li><li><a href="module-WPlot2d.html">WPlot2d</a></li><li><a href="module-WRose.html">WRose</a></li><li><a href="module-WSetMulti.html">WSetMulti</a></li><li><a href="module-WSetOne.html">WSetOne</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getDefAxis">getDefAxis</a></li><li><a href="global.html#getDefChart">getDefChart</a></li><li><a href="global.html#getDefLegend">getDefLegend</a></li><li><a href="global.html#getDefOpt">getDefOpt</a></li><li><a href="global.html#setLegendLoc">setLegendLoc</a></li></ul>
33
33
 
34
34
  </nav>
35
35
 
@@ -163,7 +163,7 @@ export default setLegendLoc
163
163
  <br class="clear">
164
164
 
165
165
  <footer>
166
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Tue Aug 18 2026 15:09:55 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
166
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Tue Aug 18 2026 18:01:59 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
167
167
  </footer>
168
168
 
169
169
  <script>prettyPrint();</script>
package/package.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "name": "w-plot-vue",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "main": "dist/w-plot-vue.umd.js",
5
5
  "dependencies": {
6
- "@mdi/js": "^7.4.47",
7
- "three": "^0.162.0",
8
- "camera-controls": "^2.8.3",
9
- "w-component-vue": "^2.4.82",
10
- "wsemi": "^1.8.75"
6
+ "w-component-vue": "^2.4.83",
7
+ "w-highcharts-vue": "^1.0.5",
8
+ "wsemi": "^1.8.76"
11
9
  },
12
10
  "devDependencies": {
13
11
  "@vue/cli-plugin-babel": "^5.0.8",
@@ -18,11 +16,11 @@
18
16
  "eslint-config-standard": "^17.1.0",
19
17
  "eslint-friendly-formatter": "^4.0.1",
20
18
  "eslint-plugin-import": "^2.27.5",
19
+ "eslint-plugin-n": "^16.6.2",
21
20
  "eslint-plugin-promise": "^6.1.1",
22
21
  "eslint-plugin-vue": "^9.10.0",
23
22
  "vue": "^2.7.16",
24
- "w-package-tools": "^1.1.12",
25
- "eslint-plugin-n": "^16.6.2"
23
+ "w-package-tools": "^1.1.12"
26
24
  },
27
25
  "scripts": {
28
26
  "serve": "vue-cli-service serve",
package/src/App.vue CHANGED
@@ -94,8 +94,6 @@
94
94
 
95
95
  <AppZoneWSetMulti v-if="cmpPick==='WSetMulti'"></AppZoneWSetMulti>
96
96
 
97
- <AppZoneWPlot3d v-if="cmpPick==='WPlot3d'"></AppZoneWPlot3d>
98
-
99
97
  </div>
100
98
 
101
99
 
@@ -117,7 +115,6 @@ import AppZoneWPie from './AppZoneWPie.vue'
117
115
  import AppZoneWRose from './AppZoneWRose.vue'
118
116
  import AppZoneWSetOne from './AppZoneWSetOne.vue'
119
117
  import AppZoneWSetMulti from './AppZoneWSetMulti.vue'
120
- import AppZoneWPlot3d from './AppZoneWPlot3d.vue'
121
118
 
122
119
 
123
120
  let kebabCaseFix = (c) => {
@@ -125,9 +122,6 @@ let kebabCaseFix = (c) => {
125
122
  if (strright(r, 3) === '2-d') {
126
123
  r = strdelright(r, 3) + '2d'
127
124
  }
128
- else if (strright(r, 3) === '3-d') {
129
- r = strdelright(r, 3) + '3d'
130
- }
131
125
  return r
132
126
  }
133
127
 
@@ -141,45 +135,33 @@ export default {
141
135
  AppZoneWRose,
142
136
  AppZoneWSetOne,
143
137
  AppZoneWSetMulti,
144
- AppZoneWPlot3d,
145
138
  },
146
139
  data: function() {
147
140
  let cmps = [
148
141
  {
149
- name: '2d',
142
+ name: 'basic',
143
+ cmps: [
144
+ { name: 'WPlot2d', },
145
+ { name: 'WBar', },
146
+ { name: 'WPie', },
147
+ { name: 'WRose', },
148
+ ],
149
+ },
150
+ {
151
+ name: 'set',
150
152
  cmps: [
151
- {
152
- name: 'basic',
153
- cmps: [
154
- { name: 'WPlot2d', },
155
- { name: 'WBar', },
156
- { name: 'WPie', },
157
- { name: 'WRose', },
158
- ],
159
- },
160
- {
161
- name: 'set',
162
- cmps: [
163
- { name: 'WSetOne', },
164
- { name: 'WSetMulti', },
165
- // {
166
- // name: 'VTest',
167
- // cmps: [
168
- // { name: 'VTest1', },
169
- // { name: 'VTest2', },
170
- // { name: 'VTest3', },
171
- // ],
172
- // },
173
- ],
174
- },
153
+ { name: 'WSetOne', },
154
+ { name: 'WSetMulti', },
155
+ // {
156
+ // name: 'VTest',
157
+ // cmps: [
158
+ // { name: 'VTest1', },
159
+ // { name: 'VTest2', },
160
+ // { name: 'VTest3', },
161
+ // ],
162
+ // },
175
163
  ],
176
164
  },
177
- // {
178
- // name: '3d',
179
- // cmps: [
180
- // { name: 'WPlot3d', },
181
- // ],
182
- // },
183
165
  ]
184
166
  return {
185
167
  kebabCaseFix,
@@ -4,18 +4,18 @@
4
4
  v-if="options"
5
5
  >
6
6
 
7
- <WHighchartsVueDyn
7
+ <WHighchartsVue
8
8
  :options="options"
9
- ></WHighchartsVueDyn>
9
+ ></WHighchartsVue>
10
10
 
11
11
  </div>
12
12
  </template>
13
13
 
14
14
  <script>
15
- import get from 'lodash-es/get.js'
15
+ import get from 'lodash-es/get.js'
16
16
  import isnum from 'wsemi/src/isnum.mjs'
17
17
  import cdbl from 'wsemi/src/cdbl.mjs'
18
- import WHighchartsVueDyn from 'w-component-vue/src/components/WHighchartsVueDyn.vue'
18
+ import WHighchartsVue from 'w-highcharts-vue/src/components/WHighchartsVue.vue'
19
19
 
20
20
 
21
21
  /**
@@ -23,7 +23,7 @@ import WHighchartsVueDyn from 'w-component-vue/src/components/WHighchartsVueDyn.
23
23
  */
24
24
  export default {
25
25
  components: {
26
- WHighchartsVueDyn,
26
+ WHighchartsVue,
27
27
  },
28
28
  props: {
29
29
  options: {
@@ -2,7 +2,6 @@
2
2
  import WBar from './WBar.vue'
3
3
  import WPie from './WPie.vue'
4
4
  import WPlot2d from './WPlot2d.vue'
5
- import WPlot3d from './WPlot3d.vue'
6
5
  import WRose from './WRose.vue'
7
6
  import WSetMulti from './WSetMulti.vue'
8
7
  import WSetOne from './WSetOne.vue'
@@ -12,7 +11,6 @@ let WPlotVue = {
12
11
  Vue.component('w-bar', WBar)
13
12
  Vue.component('w-pie', WPie)
14
13
  Vue.component('w-plot-2-d', WPlot2d)
15
- Vue.component('w-plot-3-d', WPlot3d)
16
14
  Vue.component('w-rose', WRose)
17
15
  Vue.component('w-set-multi', WSetMulti)
18
16
  Vue.component('w-set-one', WSetOne)
@@ -1,203 +0,0 @@
1
- <!doctype html>
2
- <html xmlns="http://www.w3.org/1999/xhtml" lang="zh-tw">
3
- <head>
4
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
5
- <meta
6
- name="viewport"
7
- content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"
8
- />
9
- <meta http-equiv="X-UA-Compatible" content="ie=edge" />
10
- <title>w-plot-vue</title>
11
-
12
- <!-- @babel/polyfill -->
13
- <script
14
- nomodule
15
- src="https://cdn.jsdelivr.net/npm/@babel/polyfill/dist/polyfill.min.js"
16
- ></script>
17
-
18
- <!-- vue -->
19
- <script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.min.js"></script>
20
-
21
- <!-- extractHtml已自動添加@babel/polyfill與vue -->
22
-
23
- <!-- fontawesome -->
24
- <link
25
- href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.2/css/all.min.css"
26
- rel="stylesheet"
27
- />
28
-
29
- <!-- mdi, 各組件使用mdi/js會於轉單頁時改為mdi icon, 故需引用mdi/css -->
30
- <link
31
- href="https://cdn.jsdelivr.net/npm/@mdi/font@7.4.47/css/materialdesignicons.min.css"
32
- rel="stylesheet"
33
- />
34
-
35
- <!-- google, 各組件使用mdi/js故不需引用 -->
36
- <link
37
- _href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"
38
- rel="stylesheet"
39
- />
40
- <link
41
- _href="https://fonts.googleapis.com/css?family=Material+Icons"
42
- rel="stylesheet"
43
- />
44
-
45
- <!-- data -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataAAPL.js"></script>
47
- <script
48
- src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataUSD2EUR.js"
49
- ></script>
50
- <script
51
- src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataTemperature.js"
52
- ></script>
53
- <script
54
- src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataHousePriceArea.js"
55
- ></script>
56
- <script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataFlare.js"></script>
57
- <script src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataRain.js"></script>
58
- <script
59
- src="https://cdn.jsdelivr.net/npm/w-demores/res/data/dataRainClip.js"
60
- ></script>
61
-
62
- <!-- w-plot-vue -->
63
- <script src="https://cdn.jsdelivr.net/npm/w-plot-vue@1.0.16/dist/w-plot-vue.umd.js"></script>
64
-
65
- <style>
66
- .item {
67
- /* 因item位於demolink, 提取各範例html後會刪除demolink, 故得額外補上 */
68
- border-left: 3px solid #ffba75;
69
- margin: 5px 5px 8px 0px;
70
- padding: 3px 3px 5px 10px;
71
- font-size: 0.9rem;
72
- display: flex;
73
- justify-content: flex-start;
74
- align-items: center;
75
- }
76
- .head1 {
77
- padding: 0px 0px 20px 0px;
78
- font-size: 2.5rem;
79
- }
80
- .bkh {
81
- /* 寬 */
82
- padding: 20px;
83
- }
84
- @media screen and (max-width: 800px) {
85
- /* 中 */
86
- .bkh {
87
- padding: 10px;
88
- }
89
- }
90
- @media screen and (max-width: 400px) {
91
- /* 窄 */
92
- .bkh {
93
- padding: 5px;
94
- }
95
- }
96
- .bk {
97
- /* 寬 */
98
- display: inline-block;
99
- vertical-align: top;
100
- padding: 0px 80px 60px 0px;
101
- }
102
- @media screen and (max-width: 1000px) {
103
- /* 中窄 */
104
- .bk {
105
- display: block;
106
- padding: 0px 0px 50px 0px;
107
- }
108
- }
109
- </style>
110
- </head>
111
- <body
112
- style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;"
113
- >
114
- <div id="app" class="bkh" style>
115
- <div class="head1">
116
- <span
117
- style="cursor:pointer;"
118
- title="open for copy link to view component"
119
- onclick="window.open('//yuda-lyu.github.io/w-plot-vue/examples/app.html?cmp='+this.innerText,'_blank')"
120
- >w-plot-3d</span>
121
- </div>
122
- <div class="bk">
123
- <div class="item">default</div>
124
-
125
- <w-plot-3d :options="WPlot3d.option1"></w-plot-3d>
126
- </div>
127
- </div>
128
-
129
- <script>
130
- //install
131
- Vue.use(window["w-plot-vue"]);
132
-
133
- //initialize
134
- new Vue({
135
- el: "#app",
136
-
137
- data: function() {
138
- return {
139
- WPlot3d: {
140
- option1: {
141
- width: 600,
142
- height: 600,
143
- items: [
144
- // {
145
- // url:'./3d_block.stl',
146
- // name:'block',
147
- // color:'#fff', //{ h: 320, s: 0.2, l: 0.15 }
148
- // },
149
- // {
150
- // url:'./3D_Domain(ascii).stl',
151
- // name:'testerA',
152
- // color:'#fff', //{ h: 320, s: 0.2, l: 0.15 }
153
- // },
154
- {
155
- url: "./topo_surface.stl",
156
- name: "Surface",
157
- color: "#d65c5c",
158
- opacity: 0.9
159
- },
160
- {
161
- url: "./A.stl",
162
- name: "A",
163
- color: "#d6d65c",
164
- opacity: 0.9
165
- },
166
- {
167
- url: "./B.stl",
168
- name: "B",
169
- color: "#5cd65c",
170
- opacity: 0.9
171
- },
172
- {
173
- url: "./C.stl",
174
- name: "C",
175
- color: "#5cd6d6",
176
- opacity: 0.9
177
- },
178
- {
179
- url: "./D.stl",
180
- name: "D",
181
- color: "#5c5cd6",
182
- opacity: 0.9
183
- },
184
- {
185
- url: "./E.stl",
186
- name: "E",
187
- color: "#d65cd6",
188
- opacity: 0.9
189
- }
190
- ]
191
- }
192
- }
193
- };
194
- },
195
- mounted: function() {
196
- return {};
197
- },
198
- computed: {},
199
- methods: {}
200
- });
201
- </script>
202
- </body>
203
- </html>