w-plot-vue 1.0.0 → 1.0.1

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 (140) hide show
  1. package/README.md +4 -4
  2. package/dist/w-plot-vue.umd.js +7 -0
  3. package/dist/w-plot-vue.umd.js.map +1 -0
  4. package/docs/examples/app.html +1 -1
  5. package/docs/examples/app.umd.js +2 -2
  6. package/docs/examples/app.umd.js.map +1 -1
  7. package/docs/examples/w-bar_horizontal_multi-set(color).html +10 -10
  8. package/docs/examples/w-bar_horizontal_multi-set(color, gradient).html +10 -10
  9. package/docs/examples/w-bar_horizontal_multi-set(series color).html +10 -10
  10. package/docs/examples/w-bar_horizontal_multi-set(series color, gradient).html +10 -10
  11. package/docs/examples/w-bar_horizontal_multi-set.html +10 -10
  12. package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackNormal).html +10 -10
  13. package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackPercent).html +10 -10
  14. package/docs/examples/w-bar_horizontal_multi-set__hide legned.html +10 -10
  15. package/docs/examples/w-bar_horizontal_multi-set__show labels.html +10 -10
  16. package/docs/examples/w-bar_horizontal_multi-set_barKpColor(gradient).html +10 -10
  17. package/docs/examples/w-bar_horizontal_multi-set_barKpColor.html +10 -10
  18. package/docs/examples/w-bar_horizontal_multi-set_barUseInnerLabelsForHorizontal_barGroupWidthRatio.html +496 -0
  19. package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio.html +10 -10
  20. package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio_barGroupWidthRatio.html +10 -10
  21. package/docs/examples/w-bar_horizontal_one-set(color).html +10 -10
  22. package/docs/examples/w-bar_horizontal_one-set(color, gradient).html +10 -10
  23. package/docs/examples/w-bar_horizontal_one-set.html +10 -10
  24. package/docs/examples/w-bar_horizontal_one-set_barColor(gradient).html +10 -10
  25. package/docs/examples/w-bar_horizontal_one-set_barColor.html +10 -10
  26. package/docs/examples/w-bar_horizontal_one-set_barKpColor(gradient).html +10 -10
  27. package/docs/examples/w-bar_horizontal_one-set_barKpColor.html +10 -10
  28. package/docs/examples/w-bar_horizontal_one-set_barUseInnerLabelsForHorizontal.html +493 -0
  29. package/docs/examples/w-bar_horizontal_one-set_barWidthRatio.html +10 -10
  30. package/docs/examples/w-bar_horizontal_one-set_barWidthRatio_barGroupWidthRatio.html +10 -10
  31. package/docs/examples/w-bar_horizontal_one-set_hide labels.html +10 -10
  32. package/docs/examples/w-bar_horizontal_one-set_marginLeft_marginRight.html +10 -10
  33. package/docs/examples/w-bar_horizontal_one-set_show legned.html +10 -10
  34. package/docs/examples/w-bar_multi-set(color).html +10 -10
  35. package/docs/examples/w-bar_multi-set(color, gradient).html +10 -10
  36. package/docs/examples/w-bar_multi-set(series color).html +10 -10
  37. package/docs/examples/w-bar_multi-set(series color, gradient).html +10 -10
  38. package/docs/examples/w-bar_multi-set.html +10 -10
  39. package/docs/examples/w-bar_multi-set__barDisplay(stackNormal).html +10 -10
  40. package/docs/examples/w-bar_multi-set__barDisplay(stackNormal)_.html +10 -10
  41. package/docs/examples/w-bar_multi-set__barDisplay(stackPercent).html +10 -10
  42. package/docs/examples/w-bar_multi-set__hide legned.html +10 -10
  43. package/docs/examples/w-bar_multi-set__show labels.html +10 -10
  44. package/docs/examples/w-bar_multi-set_barKpColor(gradient).html +10 -10
  45. package/docs/examples/w-bar_multi-set_barKpColor.html +10 -10
  46. package/docs/examples/w-bar_multi-set_barWidthRatio.html +10 -10
  47. package/docs/examples/w-bar_multi-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +10 -10
  48. package/docs/examples/w-bar_one-set(color).html +10 -10
  49. package/docs/examples/w-bar_one-set(color, gradient).html +10 -10
  50. package/docs/examples/w-bar_one-set.html +10 -10
  51. package/docs/examples/w-bar_one-set_barColor(gradient).html +10 -10
  52. package/docs/examples/w-bar_one-set_barColor.html +10 -10
  53. package/docs/examples/w-bar_one-set_barKpColor(gradient).html +10 -10
  54. package/docs/examples/w-bar_one-set_barKpColor.html +10 -10
  55. package/docs/examples/w-bar_one-set_barWidthRatio.html +10 -10
  56. package/docs/examples/w-bar_one-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +10 -10
  57. package/docs/examples/w-bar_one-set_hide labels.html +10 -10
  58. package/docs/examples/w-bar_one-set_marginLeft_marginRight_marginTop.html +10 -10
  59. package/docs/examples/w-bar_one-set_show legned.html +10 -10
  60. package/docs/examples/w-pie_one-set(color).html +5 -5
  61. package/docs/examples/w-pie_one-set(color, gradient).html +5 -5
  62. package/docs/examples/w-pie_one-set.html +5 -5
  63. package/docs/examples/w-pie_one-set_hide labels.html +5 -5
  64. package/docs/examples/w-pie_one-set_hide legned.html +5 -5
  65. package/docs/examples/w-pie_one-set_marginLeft_marginRight_marginTop.html +5 -5
  66. package/docs/examples/w-pie_one-set_pieBorderRadius.html +5 -5
  67. package/docs/examples/w-pie_one-set_pieBorderWidth_pieBorderRadius.html +5 -5
  68. package/docs/examples/w-pie_one-set_pieKpColor(gradient).html +5 -5
  69. package/docs/examples/w-pie_one-set_pieKpColor.html +5 -5
  70. package/docs/examples/w-pie_one-set_pieThicknessRatio.html +5 -5
  71. package/docs/examples/w-plot_default.html +1 -1
  72. package/docs/examples/w-rose_multi-set(color).html +10 -10
  73. package/docs/examples/w-rose_multi-set(color, gradient).html +10 -10
  74. package/docs/examples/w-rose_multi-set(series color).html +10 -10
  75. package/docs/examples/w-rose_multi-set(series color, gradient).html +10 -10
  76. package/docs/examples/w-rose_multi-set.html +10 -10
  77. package/docs/examples/w-rose_multi-set__hide legned.html +10 -10
  78. package/docs/examples/w-rose_multi-set__show labels.html +10 -10
  79. package/docs/examples/w-rose_multi-set_roseBorderWidth.html +10 -10
  80. package/docs/examples/w-rose_multi-set_roseKpColor(gradient).html +10 -10
  81. package/docs/examples/w-rose_multi-set_roseKpColor.html +10 -10
  82. package/docs/examples/w-rose_multi-set_roseWidthRatio.html +10 -10
  83. package/docs/examples/w-rose_one-set(color).html +10 -10
  84. package/docs/examples/w-rose_one-set(color, gradient).html +10 -10
  85. package/docs/examples/w-rose_one-set.html +10 -10
  86. package/docs/examples/w-rose_one-set_marginLeft_marginRight_marginTop.html +10 -10
  87. package/docs/examples/w-rose_one-set_roseBorderWidth.html +10 -10
  88. package/docs/examples/w-rose_one-set_roseKpColor(gradient).html +10 -10
  89. package/docs/examples/w-rose_one-set_roseKpColor.html +10 -10
  90. package/docs/examples/w-rose_one-set_roseShowLabels.html +10 -10
  91. package/docs/examples/w-rose_one-set_roseWidthRatio.html +10 -10
  92. package/docs/examples/w-rose_one-set_showLegend.html +10 -10
  93. package/docs/examples/w-rose_one-set_showLegend_legendPosition.html +10 -10
  94. package/docs/examples/w-set-multi_default.html +221 -0
  95. package/docs/examples/w-set-multi_hide labels.html +222 -0
  96. package/docs/examples/w-set-multi_hide legned.html +222 -0
  97. package/docs/examples/w-set-multi_keySelect.html +226 -0
  98. package/docs/examples/w-set-multi_slot head.html +225 -0
  99. package/docs/examples/w-set-multi_textPlotType_kpSelectText_widthSelect.html +233 -0
  100. package/docs/examples/w-set-one_default.html +192 -0
  101. package/docs/examples/w-set-one_hide labels.html +193 -0
  102. package/docs/examples/w-set-one_keySelect.html +197 -0
  103. package/docs/examples/w-set-one_show legned.html +193 -0
  104. package/docs/examples/w-set-one_slot head.html +196 -0
  105. package/docs/examples/w-set-one_textPlotType_kpSelectText_widthSelect.html +201 -0
  106. package/docs/getDefAxis.mjs.html +5 -5
  107. package/docs/getDefChart.mjs.html +3 -3
  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-WPlot.html +2 -2
  115. package/docs/module-WRose.html +2 -2
  116. package/docs/module-WSetMulti.html +216 -0
  117. package/docs/module-WSetOne.html +216 -0
  118. package/docs/setLegendLoc.mjs.html +2 -2
  119. package/package.json +1 -1
  120. package/src/App.vue +10 -0
  121. package/src/AppZoneWBar.vue +50 -9
  122. package/src/AppZoneWPie.vue +4 -4
  123. package/src/AppZoneWRose.vue +9 -9
  124. package/src/AppZoneWSetMulti.vue +225 -0
  125. package/src/AppZoneWSetOne.vue +193 -0
  126. package/src/components/WBar.vue +128 -18
  127. package/src/components/WPie.vue +21 -18
  128. package/src/components/{WGeoVue.vue → WPlotVue.vue} +8 -4
  129. package/src/components/WRose.vue +21 -18
  130. package/src/components/WSetMulti.vue +423 -0
  131. package/src/components/WSetOne.vue +57 -0
  132. package/src/js/genBarOpt.mjs +54 -7
  133. package/src/js/genPieOpt.mjs +1 -1
  134. package/src/js/genRoseOpt.mjs +1 -1
  135. package/src/js/getDefAxis.mjs +3 -3
  136. package/src/js/getDefChart.mjs +1 -1
  137. package/toolg/gDistRollupComps.mjs +1 -1
  138. package/toolg/gMergeComps.mjs +4 -4
  139. package/dist/w-geo-vue.umd.js +0 -7
  140. package/dist/w-geo-vue.umd.js.map +0 -1
