@orbcharts/presets-basic 3.0.0-alpha.8 → 3.0.0-beta.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 (285) hide show
  1. package/dist/lib/core-types.d.ts +1 -0
  2. package/dist/lib/plugins-basic-types.d.ts +1 -0
  3. package/dist/orbcharts-presets-basic.es.js +1270 -779
  4. package/dist/orbcharts-presets-basic.umd.js +1 -1
  5. package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.d.ts +4 -0
  6. package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.d.ts +4 -0
  7. package/dist/src/grid/PRESET_BARS_ROUND.d.ts +4 -0
  8. package/dist/src/grid/PRESET_BARS_THIN.d.ts +4 -0
  9. package/dist/src/grid/PRESET_GRID_BASIC.d.ts +4 -0
  10. package/dist/src/grid/PRESET_GRID_HORIZONTAL.d.ts +4 -0
  11. package/dist/src/grid/PRESET_GRID_PN_SCALE.d.ts +4 -0
  12. package/dist/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.d.ts +4 -0
  13. package/dist/src/grid/PRESET_GRID_SEPARATE_SERIES.d.ts +4 -0
  14. package/dist/src/grid/PRESET_LINES_BASIC.d.ts +4 -0
  15. package/dist/src/grid/PRESET_LINES_CURVE.d.ts +4 -0
  16. package/dist/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
  17. package/dist/src/grid/PRESET_LINES_HORIZONTAL.d.ts +4 -0
  18. package/dist/src/grid/PRESET_LINES_LOOSE_TICKS.d.ts +4 -0
  19. package/dist/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.d.ts +4 -0
  20. package/dist/src/grid/PRESET_LINES_WITH_SOLID_DOTS.d.ts +4 -0
  21. package/dist/src/grid/PRESET_LINE_AREAS_BASIC.d.ts +4 -0
  22. package/dist/src/grid/PRESET_LINE_AREAS_CURVE.d.ts +4 -0
  23. package/dist/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
  24. package/dist/src/grid/PRESET_LINE_AREAS_HORIZONTAL.d.ts +4 -0
  25. package/dist/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.d.ts +4 -0
  26. package/dist/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.d.ts +4 -0
  27. package/dist/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.d.ts +4 -0
  28. package/dist/src/grid/index.d.ts +21 -0
  29. package/dist/src/index.d.ts +4 -30
  30. package/dist/src/multiGrid/PRESET_MULTI_GRID_BASIC.d.ts +4 -0
  31. package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.d.ts +4 -0
  32. package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +4 -0
  33. package/dist/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.d.ts +4 -0
  34. package/dist/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.d.ts +4 -0
  35. package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +4 -0
  36. package/dist/src/multiGrid/index.d.ts +6 -0
  37. package/dist/src/params.d.ts +7 -0
  38. package/dist/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
  39. package/dist/src/series/PRESET_BUBBLES_SEPARATE_SERIES.d.ts +4 -0
  40. package/dist/src/series/PRESET_PIE_BASIC.d.ts +4 -0
  41. package/dist/src/series/PRESET_PIE_DONUT.d.ts +4 -0
  42. package/dist/src/series/PRESET_PIE_HALF_DONUT.d.ts +4 -0
  43. package/dist/src/series/PRESET_PIE_WITH_INNER_LABELS.d.ts +4 -0
  44. package/dist/src/series/PRESET_ROSE_BASIC.d.ts +4 -0
  45. package/dist/src/series/PRESET_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
  46. package/dist/src/series/PRESET_SERIES_BASIC.d.ts +4 -0
  47. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES.d.ts +4 -0
  48. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
  49. package/dist/src/series/PRESET_SERIES_SUM_SERIES.d.ts +4 -0
  50. package/dist/src/series/index.d.ts +12 -0
  51. package/dist/src/tree/PRESET_TREE_BASIC.d.ts +4 -0
  52. package/dist/src/tree/index.d.ts +1 -0
  53. package/dist/src/types.d.ts +121 -37
  54. package/dist/vite.config.d.ts +1 -1
  55. package/lib/core-types.ts +7 -0
  56. package/lib/plugins-basic-types.ts +6 -0
  57. package/package.json +5 -6
  58. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +56 -0
  59. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +52 -0
  60. package/src/grid/PRESET_BARS_ROUND.ts +39 -0
  61. package/src/grid/PRESET_BARS_THIN.ts +36 -0
  62. package/src/grid/PRESET_GRID_BASIC.ts +27 -0
  63. package/src/grid/PRESET_GRID_HORIZONTAL.ts +44 -0
  64. package/src/grid/PRESET_GRID_PN_SCALE.ts +35 -0
  65. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +35 -0
  66. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +40 -0
  67. package/src/grid/PRESET_LINES_BASIC.ts +35 -0
  68. package/src/grid/PRESET_LINES_CURVE.ts +38 -0
  69. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +37 -0
  70. package/src/grid/PRESET_LINES_HORIZONTAL.ts +51 -0
  71. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +37 -0
  72. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +40 -0
  73. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +39 -0
  74. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +43 -0
  75. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +48 -0
  76. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +47 -0
  77. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +47 -0
  78. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +45 -0
  79. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +48 -0
  80. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +50 -0
  81. package/src/grid/index.ts +23 -0
  82. package/src/index.ts +4 -218
  83. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +38 -0
  84. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +86 -0
  85. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +58 -0
  86. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +60 -0
  87. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +86 -0
  88. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +104 -0
  89. package/src/multiGrid/index.ts +6 -0
  90. package/src/params.ts +61 -0
  91. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +18 -0
  92. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -0
  93. package/src/series/PRESET_PIE_BASIC.ts +19 -0
  94. package/src/series/PRESET_PIE_DONUT.ts +24 -0
  95. package/src/series/PRESET_PIE_HALF_DONUT.ts +37 -0
  96. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +25 -0
  97. package/src/series/PRESET_ROSE_BASIC.ts +20 -0
  98. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +25 -0
  99. package/src/series/PRESET_SERIES_BASIC.ts +16 -0
  100. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +18 -0
  101. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +19 -0
  102. package/src/series/PRESET_SERIES_SUM_SERIES.ts +18 -0
  103. package/src/series/index.ts +13 -0
  104. package/src/tree/PRESET_TREE_BASIC.ts +27 -0
  105. package/src/tree/index.ts +1 -0
  106. package/src/types.ts +263 -56
  107. package/{tsconfig.prod.json → tsconfig.base.json} +1 -1
  108. package/tsconfig.json +1 -12
  109. package/vite.config.js +17 -39
  110. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +0 -3
  111. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  112. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +0 -3
  113. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  114. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +0 -3
  115. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +0 -3
  116. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  117. package/dist/src/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -3
  118. package/dist/src/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -3
  119. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -3
  120. package/dist/src/chartParamsFiles/index.d.ts +0 -10
  121. package/dist/src/createPreset.d.ts +0 -9
  122. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +0 -3
  123. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +0 -3
  124. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +0 -3
  125. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +0 -3
  126. package/dist/src/gridDataFormatterFiles/index.d.ts +0 -4
  127. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -4
  128. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -4
  129. package/dist/src/gridPluginParamsFiles/Bars/index.d.ts +0 -2
  130. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -4
  131. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -4
  132. package/dist/src/gridPluginParamsFiles/Dots/index.d.ts +0 -2
  133. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -4
  134. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  135. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +0 -4
  136. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +0 -3
  137. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -4
  138. package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -1
  139. package/dist/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -4
  140. package/dist/src/gridPluginParamsFiles/Lines/index.d.ts +0 -1
  141. package/dist/src/gridPluginParamsFiles/index.d.ts +0 -5
  142. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +0 -3
  143. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +0 -3
  144. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +0 -3
  145. package/dist/src/multiGridDataFormatterFiles/index.d.ts +0 -3
  146. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +0 -4
  147. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +0 -4
  148. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +0 -4
  149. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +0 -3
  150. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +0 -4
  151. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +0 -4
  152. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +0 -4
  153. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +0 -4
  154. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +0 -4
  155. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +0 -4
  156. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +0 -4
  157. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +0 -4
  158. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +0 -3
  159. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +0 -4
  160. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  161. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +0 -4
  162. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +0 -4
  163. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +0 -4
  164. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +0 -4
  165. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +0 -4
  166. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +0 -4
  167. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +0 -3
  168. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +0 -4
  169. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +0 -4
  170. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +0 -4
  171. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +0 -4
  172. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +0 -4
  173. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +0 -4
  174. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +0 -4
  175. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +0 -4
  176. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +0 -3
  177. package/dist/src/multiGridPluginParamsFiles/index.d.ts +0 -7
  178. package/dist/src/multiValueDataFormatterFiles/index.d.ts +0 -1
  179. package/dist/src/multiValuePluginParamsFiles/index.d.ts +0 -1
  180. package/dist/src/relationshipDataFormatterFiles/index.d.ts +0 -1
  181. package/dist/src/relationshipPluginParamsFiles/index.d.ts +0 -1
  182. package/dist/src/seriesDataFormatterFiles/index.d.ts +0 -1
  183. package/dist/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -4
  184. package/dist/src/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -1
  185. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
  186. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -4
  187. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -4
  188. package/dist/src/seriesPluginParamsFiles/Pie/index.d.ts +0 -2
  189. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -4
  190. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -4
  191. package/dist/src/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -2
  192. package/dist/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -4
  193. package/dist/src/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -1
  194. package/dist/src/seriesPluginParamsFiles/index.d.ts +0 -4
  195. package/dist/src/treeDataFormatterFiles/index.d.ts +0 -1
  196. package/dist/src/treePluginParamsFiles/index.d.ts +0 -1
  197. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +0 -14
  198. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  199. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +0 -14
  200. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  201. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +0 -14
  202. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +0 -15
  203. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  204. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +0 -14
  205. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +0 -14
  206. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +0 -14
  207. package/src/chartParamsFiles/index.ts +0 -10
  208. package/src/createPreset.ts +0 -88
  209. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +0 -16
  210. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +0 -16
  211. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +0 -16
  212. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +0 -23
  213. package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +0 -15
  214. package/src/gridDataFormatterFiles/index.ts +0 -5
  215. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +0 -15
  216. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +0 -14
  217. package/src/gridPluginParamsFiles/Bars/index.ts +0 -2
  218. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -12
  219. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +0 -14
  220. package/src/gridPluginParamsFiles/Dots/index.ts +0 -2
  221. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +0 -14
  222. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -15
  223. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +0 -15
  224. package/src/gridPluginParamsFiles/GridLegend/index.ts +0 -3
  225. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +0 -13
  226. package/src/gridPluginParamsFiles/GroupAxis/index.ts +0 -1
  227. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +0 -13
  228. package/src/gridPluginParamsFiles/Lines/index.ts +0 -1
  229. package/src/gridPluginParamsFiles/index.ts +0 -6
  230. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +0 -21
  231. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +0 -24
  232. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +0 -27
  233. package/src/multiGridDataFormatterFiles/index.ts +0 -3
  234. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +0 -12
  235. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +0 -12
  236. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +0 -12
  237. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +0 -4
  238. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +0 -12
  239. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +0 -12
  240. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +0 -12
  241. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +0 -15
  242. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +0 -5
  243. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +0 -12
  244. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +0 -12
  245. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +0 -12
  246. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +0 -3
  247. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +0 -14
  248. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -28
  249. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +0 -21
  250. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +0 -22
  251. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +0 -4
  252. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +0 -13
  253. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +0 -13
  254. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +0 -13
  255. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +0 -3
  256. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +0 -12
  257. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +0 -12
  258. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +0 -12
  259. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +0 -13
  260. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +0 -4
  261. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +0 -12
  262. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +0 -12
  263. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +0 -12
  264. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +0 -3
  265. package/src/multiGridPluginParamsFiles/index.ts +0 -7
  266. package/src/multiValueDataFormatterFiles/index.ts +0 -1
  267. package/src/multiValuePluginParamsFiles/index.ts +0 -1
  268. package/src/relationshipDataFormatterFiles/index.ts +0 -1
  269. package/src/relationshipPluginParamsFiles/index.ts +0 -1
  270. package/src/seriesDataFormatterFiles/index.ts +0 -1
  271. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +0 -12
  272. package/src/seriesPluginParamsFiles/Bubbles/index.ts +0 -1
  273. package/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.ts +0 -0
  274. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +0 -12
  275. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +0 -14
  276. package/src/seriesPluginParamsFiles/Pie/index.ts +0 -2
  277. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +0 -13
  278. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +0 -13
  279. package/src/seriesPluginParamsFiles/PieLabels/index.ts +0 -2
  280. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +0 -12
  281. package/src/seriesPluginParamsFiles/SeriesLegend/index.ts +0 -1
  282. package/src/seriesPluginParamsFiles/index.ts +0 -4
  283. package/src/treeDataFormatterFiles/index.ts +0 -1
  284. package/src/treePluginParamsFiles/index.ts +0 -1
  285. package/tsconfig.dev.json +0 -18