@@ -0,0 +1,216 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>WSetOne - Documentation</title>
7
+
8
+
9
+ <script src="scripts/prettify/prettify.js"></script>
10
+ <script src="scripts/prettify/lang-css.js"></script>
11
+ <!--[if lt IE 9]>
12
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
+ <![endif]-->
14
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
+ <script src="scripts/nav.js" defer></script>
17
+
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
+ </head>
20
+ <body>
21
+
22
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
+ <label for="nav-trigger" class="navicon-button x">
24
+ <div class="navicon"></div>
25
+ </label>
26
+
27
+ <label for="nav-trigger" class="overlay"></label>
28
+
29
+ <nav >
30
+
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-WPlot.html">WPlot</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
+
34
+ </nav>
35
+
36
+ <div id="main">
37
+
38
+ <h1 class="page-title">WSetOne</h1>
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <section>
47
+
48
+ <header>
49
+
50
+ </header>
51
+
52
+ <article>
53
+
54
+ <div class="container-overview">
55
+
56
+
57
+
58
+ <dl class="details">
59
+
60
+ <dt class="tag-description">Description:</dt>
61
+ <dd class="tag-description"><ul class="dummy"><li></p></div></div>
62
+
63
+
64
+ <h3 class="subsection-title" style="margin-top: 1em" data-jsdoc-vuejs="section-props">Props</h3>
65
+ <table data-jsdoc-vuejs="table-props">
66
+ <thead>
67
+ <tr>
68
+ <th>Name</th>
69
+ <th>Type</th>
70
+ <th>Default value</th>
71
+ <th>Required?</th>
72
+ <th>Description</th>
73
+ </tr>
74
+ </thead>
75
+ <tbody><tr>
76
+ <td><code>opt</code></td>
77
+ <td>Object</td>
78
+ <td><code>{}</code></td>
79
+ <td>No</td>
80
+ <td>輸入設定物件,預設{}</td>
81
+ </tr></tbody>
82
+ </table>
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+ <div class="container-overview"><div><p>
93
+ </li></ul></dd>
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+ </dl>
128
+
129
+
130
+
131
+
132
+
133
+ <div class="description usertext"></p></div></div>
134
+
135
+
136
+ <h3 class="subsection-title" style="margin-top: 1em" data-jsdoc-vuejs="section-props">Props</h3>
137
+ <table data-jsdoc-vuejs="table-props">
138
+ <thead>
139
+ <tr>
140
+ <th>Name</th>
141
+ <th>Type</th>
142
+ <th>Default value</th>
143
+ <th>Required?</th>
144
+ <th>Description</th>
145
+ </tr>
146
+ </thead>
147
+ <tbody><tr>
148
+ <td><code>opt</code></td>
149
+ <td>Object</td>
150
+ <td><code>{}</code></td>
151
+ <td>No</td>
152
+ <td>輸入設定物件,預設{}</td>
153
+ </tr></tbody>
154
+ </table>
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+ <div class="container-overview"><div><p>
165
+ </div>
166
+
167
+
168
+
169
+
170
+ </div>
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+ </article>
193
+
194
+ </section>
195
+
196
+
197
+
198
+
199
+
200
+
201
+ </div>
202
+
203
+ <br class="clear">
204
+
205
+ <footer>
206
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Thu Dec 14 2023 21:25:21 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
207
+ </footer>
208
+
209
+ <script>prettyPrint();</script>
210
+ <script src="scripts/polyfill.js"></script>
211
+ <script src="scripts/linenumber.js"></script>
212
+
213
+
214
+
215
+ </body>
216
+ </html>
@@ -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-WPlot.html">WPlot</a></li><li><a href="module-WRose.html">WRose</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-WPlot.html">WPlot</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.2</a> on Wed Dec 13 2023 23:13:49 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.2</a> on Thu Dec 14 2023 21:25:21 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,6 +1,6 @@
1
1
  {
2
2
  "name": "w-plot-vue",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "dist/w-plot-vue.umd.js",
5
5
  "dependencies": {
6
6
  "@mdi/js": "^7.2.96",
package/src/App.vue CHANGED
@@ -38,6 +38,10 @@
38
38
 
39
39
  <AppZoneWRose v-if="cmpPick==='WRose'"></AppZoneWRose>
40
40
 
41
+ <AppZoneWSetOne v-if="cmpPick==='WSetOne'"></AppZoneWSetOne>
42
+
43
+ <AppZoneWSetMulti v-if="cmpPick==='WSetMulti'"></AppZoneWSetMulti>
44
+
41
45
  </div>
42
46
 
43
47
 
@@ -55,6 +59,8 @@ import AppZoneWPlot from './AppZoneWPlot.vue'
55
59
  import AppZoneWBar from './AppZoneWBar.vue'
56
60
  import AppZoneWPie from './AppZoneWPie.vue'
57
61
  import AppZoneWRose from './AppZoneWRose.vue'
62
+ import AppZoneWSetOne from './AppZoneWSetOne.vue'
63
+ import AppZoneWSetMulti from './AppZoneWSetMulti.vue'
58
64
 
59
65
 
60
66
  export default {
@@ -64,6 +70,8 @@ export default {
64
70
  AppZoneWBar,
65
71
  AppZoneWPie,
66
72
  AppZoneWRose,
73
+ AppZoneWSetOne,
74
+ AppZoneWSetMulti,
67
75
  },
68
76
  data: function() {
69
77
  return {
@@ -78,6 +86,8 @@ export default {
78
86
  'WBar',
79
87
  'WPie',
80
88
  'WRose',
89
+ 'WSetOne',
90
+ 'WSetMulti',
81
91
  ],
82
92
 
83
93
  cmpPick: 'WPlot',
@@ -569,6 +569,25 @@
569
569
  </div>
570
570
 
571
571
 
572
+ <div class="bk">
573
+ <demolink
574
+ :kbname="'w-bar'"
575
+ :casename="'horizontal & one-set & barUseInnerLabelsForHorizontal'"
576
+ ></demolink>
577
+
578
+ <w-bar
579
+ :opt="{
580
+ ...WBar.opt1a,
581
+ direction:'horizontal',
582
+ marginLeft:80,
583
+ legendPosition:'bottomright',
584
+ barUseInnerLabelsForHorizontal:true,
585
+ }"
586
+ ></w-bar>
587
+
588
+ </div>
589
+
590
+
572
591
  <div class="bk">
573
592
  <demolink
574
593
  :kbname="'w-bar'"
@@ -815,6 +834,28 @@
815
834
  </div>
816
835
 
817
836
 
837
+ <div class="bk">
838
+ <demolink
839
+ :kbname="'w-bar'"
840
+ :casename="'horizontal & multi-set & barUseInnerLabelsForHorizontal & barGroupWidthRatio'"
841
+ ></demolink>
842
+
843
+ <w-bar
844
+ :opt="{
845
+ ...WBar.opt2a,
846
+ direction:'horizontal',
847
+ marginLeft:80,
848
+ legendPosition:'bottomright',
849
+ barShowLabels:false,
850
+ showLegend:true,
851
+ barUseInnerLabelsForHorizontal:true,
852
+ barGroupWidthRatio:0.25,
853
+ }"
854
+ ></w-bar>
855
+
856
+ </div>
857
+
858
+
818
859
  <div class="bk">
819
860
  <demolink
820
861
  :kbname="'w-bar'"
@@ -1153,7 +1194,7 @@ export default {
1153
1194
  props: {
1154
1195
  },
1155
1196
  data: function() {
1156
- let keys1 = ['USA', 'China', 'Brazil', 'EU', 'India', 'Russia']
1197
+ let keys = ['USA', 'China', 'Brazil', 'EU', 'India', 'Russia']
1157
1198
  let rds1a = [
1158
1199
  {
1159
1200
  name: 'Corn',
@@ -1381,7 +1422,7 @@ export default {
1381
1422
  'opt1a': {
1382
1423
  width: 400,
1383
1424
  height: 400,
1384
- keys: keys1,
1425
+ keys,
1385
1426
  rds: rds1a,
1386
1427
  xTitle: 'Countries',
1387
1428
  yTitle: 'Weight (MT)',
@@ -1389,7 +1430,7 @@ export default {
1389
1430
  'opt1b': {
1390
1431
  width: 400,
1391
1432
  height: 400,
1392
- keys: keys1,
1433
+ keys,
1393
1434
  rds: rds1b,
1394
1435
  xTitle: 'Countries',
1395
1436
  yTitle: 'Weight (MT)',
@@ -1397,7 +1438,7 @@ export default {
1397
1438
  'opt1c': {
1398
1439
  width: 400,
1399
1440
  height: 400,
1400
- keys: keys1,
1441
+ keys,
1401
1442
  rds: rds1c,
1402
1443
  xTitle: 'Countries',
1403
1444
  yTitle: 'Weight (MT)',
@@ -1405,7 +1446,7 @@ export default {
1405
1446
  'opt2a': {
1406
1447
  width: 400,
1407
1448
  height: 400,
1408
- keys: keys1,
1449
+ keys,
1409
1450
  rds: rds2a,
1410
1451
  xTitle: 'Countries',
1411
1452
  yTitle: 'Weight (MT)',
@@ -1413,7 +1454,7 @@ export default {
1413
1454
  'opt2b': {
1414
1455
  width: 400,
1415
1456
  height: 400,
1416
- keys: keys1,
1457
+ keys,
1417
1458
  rds: rds2b,
1418
1459
  xTitle: 'Countries',
1419
1460
  yTitle: 'Weight (MT)',
@@ -1421,7 +1462,7 @@ export default {
1421
1462
  'opt2c': {
1422
1463
  width: 400,
1423
1464
  height: 400,
1424
- keys: keys1,
1465
+ keys,
1425
1466
  rds: rds2c,
1426
1467
  xTitle: 'Countries',
1427
1468
  yTitle: 'Weight (MT)',
@@ -1429,7 +1470,7 @@ export default {
1429
1470
  'opt2d': {
1430
1471
  width: 400,
1431
1472
  height: 400,
1432
- keys: keys1,
1473
+ keys,
1433
1474
  rds: rds2d,
1434
1475
  xTitle: 'Countries',
1435
1476
  yTitle: 'Weight (MT)',
@@ -1437,7 +1478,7 @@ export default {
1437
1478
  'opt2e': {
1438
1479
  width: 400,
1439
1480
  height: 400,
1440
- keys: keys1,
1481
+ keys,
1441
1482
  rds: rds2e,
1442
1483
  xTitle: 'Countries',
1443
1484
  yTitle: 'Weight (MT)',
@@ -217,7 +217,7 @@ export default {
217
217
  props: {
218
218
  },
219
219
  data: function() {
220
- let keys1 = ['USA', 'China', 'Brazil', 'EU', 'India', 'Russia']
220
+ let keys = ['USA', 'China', 'Brazil', 'EU', 'India', 'Russia']
221
221
  let rds1a = [
222
222
  {
223
223
  name: 'Corn',
@@ -291,7 +291,7 @@ export default {
291
291
  'opt1a': {
292
292
  width: 400,
293
293
  height: 400,
294
- keys: keys1,
294
+ keys,
295
295
  rds: rds1a,
296
296
  xTitle: 'Countries',
297
297
  yTitle: 'Weight (MT)',
@@ -299,7 +299,7 @@ export default {
299
299
  'opt1b': {
300
300
  width: 400,
301
301
  height: 400,
302
- keys: keys1,
302
+ keys,
303
303
  rds: rds1b,
304
304
  xTitle: 'Countries',
305
305
  yTitle: 'Weight (MT)',
@@ -307,7 +307,7 @@ export default {
307
307
  'opt1c': {
308
308
  width: 400,
309
309
  height: 400,
310
- keys: keys1,
310
+ keys,
311
311
  rds: rds1c,
312
312
  xTitle: 'Countries',
313
313
  yTitle: 'Weight (MT)',
@@ -434,7 +434,7 @@ export default {
434
434
  props: {
435
435
  },
436
436
  data: function() {
437
- let keys1 = ['USA', 'China', 'Brazil', 'EU', 'India', 'Russia']
437
+ let keys = ['USA', 'China', 'Brazil', 'EU', 'India', 'Russia']
438
438
  let rds1a = [
439
439
  {
440
440
  name: 'Corn',
@@ -662,7 +662,7 @@ export default {
662
662
  'opt1a': {
663
663
  width: 400,
664
664
  height: 400,
665
- keys: keys1,
665
+ keys,
666
666
  rds: rds1a,
667
667
  xTitle: 'Countries',
668
668
  yTitle: 'Weight (MT)',
@@ -670,7 +670,7 @@ export default {
670
670
  'opt1b': {
671
671
  width: 400,
672
672
  height: 400,
673
- keys: keys1,
673
+ keys,
674
674
  rds: rds1b,
675
675
  xTitle: 'Countries',
676
676
  yTitle: 'Weight (MT)',
@@ -678,7 +678,7 @@ export default {
678
678
  'opt1c': {
679
679
  width: 400,
680
680
  height: 400,
681
- keys: keys1,
681
+ keys,
682
682
  rds: rds1c,
683
683
  xTitle: 'Countries',
684
684
  yTitle: 'Weight (MT)',
@@ -686,7 +686,7 @@ export default {
686
686
  'opt2a': {
687
687
  width: 400,
688
688
  height: 400,
689
- keys: keys1,
689
+ keys,
690
690
  rds: rds2a,
691
691
  xTitle: 'Countries',
692
692
  yTitle: 'Weight (MT)',
@@ -694,7 +694,7 @@ export default {
694
694
  'opt2b': {
695
695
  width: 400,
696
696
  height: 400,
697
- keys: keys1,
697
+ keys,
698
698
  rds: rds2b,
699
699
  xTitle: 'Countries',
700
700
  yTitle: 'Weight (MT)',
@@ -702,7 +702,7 @@ export default {
702
702
  'opt2c': {
703
703
  width: 400,
704
704
  height: 400,
705
- keys: keys1,
705
+ keys,
706
706
  rds: rds2c,
707
707
  xTitle: 'Countries',
708
708
  yTitle: 'Weight (MT)',
@@ -710,7 +710,7 @@ export default {
710
710
  'opt2d': {
711
711
  width: 400,
712
712
  height: 400,
713
- keys: keys1,
713
+ keys,
714
714
  rds: rds2d,
715
715
  xTitle: 'Countries',
716
716
  yTitle: 'Weight (MT)',
@@ -718,7 +718,7 @@ export default {
718
718
  'opt2e': {
719
719
  width: 400,
720
720
  height: 400,
721
- keys: keys1,
721
+ keys,
722
722
  rds: rds2e,
723
723
  xTitle: 'Countries',
724
724
  yTitle: 'Weight (MT)',