@@ -1,65 +1,523 @@
1
- const S = {
2
- id: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
3
- description: "間距下面及左邊留空",
4
- data: {
1
+ const u = {
2
+ name: "PRESET_BUBBLES_SCALING_BY_RADIUS",
3
+ description: "以半徑尺寸為比例的泡泡圖",
4
+ allPluginParams: {
5
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
6
+ Bubbles: {
7
+ arcScaleType: "radius"
8
+ },
9
+ SeriesLegend: {
10
+ listRectRadius: 7
11
+ // 圓型圖例列點
12
+ }
13
+ }
14
+ }, S = {
15
+ name: "PRESET_BUBBLES_SEPARATE_SERIES",
16
+ description: "分開顯示Series泡泡",
17
+ chartParams: {
18
+ // 加長留空
19
+ padding: {
20
+ top: 160,
21
+ right: 160,
22
+ bottom: 160,
23
+ left: 160
24
+ }
25
+ },
26
+ dataFormatter: {
27
+ separateSeries: !0
28
+ },
29
+ allPluginParams: {
30
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
31
+ Bubbles: {},
32
+ SeriesLegend: {
33
+ listRectRadius: 7
34
+ // 圓型圖例列點
35
+ },
36
+ SeriesTooltip: {}
37
+ }
38
+ }, i = {
39
+ name: "PRESET_PIE_BASIC",
40
+ description: "基本Pie參數",
41
+ dataFormatter: {
42
+ sort: (t, e) => e.value - t.value
43
+ },
44
+ allPluginParams: {
45
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
46
+ SeriesLegend: {
47
+ listRectRadius: 7
48
+ // 圓型圖例列點
49
+ }
50
+ }
51
+ };
52
+ i.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
53
+ const r = {
54
+ name: "PRESET_PIE_DONUT",
55
+ description: "甜甜圈圖",
56
+ dataFormatter: {
57
+ sort: (t, e) => e.value - t.value
58
+ },
59
+ allPluginParams: {
60
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
61
+ Pie: {
62
+ innerRadius: 0.5
63
+ },
64
+ PieLabels: {},
65
+ PieEventTexts: {},
66
+ SeriesLegend: {
67
+ listRectRadius: 7
68
+ // 圓型圖例列點
69
+ }
70
+ }
71
+ };
72
+ r.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
73
+ const s = {
74
+ name: "PRESET_PIE_HALF_DONUT",
75
+ description: "半圓甜甜圈圖",
76
+ chartParams: {
77
+ padding: {
78
+ top: 120,
79
+ right: 120,
80
+ bottom: 0,
81
+ left: 60
82
+ }
83
+ },
84
+ dataFormatter: {
85
+ sort: (t, e) => e.value - t.value
86
+ },
87
+ allPluginParams: {
88
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
89
+ Pie: {
90
+ innerRadius: 0.5,
91
+ startAngle: -Math.PI / 2,
92
+ endAngle: Math.PI / 2
93
+ },
94
+ PieLabels: {
95
+ startAngle: -Math.PI / 2,
96
+ endAngle: Math.PI / 2
97
+ },
98
+ PieEventTexts: {},
99
+ SeriesLegend: {
100
+ listRectRadius: 7
101
+ // 圓型圖例列點
102
+ }
103
+ }
104
+ };
105
+ s.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
106
+ const l = {
107
+ name: "PRESET_PIE_WITH_INNER_LABELS",
108
+ description: "圓餅圖及內部資料標籤",
109
+ dataFormatter: {
110
+ sort: (t, e) => e.value - t.value
111
+ },
112
+ allPluginParams: {
113
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
114
+ Pie: {},
115
+ PieLabels: {
116
+ labelCentroid: 1.3,
117
+ // 圖內資料標籤
118
+ labelColorType: "primary"
119
+ },
120
+ PieEventTexts: {},
121
+ SeriesLegend: {
122
+ listRectRadius: 7
123
+ // 圓型圖例列點
124
+ }
125
+ }
126
+ };
127
+ l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
128
+ const o = {
129
+ name: "PRESET_ROSE_BASIC",
130
+ description: "基本Rose參數",
131
+ dataFormatter: {
132
+ sort: (t, e) => e.value - t.value
133
+ },
134
+ allPluginParams: {
135
+ // ...ALL_PLUGIN_PARAMS_SERIES,
136
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
137
+ SeriesLegend: {
138
+ listRectRadius: 7
139
+ // 圓型圖例列點
140
+ }
141
+ }
142
+ };
143
+ o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
144
+ const n = {
145
+ name: "PRESET_ROSE_SCALING_BY_RADIUS",
146
+ description: "以半徑尺寸為比例的玫瑰圖",
147
+ dataFormatter: {
148
+ sort: (t, e) => e.value - t.value
149
+ },
150
+ allPluginParams: {
151
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
152
+ Rose: {
153
+ arcScaleType: "radius"
154
+ },
155
+ RoseLabels: {
156
+ arcScaleType: "radius"
157
+ },
158
+ SeriesLegend: {
159
+ listRectRadius: 7
160
+ // 圓型圖例列點
161
+ }
162
+ }
163
+ };
164
+ n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
165
+ const R = {
166
+ name: "PRESET_SERIES_BASIC",
167
+ description: "基本Series參數",
168
+ allPluginParams: {
169
+ // ...ALL_PLUGIN_PARAMS_SERIES,
170
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
171
+ SeriesLegend: {
172
+ listRectRadius: 7
173
+ // 圓型圖例列點
174
+ }
175
+ }
176
+ }, d = {
177
+ name: "PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",
178
+ description: "分開顯示Series並合併Series資料",
179
+ dataFormatter: {
180
+ sort: (t, e) => e.value - t.value,
181
+ separateSeries: !0,
182
+ sumSeries: !0
183
+ },
184
+ allPluginParams: {
185
+ // ...ALL_PLUGIN_PARAMS_SERIES,
186
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
187
+ }
188
+ };
189
+ d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
190
+ const g = {
191
+ name: "PRESET_SERIES_SEPARATE_SERIES",
192
+ description: "分開顯示Series",
193
+ dataFormatter: {
194
+ sort: (t, e) => e.value - t.value,
195
+ separateSeries: !0
196
+ },
197
+ allPluginParams: {
198
+ // ...ALL_PLUGIN_PARAMS_SERIES,
199
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
200
+ }
201
+ };
202
+ g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
203
+ const E = {
204
+ name: "PRESET_SERIES_SUM_SERIES",
205
+ description: "合併Series資料",
206
+ dataFormatter: {
207
+ sort: (t, e) => e.value - t.value,
208
+ sumSeries: !0
209
+ },
210
+ allPluginParams: {
211
+ // ...ALL_PLUGIN_PARAMS_SERIES,
212
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
213
+ }
214
+ };
215
+ E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
216
+ const _ = {
217
+ name: "PRESET_BARS_HORIZONTAL_AND_ROUND",
218
+ description: "橫向圓角長條圖",
219
+ chartParams: {
5
220
  padding: {
6
221
  top: 60,
7
222
  right: 60,
8
223
  bottom: 120,
9
224
  left: 160
225
+ }
226
+ },
227
+ dataFormatter: {
228
+ grid: {
229
+ valueAxis: {
230
+ position: "bottom"
231
+ // position: 'top'
232
+ // position: 'left'
233
+ // position: 'right'
234
+ },
235
+ groupAxis: {
236
+ position: "left"
237
+ // position: 'right'
238
+ // position: 'bottom'
239
+ // position: 'top'
240
+ }
241
+ }
242
+ },
243
+ allPluginParams: {
244
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
245
+ Bars: {
246
+ barWidth: 0,
247
+ barPadding: 1,
248
+ barGroupPadding: 10,
249
+ barRadius: !0
10
250
  },
11
- highlightTarget: "series"
251
+ GroupAxis: {},
252
+ ValueAxis: {},
253
+ GroupAux: {},
254
+ GridLegend: {
255
+ // 底部圖例及圓弧列點
256
+ // position: 'bottom',
257
+ // justify: 'center',
258
+ placement: "bottom",
259
+ padding: 14,
260
+ listRectRadius: 7
261
+ }
12
262
  }
13
- }, G = {
14
- id: "CP_BOTTOM_AND_LEFT_PADDING",
15
- description: "間距下面及左邊留空",
16
- data: {
263
+ }, P = {
264
+ name: "PRESET_BARS_HORIZONTAL_AND_THIN",
265
+ description: "橫向細長長條圖",
266
+ chartParams: {
17
267
  padding: {
18
268
  top: 60,
19
269
  right: 60,
20
270
  bottom: 120,
21
271
  left: 160
22
272
  }
273
+ },
274
+ dataFormatter: {
275
+ grid: {
276
+ valueAxis: {
277
+ position: "bottom"
278
+ // position: 'top'
279
+ // position: 'left'
280
+ // position: 'right'
281
+ },
282
+ groupAxis: {
283
+ position: "left"
284
+ // position: 'right'
285
+ // position: 'bottom'
286
+ // position: 'top'
287
+ }
288
+ }
289
+ },
290
+ allPluginParams: {
291
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
292
+ Bars: {
293
+ barWidth: 20,
294
+ barPadding: 1,
295
+ barGroupPadding: 10
296
+ },
297
+ GroupAxis: {},
298
+ ValueAxis: {},
299
+ GroupAux: {},
300
+ GridLegend: {
301
+ // position: 'bottom',
302
+ // justify: 'center',
303
+ placement: "bottom",
304
+ padding: 14
305
+ }
23
306
  }
24
- }, O = {
25
- id: "CP_BOTTOM_LONG_PADDING",
26
- description: "間距下面加長留空",
27
- data: {
307
+ }, p = {
308
+ name: "PRESET_BARS_ROUND",
309
+ description: "圓角長條圖",
310
+ chartParams: {
28
311
  padding: {
29
312
  top: 60,
30
313
  right: 60,
31
- bottom: 160,
314
+ bottom: 120,
32
315
  left: 60
33
316
  }
317
+ },
318
+ allPluginParams: {
319
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
320
+ Bars: {
321
+ barWidth: 0,
322
+ barPadding: 1,
323
+ barGroupPadding: 10,
324
+ barRadius: !0
325
+ },
326
+ GroupAxis: {},
327
+ ValueAxis: {},
328
+ GroupAux: {},
329
+ GridLegend: {
330
+ // 底部圖例及圓弧列點
331
+ // position: 'bottom',
332
+ // justify: 'center',
333
+ placement: "bottom",
334
+ padding: 14,
335
+ listRectRadius: 7
336
+ }
34
337
  }
35
- }, D = {
36
- id: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
37
- description: "間距下面加長留空及highlight系列",
38
- data: {
338
+ }, A = {
339
+ name: "PRESET_BARS_THIN",
340
+ description: "細長條圖",
341
+ chartParams: {
39
342
  padding: {
40
343
  top: 60,
41
344
  right: 60,
42
- bottom: 160,
345
+ bottom: 120,
43
346
  left: 60
347
+ }
348
+ },
349
+ allPluginParams: {
350
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
351
+ Bars: {
352
+ barWidth: 20,
353
+ barPadding: 1,
354
+ barGroupPadding: 10
44
355
  },
45
- highlightTarget: "series"
356
+ GroupAxis: {},
357
+ ValueAxis: {},
358
+ GroupAux: {},
359
+ GridLegend: {
360
+ // position: 'bottom',
361
+ // justify: 'center',
362
+ placement: "bottom",
363
+ padding: 14
364
+ }
46
365
  }
47
- }, R = {
48
- id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
49
- description: "間距下面留空及highlight群組",
50
- data: {
366
+ }, m = {
367
+ name: "PRESET_GRID_BASIC",
368
+ description: "基本Grid參數",
369
+ chartParams: {
51
370
  padding: {
52
371
  top: 60,
53
372
  right: 60,
54
373
  bottom: 120,
55
374
  left: 60
375
+ }
376
+ },
377
+ allPluginParams: {
378
+ // ...ALL_PLUGIN_PARAMS_GRID,
379
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
380
+ GridLegend: {
381
+ // position: 'bottom',
382
+ // justify: 'center',
383
+ placement: "bottom",
384
+ padding: 14
385
+ }
386
+ }
387
+ }, c = {
388
+ name: "PRESET_GRID_HORIZONTAL",
389
+ description: "橫向圖",
390
+ chartParams: {
391
+ // 間距下面及左邊留空
392
+ padding: {
393
+ top: 60,
394
+ right: 60,
395
+ bottom: 120,
396
+ left: 160
397
+ }
398
+ },
399
+ dataFormatter: {
400
+ grid: {
401
+ valueAxis: {
402
+ position: "bottom"
403
+ // position: 'top'
404
+ // position: 'left'
405
+ // position: 'right'
406
+ },
407
+ groupAxis: {
408
+ position: "left"
409
+ // position: 'right'
410
+ // position: 'bottom'
411
+ // position: 'top'
412
+ }
413
+ }
414
+ },
415
+ allPluginParams: {
416
+ // ...ALL_PLUGIN_PARAMS_GRID,
417
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
418
+ GridLegend: {
419
+ // position: 'bottom',
420
+ // justify: 'center',
421
+ placement: "bottom",
422
+ padding: 14
423
+ }
424
+ }
425
+ }, I = {
426
+ name: "PRESET_GRID_PN_SCALE",
427
+ description: "正負值分向圖",
428
+ chartParams: {
429
+ padding: {
430
+ top: 60,
431
+ right: 60,
432
+ bottom: 120,
433
+ left: 60
434
+ }
435
+ },
436
+ dataFormatter: {
437
+ grid: {
438
+ valueAxis: {
439
+ scaleDomain: ["auto", "auto"],
440
+ scaleRange: [0.05, 0.95]
441
+ }
442
+ }
443
+ },
444
+ allPluginParams: {
445
+ // ...ALL_PLUGIN_PARAMS_GRID,
446
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
447
+ GridLegend: {
448
+ // position: 'bottom',
449
+ // justify: 'center',
450
+ placement: "bottom",
451
+ padding: 14
452
+ }
453
+ }
454
+ }, T = {
455
+ name: "PRESET_GRID_ROTATE_AXIS_LABEL",
456
+ description: "傾斜標籤",
457
+ chartParams: {
458
+ // 間距下面加長留空
459
+ padding: {
460
+ top: 60,
461
+ right: 60,
462
+ bottom: 160,
463
+ left: 60
464
+ }
465
+ },
466
+ allPluginParams: {
467
+ // ...ALL_PLUGIN_PARAMS_GRID,
468
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
469
+ GroupAux: {
470
+ labelRotate: -30
56
471
  },
57
- highlightTarget: "group"
472
+ GroupAxis: {
473
+ tickPadding: 15,
474
+ tickTextRotate: -30
475
+ },
476
+ GridLegend: {
477
+ // position: 'bottom',
478
+ // justify: 'center',
479
+ placement: "bottom",
480
+ padding: 14
481
+ }
58
482
  }
59
- }, l = {
60
- id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
61
- description: "間距下面留空及highlight系列",
62
- data: {
483
+ }, L = {
484
+ name: "PRESET_GRID_SEPARATE_SERIES",
485
+ description: "分開顯示Series",
486
+ chartParams: {
487
+ padding: {
488
+ top: 60,
489
+ right: 60,
490
+ bottom: 160,
491
+ left: 60
492
+ }
493
+ },
494
+ dataFormatter: {
495
+ grid: {
496
+ // seriesSlotIndexes: [0, 1],
497
+ separateSeries: !0
498
+ }
499
+ },
500
+ allPluginParams: {
501
+ // ...ALL_PLUGIN_PARAMS_GRID,
502
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
503
+ GroupAux: {
504
+ labelRotate: -30
505
+ },
506
+ GroupAxis: {
507
+ tickPadding: 15,
508
+ tickTextRotate: -30
509
+ },
510
+ GridLegend: {
511
+ // position: 'bottom',
512
+ // justify: 'center',
513
+ placement: "bottom",
514
+ padding: 14
515
+ }
516
+ }
517
+ }, h = {
518
+ name: "PRESET_LINE_AREAS_BASIC",
519
+ description: "基本LineArea參數",
520
+ chartParams: {
63
521
  padding: {
64
522
  top: 60,
65
523
  right: 60,
@@ -67,131 +525,298 @@ const S = {
67
525
  left: 60
68
526
  },
69
527
  highlightTarget: "series"
528
+ },
529
+ dataFormatter: {
530
+ grid: {
531
+ groupAxis: {
532
+ scalePadding: 0
533
+ }
534
+ }
535
+ },
536
+ allPluginParams: {
537
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
538
+ Lines: {},
539
+ LineAreas: {},
540
+ Dots: {},
541
+ GroupAxis: {},
542
+ ValueAxis: {},
543
+ GroupAux: {},
544
+ GridLegend: {
545
+ // position: 'bottom',
546
+ // justify: 'center',
547
+ placement: "bottom",
548
+ padding: 14,
549
+ listRectHeight: 2
550
+ }
70
551
  }
71
- }, E = {
72
- id: "CP_BOTTOM_PADDING",
73
- description: "間距下面留空",
74
- data: {
552
+ }, x = {
553
+ name: "PRESET_LINE_AREAS_CURVE",
554
+ description: "弧線折線圖",
555
+ chartParams: {
75
556
  padding: {
76
557
  top: 60,
77
558
  right: 60,
78
559
  bottom: 120,
79
560
  left: 60
561
+ },
562
+ highlightTarget: "series"
563
+ },
564
+ dataFormatter: {
565
+ grid: {
566
+ groupAxis: {
567
+ scalePadding: 0
568
+ }
569
+ }
570
+ },
571
+ allPluginParams: {
572
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
573
+ Lines: {
574
+ lineCurve: "curveMonotoneX",
575
+ lineWidth: 3
576
+ },
577
+ LineAreas: {
578
+ lineCurve: "curveMonotoneX"
579
+ },
580
+ Dots: {},
581
+ GroupAxis: {},
582
+ ValueAxis: {},
583
+ GroupAux: {},
584
+ GridLegend: {
585
+ // position: 'bottom',
586
+ // justify: 'center',
587
+ placement: "bottom",
588
+ padding: 14,
589
+ listRectHeight: 2
80
590
  }
81
591
  }
82
- }, c = {
83
- id: "CP_LEFT_PADDING",
84
- description: "間距左邊留空",
85
- data: {
592
+ }, b = {
593
+ name: "PRESET_LINE_AREAS_HORIZONTAL",
594
+ description: "橫向折線圖",
595
+ chartParams: {
86
596
  padding: {
87
597
  top: 60,
88
598
  right: 60,
89
- bottom: 60,
599
+ bottom: 120,
90
600
  left: 160
601
+ },
602
+ highlightTarget: "series"
603
+ },
604
+ dataFormatter: {
605
+ grid: {
606
+ valueAxis: {
607
+ position: "bottom"
608
+ },
609
+ groupAxis: {
610
+ position: "left",
611
+ scalePadding: 0
612
+ }
613
+ }
614
+ },
615
+ allPluginParams: {
616
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
617
+ Lines: {},
618
+ LineAreas: {},
619
+ Dots: {},
620
+ GroupAxis: {},
621
+ ValueAxis: {},
622
+ GroupAux: {},
623
+ GridLegend: {
624
+ // position: 'bottom',
625
+ // justify: 'center',
626
+ placement: "bottom",
627
+ padding: 14,
628
+ listRectHeight: 2
91
629
  }
92
630
  }
93
- }, N = {
94
- id: "CP_TOP_AND_NO_BOTTOM_PADDING",
95
- description: "間距上面留空下面不留空",
96
- data: {
631
+ }, G = {
632
+ name: "PRESET_LINE_AREAS_LOOSE_TICKS",
633
+ description: "寬鬆標籤",
634
+ chartParams: {
97
635
  padding: {
98
- top: 120,
99
- right: 120,
100
- bottom: 0,
636
+ top: 60,
637
+ right: 60,
638
+ bottom: 120,
101
639
  left: 60
640
+ },
641
+ highlightTarget: "series"
642
+ },
643
+ dataFormatter: {
644
+ grid: {
645
+ groupAxis: {
646
+ scalePadding: 0
647
+ }
648
+ }
649
+ },
650
+ allPluginParams: {
651
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
652
+ Lines: {},
653
+ LineAreas: {},
654
+ Dots: {},
655
+ GroupAxis: {
656
+ ticks: 6
657
+ },
658
+ ValueAxis: {},
659
+ GroupAux: {},
660
+ GridLegend: {
661
+ // position: 'bottom',
662
+ // justify: 'center',
663
+ placement: "bottom",
664
+ padding: 14,
665
+ listRectHeight: 2
102
666
  }
103
667
  }
104
- }, A = {
105
- id: "CP_RIGHT_PADDING",
106
- description: "間距右邊留空",
107
- data: {
668
+ }, M = {
669
+ name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
670
+ description: "傾斜標籤",
671
+ chartParams: {
108
672
  padding: {
109
673
  top: 60,
110
- right: 120,
111
- bottom: 60,
674
+ right: 60,
675
+ bottom: 160,
112
676
  left: 60
677
+ },
678
+ highlightTarget: "series"
679
+ },
680
+ dataFormatter: {
681
+ grid: {
682
+ groupAxis: {
683
+ scalePadding: 0
684
+ }
685
+ }
686
+ },
687
+ allPluginParams: {
688
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
689
+ Lines: {},
690
+ LineAreas: {},
691
+ Dots: {},
692
+ GroupAxis: {
693
+ tickPadding: 15,
694
+ tickTextRotate: -30
695
+ },
696
+ ValueAxis: {},
697
+ GroupAux: {
698
+ labelRotate: -30
699
+ },
700
+ GridLegend: {
701
+ // position: 'bottom',
702
+ // justify: 'center',
703
+ placement: "bottom",
704
+ padding: 14,
705
+ listRectHeight: 2
113
706
  }
114
707
  }
115
- }, p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
116
- __proto__: null,
117
- CP_BOTTOM_AND_LEFT_PADDING: G,
118
- CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: S,
119
- CP_BOTTOM_LONG_PADDING: O,
120
- CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: D,
121
- CP_BOTTOM_PADDING: E,
122
- CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: R,
123
- CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: l,
124
- CP_LEFT_PADDING: c,
125
- CP_RIGHT_PADDING: A,
126
- CP_TOP_AND_NO_BOTTOM_PADDING: N
127
- }, Symbol.toStringTag, { value: "Module" })), u = {}, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
128
- __proto__: null,
129
- temp: u
130
- }, Symbol.toStringTag, { value: "Module" })), g = {
131
- id: "PP_BUBBLES_SCALING_BY_RADIUS",
132
- chartType: "series",
133
- pluginName: "Bubbles",
134
- description: "以半徑尺寸為比例的泡泡圖",
135
- data: {
136
- bubbleScaleType: "radius"
137
- }
138
- }, m = {
139
- id: "PP_PIE_DONUT",
140
- chartType: "series",
141
- pluginName: "Pie",
142
- description: "甜甜圈圖",
143
- data: {
144
- innerRadius: 0.5
708
+ }, N = {
709
+ name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
710
+ description: "LineAreas 分開顯示Series",
711
+ chartParams: {
712
+ padding: {
713
+ top: 60,
714
+ right: 60,
715
+ bottom: 160,
716
+ left: 60
717
+ },
718
+ highlightTarget: "series"
719
+ },
720
+ dataFormatter: {
721
+ grid: {
722
+ // seriesSlotIndexes: [0, 1],
723
+ separateSeries: !0,
724
+ groupAxis: {
725
+ scalePadding: 0
726
+ }
727
+ }
728
+ },
729
+ allPluginParams: {
730
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
731
+ Lines: {},
732
+ LineAreas: {},
733
+ Dots: {},
734
+ GroupAxis: {
735
+ tickPadding: 15,
736
+ tickTextRotate: -30
737
+ },
738
+ ValueAxis: {},
739
+ GroupAux: {
740
+ labelRotate: -30
741
+ },
742
+ GridLegend: {
743
+ // position: 'bottom',
744
+ // justify: 'center',
745
+ placement: "bottom",
746
+ padding: 14,
747
+ listRectHeight: 2
748
+ }
145
749
  }
146
- }, U = {
147
- id: "PP_PIE_HALF_DONUT",
148
- chartType: "series",
149
- pluginName: "Pie",
150
- description: "半圓甜甜圈圖",
151
- data: {
152
- innerRadius: 0.5,
153
- startAngle: -Math.PI / 2,
154
- endAngle: Math.PI / 2
750
+ }, D = {
751
+ name: "PRESET_LINES_BASIC",
752
+ description: "基本Lines參數",
753
+ chartParams: {
754
+ padding: {
755
+ top: 60,
756
+ right: 60,
757
+ bottom: 120,
758
+ left: 60
759
+ },
760
+ highlightTarget: "series"
761
+ },
762
+ allPluginParams: {
763
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
764
+ Lines: {},
765
+ Dots: {},
766
+ GroupAxis: {},
767
+ ValueAxis: {},
768
+ GroupAux: {},
769
+ GridLegend: {
770
+ // position: 'bottom',
771
+ // justify: 'center',
772
+ placement: "bottom",
773
+ padding: 14,
774
+ listRectHeight: 2
775
+ }
155
776
  }
156
777
  }, B = {
157
- id: "PP_PIE_LABELS_HALF_ANGLE",
158
- chartType: "series",
159
- pluginName: "PieLabels",
160
- description: "半圓甜甜圈資料標籤",
161
- data: {
162
- startAngle: -Math.PI / 2,
163
- endAngle: Math.PI / 2
164
- }
165
- }, h = {
166
- id: "PP_PIE_LABELS_INNER",
167
- chartType: "series",
168
- pluginName: "PieLabels",
169
- description: "圖內資料標籤",
170
- data: {
171
- labelCentroid: 1.3,
172
- labelColorType: "primary"
778
+ name: "PRESET_LINES_CURVE",
779
+ description: "弧線折線圖",
780
+ chartParams: {
781
+ padding: {
782
+ top: 60,
783
+ right: 60,
784
+ bottom: 120,
785
+ left: 60
786
+ },
787
+ highlightTarget: "series"
788
+ },
789
+ allPluginParams: {
790
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
791
+ Lines: {
792
+ lineCurve: "curveMonotoneX",
793
+ lineWidth: 3
794
+ },
795
+ Dots: {},
796
+ GroupAxis: {},
797
+ ValueAxis: {},
798
+ GroupAux: {},
799
+ GridLegend: {
800
+ // position: 'bottom',
801
+ // justify: 'center',
802
+ placement: "bottom",
803
+ padding: 14,
804
+ listRectHeight: 2
805
+ }
173
806
  }
174
- }, H = {
175
- id: "PP_SERIES_LEGEND_BOTTOM",
176
- chartType: "series",
177
- pluginName: "SeriesLegend",
178
- description: "圓型圖例列點",
179
- data: {
180
- listRectRadius: 7
181
- }
182
- }, y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
183
- __proto__: null,
184
- PP_BUBBLES_SCALING_BY_RADIUS: g,
185
- PP_PIE_DONUT: m,
186
- PP_PIE_HALF_DONUT: U,
187
- PP_PIE_LABELS_HALF_ANGLE: B,
188
- PP_PIE_LABELS_INNER: h,
189
- PP_SERIES_LEGEND_ROUND: H
190
- }, Symbol.toStringTag, { value: "Module" })), C = {
191
- id: "DF_GRID_BOTTOM_VALUE_AXIS",
192
- chartType: "grid",
193
- description: "底部橫向資料圖軸",
194
- data: {
807
+ }, v = {
808
+ name: "PRESET_LINES_HORIZONTAL",
809
+ description: "橫向折線圖",
810
+ chartParams: {
811
+ padding: {
812
+ top: 60,
813
+ right: 60,
814
+ bottom: 120,
815
+ left: 160
816
+ },
817
+ highlightTarget: "series"
818
+ },
819
+ dataFormatter: {
195
820
  grid: {
196
821
  valueAxis: {
197
822
  position: "bottom"
@@ -206,689 +831,555 @@ const S = {
206
831
  // position: 'top'
207
832
  }
208
833
  }
834
+ },
835
+ allPluginParams: {
836
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
837
+ Lines: {},
838
+ Dots: {},
839
+ GroupAxis: {},
840
+ ValueAxis: {},
841
+ GroupAux: {},
842
+ GridLegend: {
843
+ // position: 'bottom',
844
+ // justify: 'center',
845
+ placement: "bottom",
846
+ padding: 14,
847
+ listRectHeight: 2
848
+ }
209
849
  }
210
- }, b = {
211
- id: "DF_GRID_2_SERIES_SLOT",
212
- chartType: "grid",
213
- description: "2個Series Slot",
214
- data: {
215
- grid: {
216
- seriesSlotIndexes: [0, 1]
850
+ }, O = {
851
+ name: "PRESET_LINES_LOOSE_TICKS",
852
+ description: "寬鬆標籤",
853
+ chartParams: {
854
+ padding: {
855
+ top: 60,
856
+ right: 60,
857
+ bottom: 120,
858
+ left: 60
217
859
  },
218
- container: {
219
- rowAmount: 1,
220
- columnAmount: 2
860
+ highlightTarget: "series"
861
+ },
862
+ allPluginParams: {
863
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
864
+ Lines: {},
865
+ Dots: {},
866
+ GroupAxis: {
867
+ ticks: 6
868
+ },
869
+ ValueAxis: {},
870
+ GroupAux: {},
871
+ GridLegend: {
872
+ // position: 'bottom',
873
+ // justify: 'center',
874
+ placement: "bottom",
875
+ padding: 14,
876
+ listRectHeight: 2
221
877
  }
222
878
  }
223
- }, F = {
224
- id: "DF_GRID_3_SERIES_SLOT",
225
- chartType: "grid",
226
- description: "3個Series Slot",
227
- data: {
228
- grid: {
229
- seriesSlotIndexes: [0, 1, 2]
879
+ }, H = {
880
+ name: "PRESET_LINES_ROTATE_AXIS_LABEL",
881
+ description: "傾斜標籤",
882
+ chartParams: {
883
+ padding: {
884
+ top: 60,
885
+ right: 60,
886
+ bottom: 160,
887
+ left: 60
230
888
  },
231
- container: {
232
- rowAmount: 1,
233
- columnAmount: 3
889
+ highlightTarget: "series"
890
+ },
891
+ allPluginParams: {
892
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
893
+ Lines: {},
894
+ Dots: {},
895
+ GroupAxis: {
896
+ tickPadding: 15,
897
+ tickTextRotate: -30
898
+ },
899
+ ValueAxis: {},
900
+ GroupAux: {
901
+ labelRotate: -30
902
+ },
903
+ GridLegend: {
904
+ // position: 'bottom',
905
+ // justify: 'center',
906
+ placement: "bottom",
907
+ padding: 14,
908
+ listRectHeight: 2
234
909
  }
235
910
  }
236
- }, f = {
237
- id: "DF_GRID_4_SERIES_SLOT",
238
- chartType: "grid",
239
- description: "4個Series Slot",
240
- data: {
241
- grid: {
242
- seriesSlotIndexes: [0, 1, 2, 3]
911
+ }, U = {
912
+ name: "PRESET_LINES_WITH_SOLID_DOTS",
913
+ description: "折線圖及實心圓點",
914
+ chartParams: {
915
+ padding: {
916
+ top: 60,
917
+ right: 60,
918
+ bottom: 120,
919
+ left: 60
243
920
  },
244
- container: {
245
- rowAmount: 2,
246
- columnAmount: 2
921
+ highlightTarget: "series"
922
+ },
923
+ allPluginParams: {
924
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
925
+ Lines: {},
926
+ Dots: {
927
+ radius: 3,
928
+ fillColorType: "series",
929
+ onlyShowHighlighted: !1
930
+ },
931
+ GroupAxis: {},
932
+ ValueAxis: {},
933
+ GroupAux: {},
934
+ GridLegend: {
935
+ // position: 'bottom',
936
+ // justify: 'center',
937
+ placement: "bottom",
938
+ padding: 14,
939
+ listRectHeight: 2
247
940
  }
248
941
  }
249
- }, W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
250
- __proto__: null,
251
- DF_GRID_2_SERIES_SLOT: b,
252
- DF_GRID_3_SERIES_SLOT: F,
253
- DF_GRID_4_SERIES_SLOT: f,
254
- DF_GRID_BOTTOM_VALUE_AXIS: C
255
- }, Symbol.toStringTag, { value: "Module" })), x = {
256
- id: "PP_BARS_ROUND",
257
- chartType: "grid",
258
- pluginName: "Bars",
259
- description: "圓角長條圖",
260
- data: {
261
- barWidth: 0,
262
- barPadding: 1,
263
- barGroupPadding: 10,
264
- barRadius: !0
265
- }
266
- }, X = {
267
- id: "PP_BARS_THIN",
268
- chartType: "grid",
269
- pluginName: "Bars",
270
- description: "圓角長條圖",
271
- data: {
272
- barWidth: 20,
273
- barPadding: 1,
274
- barGroupPadding: 10
275
- }
276
- }, j = {
277
- id: "PP_DOTS_ONLY_SHOW_HIGHLIGHTED",
278
- chartType: "grid",
279
- pluginName: "Dots",
280
- description: "顯示highlight圓點",
281
- data: {
282
- onlyShowHighlighted: !1
283
- }
284
- }, V = {
285
- id: "PP_DOTS_SOLID",
286
- chartType: "grid",
287
- pluginName: "Dots",
288
- description: "實心圓點",
289
- data: {
290
- radius: 3,
291
- fillColorType: "series",
292
- onlyShowHighlighted: !1
293
- }
294
- }, v = {
295
- id: "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
296
- chartType: "grid",
297
- pluginName: "GridLegend",
298
- description: "底部圖例及線條列點",
299
- data: {
300
- position: "bottom",
301
- justify: "center",
302
- padding: 14,
303
- listRectHeight: 2
304
- }
305
- }, z = {
306
- id: "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST",
307
- chartType: "grid",
308
- pluginName: "GridLegend",
309
- description: "底部圖例及圓弧列點",
310
- data: {
311
- position: "bottom",
312
- justify: "center",
313
- padding: 14,
314
- listRectRadius: 7
315
- }
316
- }, K = {
317
- id: "PP_GRID_LEGEND_BOTTOM",
318
- chartType: "grid",
319
- pluginName: "GridLegend",
320
- description: "底部圖例",
321
- data: {
322
- position: "bottom",
323
- justify: "center",
324
- padding: 14
942
+ }, f = {
943
+ name: "PRESET_MULTI_GRID_BASIC",
944
+ description: "基本MultiGrid參數",
945
+ chartParams: {
946
+ padding: {
947
+ top: 60,
948
+ right: 60,
949
+ bottom: 120,
950
+ left: 60
951
+ },
952
+ highlightTarget: "series"
953
+ },
954
+ allPluginParams: {
955
+ // ...ALL_PLUGIN_PARAMS_MULTI_GRID,
956
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
957
+ MultiGridLegend: {
958
+ // position: 'bottom',
959
+ // justify: 'center',
960
+ placement: "bottom",
961
+ padding: 14,
962
+ gridList: [
963
+ {},
964
+ {
965
+ listRectHeight: 2
966
+ }
967
+ ]
968
+ }
325
969
  }
326
- }, k = {
327
- id: "PP_GROUP_AXIS_ROTATE_LABEL",
328
- chartType: "grid",
329
- pluginName: "GroupAxis",
330
- description: "群組圖軸標籤文字傾斜",
331
- data: {
332
- tickPadding: 15,
333
- tickTextRotate: -30
334
- }
335
- }, w = {
336
- id: "PP_LINES_CURVE",
337
- chartType: "grid",
338
- pluginName: "Lines",
339
- description: "圓弧折線圖",
340
- data: {
341
- lineCurve: "curveMonotoneX",
342
- lineWidth: 3
343
- }
344
- }, Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
345
- __proto__: null,
346
- PP_BARS_ROUND: x,
347
- PP_BARS_THIN: X,
348
- PP_DOTS_ONLY_SHOW_HIGHLIGHTED: j,
349
- PP_DOTS_SOLID: V,
350
- PP_GRID_LEGEND_BOTTOM: K,
351
- PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: v,
352
- PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST: z,
353
- PP_GROUP_AXIS_ROTATE_LABEL: k,
354
- PP_LINES_CURVE: w
355
- }, Symbol.toStringTag, { value: "Module" })), $ = {
356
- id: "DF_MULTI_GRID_2_GRID_SLOT",
357
- chartType: "multiGrid",
358
- description: "2個Grid Slot",
359
- data: {
970
+ }, C = {
971
+ name: "PRESET_MULTI_GRID_DIVERGING",
972
+ description: "雙向折線圖",
973
+ chartParams: {
974
+ padding: {
975
+ top: 60,
976
+ right: 60,
977
+ bottom: 120,
978
+ left: 60
979
+ }
980
+ },
981
+ dataFormatter: {
360
982
  gridList: [
983
+ // 第一個grid
361
984
  {
362
- // slotIndex: 0
985
+ groupAxis: {
986
+ position: "right"
987
+ },
988
+ valueAxis: {
989
+ position: "bottom"
990
+ }
363
991
  },
992
+ // 第二個grid
364
993
  {
365
- slotIndex: 1
994
+ groupAxis: {
995
+ position: "left"
996
+ },
997
+ valueAxis: {
998
+ position: "bottom"
999
+ }
366
1000
  }
367
1001
  ],
1002
+ // 設定排版方式
368
1003
  container: {
1004
+ gap: 200,
369
1005
  rowAmount: 1,
370
1006
  columnAmount: 2
1007
+ },
1008
+ separateGrid: !0
1009
+ // 將兩個grid拆分
1010
+ },
1011
+ allPluginParams: {
1012
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1013
+ MultiGroupAxis: {
1014
+ tickPadding: 60,
1015
+ // 加長間距
1016
+ gridIndexes: [0]
1017
+ // 只顯示一個
1018
+ },
1019
+ MultiValueAxis: {
1020
+ gridIndexes: [0, 1]
1021
+ },
1022
+ MultiValueStackAxis: {
1023
+ gridIndexes: [0, 1]
1024
+ },
1025
+ MultiBars: {
1026
+ gridIndexes: [0, 1]
1027
+ },
1028
+ MultiBarStack: {
1029
+ gridIndexes: [0, 1]
1030
+ },
1031
+ MultiBarsTriangle: {
1032
+ gridIndexes: [0, 1]
1033
+ },
1034
+ MultiLines: {
1035
+ gridIndexes: [0, 1]
1036
+ },
1037
+ MultiLineAreas: {
1038
+ gridIndexes: [0, 1]
1039
+ },
1040
+ MultiDots: {
1041
+ gridIndexes: [0, 1]
1042
+ },
1043
+ MultiGridLegend: {
1044
+ // position: 'bottom',
1045
+ // justify: 'center',
1046
+ placement: "bottom",
1047
+ padding: 14
371
1048
  }
372
1049
  }
373
- }, Z = {
374
- id: "DF_MULTI_GRID_3_GRID_SLOT",
375
- chartType: "multiGrid",
376
- description: "3個Grid Slot",
377
- data: {
378
- gridList: [
379
- {
380
- slotIndex: 0
381
- },
382
- {
383
- slotIndex: 1
384
- },
385
- {
386
- slotIndex: 2
387
- }
388
- ],
389
- container: {
390
- rowAmount: 1,
391
- columnAmount: 3
1050
+ }, F = {
1051
+ name: "PRESET_MULTI_GRID_ROUND_STYLE",
1052
+ description: "MultiGrid圓弧風格",
1053
+ chartParams: {
1054
+ padding: {
1055
+ top: 60,
1056
+ right: 60,
1057
+ bottom: 120,
1058
+ left: 60
1059
+ },
1060
+ highlightTarget: "series"
1061
+ },
1062
+ allPluginParams: {
1063
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1064
+ MultiBars: {
1065
+ barWidth: 0,
1066
+ barPadding: 1,
1067
+ barGroupPadding: 10,
1068
+ barRadius: !0
1069
+ },
1070
+ MultiBarStack: {},
1071
+ MultiDots: {},
1072
+ MultiGridLegend: {
1073
+ // position: 'bottom',
1074
+ // justify: 'center',
1075
+ placement: "bottom",
1076
+ padding: 14,
1077
+ gridList: [
1078
+ {
1079
+ listRectRadius: 7
1080
+ },
1081
+ {
1082
+ listRectHeight: 2
1083
+ }
1084
+ ]
1085
+ },
1086
+ MultiGroupAxis: {},
1087
+ MultiLineAreas: {},
1088
+ MultiLines: {
1089
+ lineCurve: "curveMonotoneX",
1090
+ lineWidth: 3
1091
+ },
1092
+ MultiValueAxis: {},
1093
+ MultiValueStackAxis: {},
1094
+ OverlappingValueAxes: {},
1095
+ OverlappingValueStackAxes: {}
1096
+ }
1097
+ }, V = {
1098
+ name: "PRESET_MULTI_GRID_SEPARATE_GRID",
1099
+ description: "2組Grid圖表",
1100
+ chartParams: {
1101
+ padding: {
1102
+ top: 60,
1103
+ right: 60,
1104
+ bottom: 160,
1105
+ left: 60
1106
+ }
1107
+ },
1108
+ dataFormatter: {
1109
+ separateGrid: !0
1110
+ },
1111
+ allPluginParams: {
1112
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1113
+ MultiGroupAxis: {
1114
+ tickTextRotate: -30,
1115
+ gridIndexes: "all"
1116
+ },
1117
+ MultiValueAxis: {
1118
+ gridIndexes: "all"
1119
+ },
1120
+ MultiValueStackAxis: {
1121
+ gridIndexes: "all"
1122
+ },
1123
+ MultiBars: {
1124
+ gridIndexes: "all"
1125
+ },
1126
+ MultiBarStack: {
1127
+ gridIndexes: "all"
1128
+ },
1129
+ MultiBarsTriangle: {
1130
+ gridIndexes: "all"
1131
+ },
1132
+ MultiLines: {
1133
+ gridIndexes: "all"
1134
+ },
1135
+ MultiLineAreas: {
1136
+ gridIndexes: "all"
1137
+ },
1138
+ MultiDots: {
1139
+ gridIndexes: "all"
1140
+ },
1141
+ MultiGridLegend: {
1142
+ // position: 'bottom',
1143
+ // justify: 'center',
1144
+ placement: "bottom",
1145
+ padding: 14
392
1146
  }
393
1147
  }
394
- }, q = {
395
- id: "DF_MULTI_GRID_4_GRID_SLOT",
396
- chartType: "multiGrid",
397
- description: "4個Grid Slot",
398
- data: {
1148
+ }, a = {
1149
+ // Tooltip: {},
1150
+ }, k = {
1151
+ name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
1152
+ description: "2組區域圖表",
1153
+ chartParams: {
1154
+ padding: {
1155
+ top: 60,
1156
+ right: 60,
1157
+ bottom: 160,
1158
+ left: 60
1159
+ }
1160
+ },
1161
+ dataFormatter: {
399
1162
  gridList: [
400
1163
  {
401
- slotIndex: 0
402
- },
403
- {
404
- slotIndex: 1
405
- },
406
- {
407
- slotIndex: 2
1164
+ // slotIndex: 0
1165
+ groupAxis: {
1166
+ scalePadding: 0
1167
+ }
408
1168
  },
409
1169
  {
410
- slotIndex: 3
1170
+ // slotIndex: 1,
1171
+ groupAxis: {
1172
+ scalePadding: 0
1173
+ }
411
1174
  }
412
1175
  ],
413
- container: {
414
- rowAmount: 2,
415
- columnAmount: 2
1176
+ separateGrid: !0
1177
+ // container: {
1178
+ // rowAmount: 1,
1179
+ // columnAmount: 2,
1180
+ // }
1181
+ },
1182
+ allPluginParams: {
1183
+ ...a,
1184
+ MultiGroupAxis: {
1185
+ tickTextRotate: -30,
1186
+ gridIndexes: "all"
1187
+ },
1188
+ MultiValueAxis: {
1189
+ gridIndexes: "all"
1190
+ },
1191
+ MultiValueStackAxis: {
1192
+ gridIndexes: "all"
1193
+ },
1194
+ MultiBars: {
1195
+ gridIndexes: "all"
1196
+ },
1197
+ MultiBarStack: {
1198
+ gridIndexes: "all"
1199
+ },
1200
+ MultiBarsTriangle: {
1201
+ gridIndexes: "all"
1202
+ },
1203
+ MultiLines: {
1204
+ gridIndexes: "all"
1205
+ },
1206
+ MultiLineAreas: {
1207
+ gridIndexes: "all"
1208
+ },
1209
+ MultiDots: {
1210
+ gridIndexes: "all"
1211
+ },
1212
+ MultiGridLegend: {
1213
+ // position: 'bottom',
1214
+ // justify: 'center',
1215
+ placement: "bottom",
1216
+ padding: 14,
1217
+ gridList: [
1218
+ {
1219
+ listRectHeight: 2
1220
+ },
1221
+ {
1222
+ listRectHeight: 2
1223
+ },
1224
+ {
1225
+ listRectHeight: 2
1226
+ },
1227
+ {
1228
+ listRectHeight: 2
1229
+ },
1230
+ {
1231
+ listRectHeight: 2
1232
+ },
1233
+ {
1234
+ listRectHeight: 2
1235
+ },
1236
+ {
1237
+ listRectHeight: 2
1238
+ },
1239
+ {
1240
+ listRectHeight: 2
1241
+ }
1242
+ ]
416
1243
  }
417
1244
  }
418
- }, J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
419
- __proto__: null,
420
- DF_MULTI_GRID_2_GRID_SLOT: $,
421
- DF_MULTI_GRID_3_GRID_SLOT: Z,
422
- DF_MULTI_GRID_4_GRID_SLOT: q
423
- }, Symbol.toStringTag, { value: "Module" })), Q = {
424
- id: "PP_MULTI_BARS_2_GRID_SLOT",
425
- chartType: "multiGrid",
426
- pluginName: "MultiBars",
427
- description: "2組群組長條圖",
428
- data: {
429
- gridIndexes: [0, 1]
430
- }
431
- }, __ = {
432
- id: "PP_MULTI_BARS_3_GRID_SLOT",
433
- chartType: "multiGrid",
434
- pluginName: "MultiBars",
435
- description: "3組群組長條圖",
436
- data: {
437
- gridIndexes: [0, 1, 2]
438
- }
439
- }, t_ = {
440
- id: "PP_MULTI_BARS_4_GRID_SLOT",
441
- chartType: "multiGrid",
442
- pluginName: "MultiBars",
443
- description: "4組群組長條圖",
444
- data: {
445
- gridIndexes: [0, 1, 2, 3]
446
- }
447
- }, I_ = {
448
- id: "PP_MULTI_BARS_ROUND",
449
- chartType: "multiGrid",
450
- pluginName: "MultiBars",
451
- description: "圓角長條圖",
452
- data: {
453
- barWidth: 0,
454
- barPadding: 1,
455
- barGroupPadding: 10,
456
- barRadius: !0
457
- }
458
- }, i_ = {
459
- id: "PP_MULTI_BAR_STACK_2_GRID_SLOT",
460
- chartType: "multiGrid",
461
- pluginName: "MultiBarStack",
462
- description: "2組堆疊長條圖",
463
- data: {
464
- gridIndexes: [0, 1]
465
- }
466
- }, T_ = {
467
- id: "PP_MULTI_BAR_STACK_3_GRID_SLOT",
468
- chartType: "multiGrid",
469
- pluginName: "MultiBarStack",
470
- description: "3組堆疊長條圖",
471
- data: {
472
- gridIndexes: [0, 1, 2]
473
- }
474
- }, P_ = {
475
- id: "PP_MULTI_BAR_STACK_4_GRID_SLOT",
476
- chartType: "multiGrid",
477
- pluginName: "MultiBarStack",
478
- description: "4組堆疊長條圖",
479
- data: {
480
- gridIndexes: [0, 1, 2, 3]
481
- }
482
- }, e_ = {
483
- id: "PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT",
484
- chartType: "multiGrid",
485
- pluginName: "MultiBarsTriangle",
486
- description: "2組群組三角長條圖",
487
- data: {
488
- gridIndexes: [0, 1]
489
- }
490
- }, a_ = {
491
- id: "PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT",
492
- chartType: "multiGrid",
493
- pluginName: "MultiBarsTriangle",
494
- description: "3組群組三角長條圖",
495
- data: {
496
- gridIndexes: [0, 1, 2]
497
- }
498
- }, r_ = {
499
- id: "PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT",
500
- chartType: "multiGrid",
501
- pluginName: "MultiBarsTriangle",
502
- description: "4組群組三角長條圖",
503
- data: {
504
- gridIndexes: [0, 1, 2, 3]
505
- }
506
- }, d_ = {
507
- id: "PP_MULTI_LINES_2_GRID_SLOT",
508
- chartType: "multiGrid",
509
- pluginName: "MultiLines",
510
- description: "2組折線圖",
511
- data: {
512
- gridIndexes: [0, 1]
513
- }
514
- }, L_ = {
515
- id: "PP_MULTI_LINES_3_GRID_SLOT",
516
- chartType: "multiGrid",
517
- pluginName: "MultiLines",
518
- description: "3組折線圖",
519
- data: {
520
- gridIndexes: [0, 1, 2]
521
- }
522
- }, s_ = {
523
- id: "PP_MULTI_LINES_4_GRID_SLOT",
524
- chartType: "multiGrid",
525
- pluginName: "MultiLines",
526
- description: "4組折線圖",
527
- data: {
528
- gridIndexes: [0, 1, 2, 3]
529
- }
530
- }, n_ = {
531
- id: "PP_MULTI_LINES_CURVE",
532
- chartType: "multiGrid",
533
- pluginName: "MultiLines",
534
- description: "圓弧折線圖",
535
- data: {
536
- lineCurve: "curveMonotoneX",
537
- lineWidth: 3
538
- }
539
- }, o_ = {
540
- id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
541
- chartType: "multiGrid",
542
- pluginName: "MultiGridLegend",
543
- description: "底部圖例線條列點",
544
- data: {
545
- position: "bottom",
546
- justify: "center",
547
- padding: 14,
548
- gridList: [
549
- {
550
- listRectHeight: 2
551
- },
552
- {
553
- listRectHeight: 2
554
- },
555
- {
556
- listRectHeight: 2
557
- },
558
- {
559
- listRectHeight: 2
560
- }
561
- ]
562
- }
563
- }, S_ = {
564
- id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST",
565
- chartType: "multiGrid",
566
- pluginName: "MultiGridLegend",
567
- description: "底部圖例矩型及線條列點",
568
- data: {
569
- position: "bottom",
570
- justify: "center",
571
- padding: 14,
572
- gridList: [
573
- {},
574
- {
575
- listRectHeight: 2
576
- }
577
- ]
578
- }
579
- }, G_ = {
580
- id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST",
581
- chartType: "multiGrid",
582
- pluginName: "MultiGridLegend",
583
- description: "底部圖例圓型及線條列點",
584
- data: {
585
- position: "bottom",
586
- justify: "center",
587
- padding: 14,
588
- gridList: [
589
- {
590
- listRectRadius: 7
591
- },
592
- {
593
- listRectHeight: 2
594
- }
595
- ]
596
- }
597
- }, O_ = {
598
- id: "PP_MULTI_GRID_LEGEND_BOTTOM",
599
- chartType: "multiGrid",
600
- pluginName: "MultiGridLegend",
601
- description: "底部圖例",
602
- data: {
603
- position: "bottom",
604
- justify: "center",
605
- padding: 14
606
- }
607
- }, D_ = {
608
- id: "PP_MULTI_GROUP_AXIS_2_GRID_SLOT",
609
- chartType: "multiGrid",
610
- pluginName: "MultiGroupAxis",
611
- description: "2個群組圖軸",
612
- data: {
613
- tickTextRotate: -30,
614
- gridIndexes: [0, 1]
615
- }
616
- }, R_ = {
617
- id: "PP_MULTI_GROUP_AXIS_3_GRID_SLOT",
618
- chartType: "multiGrid",
619
- pluginName: "MultiGroupAxis",
620
- description: "3個群組圖軸",
621
- data: {
622
- tickTextRotate: -30,
623
- gridIndexes: [0, 1, 2]
624
- }
625
- }, l_ = {
626
- id: "PP_MULTI_GROUP_AXIS_4_GRID_SLOT",
627
- chartType: "multiGrid",
628
- pluginName: "MultiGroupAxis",
629
- description: "4個群組圖軸",
630
- data: {
631
- tickTextRotate: -30,
632
- gridIndexes: [0, 1, 2, 3]
633
- }
634
- }, E_ = {
635
- id: "PP_MULTI_VALUE_AXIS_2_GRID_SLOT",
636
- chartType: "multiGrid",
637
- pluginName: "MultiValueAxis",
638
- description: "2個資料圖軸",
639
- data: {
640
- gridIndexes: [0, 1]
641
- }
642
- }, c_ = {
643
- id: "PP_MULTI_VALUE_AXIS_3_GRID_SLOT",
644
- chartType: "multiGrid",
645
- pluginName: "MultiValueAxis",
646
- description: "3個資料圖軸",
647
- data: {
648
- gridIndexes: [0, 1, 2]
649
- }
650
- }, N_ = {
651
- id: "PP_MULTI_VALUE_AXIS_4_GRID_SLOT",
652
- chartType: "multiGrid",
653
- pluginName: "MultiValueAxis",
654
- description: "4個資料圖軸",
655
- data: {
656
- gridIndexes: [0, 1, 2, 3]
657
- }
658
- }, A_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
659
- __proto__: null,
660
- PP_MULTI_BARS_2_GRID_SLOT: Q,
661
- PP_MULTI_BARS_3_GRID_SLOT: __,
662
- PP_MULTI_BARS_4_GRID_SLOT: t_,
663
- PP_MULTI_BARS_ROUND: I_,
664
- PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT: e_,
665
- PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT: a_,
666
- PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT: r_,
667
- PP_MULTI_BAR_STACK_2_GRID_SLOT: i_,
668
- PP_MULTI_BAR_STACK_3_GRID_SLOT: T_,
669
- PP_MULTI_BAR_STACK_4_GRID_SLOT: P_,
670
- PP_MULTI_GRID_LEGEND_BOTTOM: O_,
671
- PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: o_,
672
- PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST: S_,
673
- PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST: G_,
674
- PP_MULTI_GROUP_AXIS_2_GRID_SLOT: D_,
675
- PP_MULTI_GROUP_AXIS_3_GRID_SLOT: R_,
676
- PP_MULTI_GROUP_AXIS_4_GRID_SLOT: l_,
677
- PP_MULTI_LINES_2_GRID_SLOT: d_,
678
- PP_MULTI_LINES_3_GRID_SLOT: L_,
679
- PP_MULTI_LINES_4_GRID_SLOT: s_,
680
- PP_MULTI_LINES_CURVE: n_,
681
- PP_MULTI_VALUE_AXIS_2_GRID_SLOT: E_,
682
- PP_MULTI_VALUE_AXIS_3_GRID_SLOT: c_,
683
- PP_MULTI_VALUE_AXIS_4_GRID_SLOT: N_
684
- }, Symbol.toStringTag, { value: "Module" })), p_ = {}, u_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
685
- __proto__: null,
686
- temp: p_
687
- }, Symbol.toStringTag, { value: "Module" })), M_ = {}, g_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
688
- __proto__: null,
689
- temp: M_
690
- }, Symbol.toStringTag, { value: "Module" })), m_ = {}, U_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
691
- __proto__: null,
692
- temp: m_
693
- }, Symbol.toStringTag, { value: "Module" })), B_ = {}, h_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
694
- __proto__: null,
695
- temp: B_
696
- }, Symbol.toStringTag, { value: "Module" })), H_ = {}, y_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
697
- __proto__: null,
698
- temp: H_
699
- }, Symbol.toStringTag, { value: "Module" })), C_ = {}, b_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
700
- __proto__: null,
701
- temp: C_
702
- }, Symbol.toStringTag, { value: "Module" })), d = {
703
- series: M,
704
- grid: W,
705
- multiGrid: J,
706
- multiValue: u_,
707
- relationship: U_,
708
- tree: y_
709
- }, e = {
710
- series: y,
711
- grid: Y,
712
- multiGrid: A_,
713
- multiValue: g_,
714
- relationship: h_,
715
- tree: b_
716
- }, a = (t, T) => {
717
- const L = T.chartParamsId ? p[T.chartParamsId].data : void 0, s = d[t][T.dataFormatterId] ? d[t][T.dataFormatterId].data : void 0, n = T.allPluginParamsIds ? T.allPluginParamsIds.reduce((r, P) => {
718
- if (e[t][P]) {
719
- const o = e[t][P].pluginName;
720
- r[o] = e[t][P].data;
721
- }
722
- return r;
723
- }, {}) : void 0;
724
- return {
725
- chartParams: L,
726
- dataFormatter: s,
727
- allPluginParams: n
728
- };
729
- }, i = (t) => a("series", t), _ = (t) => a("grid", t), I = (t) => a("multiGrid", t), F_ = i({
730
- // chartParamsId: 'CP_RIGHT_PADDING',
731
- allPluginParamsIds: [],
732
- description: "基本Series參數"
733
- }), f_ = i({
734
- // chartParamsId: 'CP_RIGHT_PADDING',
735
- allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
736
- description: "基本泡泡圖"
737
- }), W_ = i({
738
- // chartParamsId: 'CP_RIGHT_PADDING',
739
- allPluginParamsIds: ["PP_BUBBLES_SCALING_BY_RADIUS", "PP_SERIES_LEGEND_ROUND"],
740
- description: "以半徑尺寸為比例的泡泡圖"
741
- }), x_ = i({
742
- // chartParamsId: 'CP_RIGHT_PADDING',
743
- allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
744
- description: "基本圓餅圖"
745
- }), X_ = i({
746
- // chartParamsId: 'CP_RIGHT_PADDING',
747
- allPluginParamsIds: ["PP_PIE_LABELS_INNER", "PP_SERIES_LEGEND_ROUND"],
748
- description: "圓餅圖及內部資料標籤"
749
- }), j_ = i({
750
- // chartParamsId: 'CP_RIGHT_PADDING',
751
- allPluginParamsIds: ["PP_PIE_DONUT", "PP_SERIES_LEGEND_ROUND"],
752
- description: "甜甜圈圖"
753
- }), V_ = i({
754
- chartParamsId: "CP_TOP_AND_NO_BOTTOM_PADDING",
755
- allPluginParamsIds: ["PP_PIE_HALF_DONUT", "PP_PIE_LABELS_HALF_ANGLE", "PP_SERIES_LEGEND_ROUND"],
756
- description: "半圓甜甜圈圖"
757
- }), v_ = _({
758
- chartParamsId: "CP_BOTTOM_PADDING",
759
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
760
- description: "基本Grid參數"
761
- }), z_ = _({
762
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
763
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
764
- description: "傾斜標籤"
765
- }), K_ = _({
766
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
767
- dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
768
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
769
- description: "橫向圖"
770
- }), k_ = _({
771
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
772
- dataFormatterId: "DF_GRID_2_SERIES_SLOT",
773
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
774
- description: "2組Series圖表"
775
- }), w_ = _({
776
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
777
- dataFormatterId: "DF_GRID_3_SERIES_SLOT",
778
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM", "PP_GROUP_AXIS_ROTATE_LABEL"],
779
- description: "3組Series圖表"
780
- }), Y_ = _({
781
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
782
- dataFormatterId: "DF_GRID_4_SERIES_SLOT",
783
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
784
- description: "4組Series圖表"
785
- }), $_ = _({
786
- chartParamsId: "CP_BOTTOM_PADDING",
787
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],
788
- description: "圓角長條圖"
789
- }), Z_ = _({
790
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
791
- dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
792
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],
793
- description: "橫向圓角長條圖"
794
- }), q_ = _({
795
- chartParamsId: "CP_BOTTOM_PADDING",
796
- allPluginParamsIds: ["PP_BARS_THIN", "PP_GRID_LEGEND_BOTTOM"],
797
- description: "細長條圖"
798
- }), J_ = _({
799
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
800
- dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
801
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],
802
- description: "橫向圓角長條圖"
803
- }), Q_ = _({
804
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
805
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
806
- description: "基本Grid參數"
807
- }), _t = _({
808
- chartParamsId: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
809
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
810
- description: "傾斜標籤"
811
- }), tt = _({
812
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
813
- dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
814
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
815
- description: "橫向圓角長條圖"
816
- }), It = _({
817
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
818
- allPluginParamsIds: ["PP_LINES_CURVE", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
819
- description: "弧線折線圖"
820
- }), it = _({
821
- chartParamsId: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
822
- allPluginParamsIds: ["PP_DOTS_ONLY_SHOW_HIGHLIGHTED", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
823
- description: "折線圖及Highlight Group圓點"
824
- }), Tt = I({
825
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
826
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],
827
- description: "基本MultiGrid參數"
828
- }), Pt = I({
829
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
830
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST", "PP_MULTI_BARS_ROUND", "PP_MULTI_LINES_CURVE"],
831
- description: "MultiGrid圓弧風格"
832
- }), et = I({
833
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
834
- dataFormatterId: "DF_MULTI_GRID_2_GRID_SLOT",
835
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM", "PP_MULTI_GROUP_AXIS_2_GRID_SLOT", "PP_MULTI_VALUE_AXIS_2_GRID_SLOT", "PP_MULTI_BARS_2_GRID_SLOT", "PP_MULTI_BAR_STACK_2_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT", "PP_MULTI_LINES_2_GRID_SLOT"],
836
- description: "2組Grid圖表"
837
- }), at = I({
838
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
839
- dataFormatterId: "DF_MULTI_GRID_3_GRID_SLOT",
840
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM", "PP_MULTI_GROUP_AXIS_3_GRID_SLOT", "PP_MULTI_VALUE_AXIS_3_GRID_SLOT", "PP_MULTI_BARS_3_GRID_SLOT", "PP_MULTI_BAR_STACK_3_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT", "PP_MULTI_LINES_3_GRID_SLOT"],
841
- description: "3組Grid圖表"
842
- }), rt = I({
843
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
844
- dataFormatterId: "DF_MULTI_GRID_4_GRID_SLOT",
845
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM", "PP_MULTI_GROUP_AXIS_4_GRID_SLOT", "PP_MULTI_VALUE_AXIS_4_GRID_SLOT", "PP_MULTI_BARS_4_GRID_SLOT", "PP_MULTI_BAR_STACK_4_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT", "PP_MULTI_LINES_4_GRID_SLOT"],
846
- description: "4組Grid圖表"
847
- }), dt = I({
848
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
849
- dataFormatterId: "DF_MULTI_GRID_2_GRID_SLOT",
850
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST", "PP_MULTI_GROUP_AXIS_2_GRID_SLOT", "PP_MULTI_VALUE_AXIS_2_GRID_SLOT", "PP_MULTI_BARS_2_GRID_SLOT", "PP_MULTI_BAR_STACK_2_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT", "PP_MULTI_LINES_2_GRID_SLOT"],
851
- description: "2組折線圖表"
852
- }), Lt = I({
853
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
854
- dataFormatterId: "DF_MULTI_GRID_3_GRID_SLOT",
855
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST", "PP_MULTI_GROUP_AXIS_3_GRID_SLOT", "PP_MULTI_VALUE_AXIS_3_GRID_SLOT", "PP_MULTI_BARS_3_GRID_SLOT", "PP_MULTI_BAR_STACK_3_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT", "PP_MULTI_LINES_3_GRID_SLOT"],
856
- description: "3組折線圖表"
857
- }), st = I({
858
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
859
- dataFormatterId: "DF_MULTI_GRID_4_GRID_SLOT",
860
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST", "PP_MULTI_GROUP_AXIS_4_GRID_SLOT", "PP_MULTI_VALUE_AXIS_4_GRID_SLOT", "PP_MULTI_BARS_4_GRID_SLOT", "PP_MULTI_BAR_STACK_4_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT", "PP_MULTI_LINES_4_GRID_SLOT"],
861
- description: "4組折線圖表"
862
- });
1245
+ }, W = {
1246
+ name: "PRESET_MULTI_LINES_SEPARATE_GRID",
1247
+ description: "多組分開折線圖表",
1248
+ chartParams: {
1249
+ padding: {
1250
+ top: 60,
1251
+ right: 60,
1252
+ bottom: 160,
1253
+ left: 60
1254
+ }
1255
+ },
1256
+ dataFormatter: {
1257
+ separateGrid: !0
1258
+ },
1259
+ allPluginParams: {
1260
+ ...a,
1261
+ MultiGroupAxis: {
1262
+ tickTextRotate: -30,
1263
+ gridIndexes: "all"
1264
+ },
1265
+ MultiValueAxis: {
1266
+ gridIndexes: "all"
1267
+ },
1268
+ MultiValueStackAxis: {
1269
+ gridIndexes: "all"
1270
+ },
1271
+ MultiBars: {
1272
+ gridIndexes: "all"
1273
+ },
1274
+ MultiBarStack: {
1275
+ gridIndexes: "all"
1276
+ },
1277
+ MultiBarsTriangle: {
1278
+ gridIndexes: "all"
1279
+ },
1280
+ MultiLines: {
1281
+ gridIndexes: "all"
1282
+ },
1283
+ MultiLineAreas: {
1284
+ gridIndexes: "all"
1285
+ },
1286
+ MultiDots: {
1287
+ gridIndexes: "all"
1288
+ },
1289
+ MultiGridLegend: {
1290
+ // position: 'bottom',
1291
+ // justify: 'center',
1292
+ placement: "bottom",
1293
+ padding: 14,
1294
+ gridList: [
1295
+ {
1296
+ listRectHeight: 2
1297
+ },
1298
+ {
1299
+ listRectHeight: 2
1300
+ },
1301
+ {
1302
+ listRectHeight: 2
1303
+ },
1304
+ {
1305
+ listRectHeight: 2
1306
+ },
1307
+ {
1308
+ listRectHeight: 2
1309
+ },
1310
+ {
1311
+ listRectHeight: 2
1312
+ },
1313
+ {
1314
+ listRectHeight: 2
1315
+ },
1316
+ {
1317
+ listRectHeight: 2
1318
+ }
1319
+ ]
1320
+ }
1321
+ }
1322
+ }, X = {
1323
+ name: "PRESET_TREE_BASIC",
1324
+ description: "基本Tree參數",
1325
+ chartParams: {
1326
+ padding: {
1327
+ top: 40,
1328
+ right: 40,
1329
+ bottom: 60,
1330
+ left: 40
1331
+ }
1332
+ },
1333
+ allPluginParams: {
1334
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1335
+ TreeMap: {},
1336
+ TreeLegend: {
1337
+ // position: 'bottom',
1338
+ // justify: 'center',
1339
+ placement: "bottom",
1340
+ padding: 14
1341
+ }
1342
+ }
1343
+ };
863
1344
  export {
864
- Z_ as PRESET_BARS_HORIZONTAL_AND_ROUND,
865
- J_ as PRESET_BARS_HORIZONTAL_AND_THIN,
866
- $_ as PRESET_BARS_ROUND,
867
- q_ as PRESET_BARS_THIN,
868
- f_ as PRESET_BUBBLES_BASIC,
869
- W_ as PRESET_BUBBLES_SCALING_BY_RADIUS,
870
- k_ as PRESET_GRID_2_SERIES_SLOT,
871
- w_ as PRESET_GRID_3_SERIES_SLOT,
872
- Y_ as PRESET_GRID_4_SERIES_SLOT,
873
- v_ as PRESET_GRID_BASIC,
874
- K_ as PRESET_GRID_HORIZONTAL,
875
- z_ as PRESET_GRID_ROTATE_AXIS_LABEL,
876
- Q_ as PRESET_LINES_BASIC,
877
- It as PRESET_LINES_CURVE,
878
- it as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
879
- tt as PRESET_LINES_HORIZONTAL,
880
- _t as PRESET_LINES_ROTATE_AXIS_LABEL,
881
- et as PRESET_MULTI_GRID_2_GRID_SLOT,
882
- at as PRESET_MULTI_GRID_3_GRID_SLOT,
883
- rt as PRESET_MULTI_GRID_4_GRID_SLOT,
884
- Tt as PRESET_MULTI_GRID_BASIC,
885
- Pt as PRESET_MULTI_GRID_ROUND_STYLE,
886
- dt as PRESET_MULTI_LINES_2_GRID_SLOT,
887
- Lt as PRESET_MULTI_LINES_3_GRID_SLOT,
888
- st as PRESET_MULTI_LINES_4_GRID_SLOT,
889
- x_ as PRESET_PIE_BASIC,
890
- j_ as PRESET_PIE_DONUT,
891
- V_ as PRESET_PIE_HALF_DONUT,
892
- X_ as PRESET_PIE_WITH_INNER_LABELS,
893
- F_ as PRESET_SERIES_BASIC
1345
+ _ as PRESET_BARS_HORIZONTAL_AND_ROUND,
1346
+ P as PRESET_BARS_HORIZONTAL_AND_THIN,
1347
+ p as PRESET_BARS_ROUND,
1348
+ A as PRESET_BARS_THIN,
1349
+ u as PRESET_BUBBLES_SCALING_BY_RADIUS,
1350
+ S as PRESET_BUBBLES_SEPARATE_SERIES,
1351
+ m as PRESET_GRID_BASIC,
1352
+ c as PRESET_GRID_HORIZONTAL,
1353
+ I as PRESET_GRID_PN_SCALE,
1354
+ T as PRESET_GRID_ROTATE_AXIS_LABEL,
1355
+ L as PRESET_GRID_SEPARATE_SERIES,
1356
+ D as PRESET_LINES_BASIC,
1357
+ B as PRESET_LINES_CURVE,
1358
+ v as PRESET_LINES_HORIZONTAL,
1359
+ O as PRESET_LINES_LOOSE_TICKS,
1360
+ H as PRESET_LINES_ROTATE_AXIS_LABEL,
1361
+ U as PRESET_LINES_WITH_SOLID_DOTS,
1362
+ h as PRESET_LINE_AREAS_BASIC,
1363
+ x as PRESET_LINE_AREAS_CURVE,
1364
+ b as PRESET_LINE_AREAS_HORIZONTAL,
1365
+ G as PRESET_LINE_AREAS_LOOSE_TICKS,
1366
+ M as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
1367
+ N as PRESET_LINE_AREAS_SEPARATE_SERIES,
1368
+ f as PRESET_MULTI_GRID_BASIC,
1369
+ C as PRESET_MULTI_GRID_DIVERGING,
1370
+ F as PRESET_MULTI_GRID_ROUND_STYLE,
1371
+ V as PRESET_MULTI_GRID_SEPARATE_GRID,
1372
+ W as PRESET_MULTI_LINES_SEPARATE_GRID,
1373
+ k as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
1374
+ i as PRESET_PIE_BASIC,
1375
+ r as PRESET_PIE_DONUT,
1376
+ s as PRESET_PIE_HALF_DONUT,
1377
+ l as PRESET_PIE_WITH_INNER_LABELS,
1378
+ o as PRESET_ROSE_BASIC,
1379
+ n as PRESET_ROSE_SCALING_BY_RADIUS,
1380
+ R as PRESET_SERIES_BASIC,
1381
+ g as PRESET_SERIES_SEPARATE_SERIES,
1382
+ d as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
1383
+ E as PRESET_SERIES_SUM_SERIES,
1384
+ X as PRESET_TREE_BASIC
894
1385
  };