@orbcharts/presets-basic 3.0.0-alpha.9 → 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 (292) 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 +1268 -823
  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 -32
  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 -223
  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_BOTTOM_SLIGHT_PADDING.d.ts +0 -3
  118. package/dist/src/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -3
  119. package/dist/src/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -3
  120. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -3
  121. package/dist/src/chartParamsFiles/index.d.ts +0 -11
  122. package/dist/src/createPreset.d.ts +0 -9
  123. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +0 -3
  124. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +0 -3
  125. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +0 -3
  126. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +0 -3
  127. package/dist/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.d.ts +0 -3
  128. package/dist/src/gridDataFormatterFiles/index.d.ts +0 -5
  129. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -4
  130. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -4
  131. package/dist/src/gridPluginParamsFiles/Bars/index.d.ts +0 -2
  132. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -4
  133. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -4
  134. package/dist/src/gridPluginParamsFiles/Dots/index.d.ts +0 -2
  135. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -4
  136. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  137. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +0 -4
  138. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +0 -3
  139. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -4
  140. package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -1
  141. package/dist/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -4
  142. package/dist/src/gridPluginParamsFiles/Lines/index.d.ts +0 -1
  143. package/dist/src/gridPluginParamsFiles/index.d.ts +0 -5
  144. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +0 -3
  145. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +0 -3
  146. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +0 -3
  147. package/dist/src/multiGridDataFormatterFiles/index.d.ts +0 -3
  148. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +0 -4
  149. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +0 -4
  150. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +0 -4
  151. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +0 -3
  152. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +0 -4
  153. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +0 -4
  154. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +0 -4
  155. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +0 -4
  156. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +0 -4
  157. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +0 -4
  158. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +0 -4
  159. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +0 -4
  160. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +0 -3
  161. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +0 -4
  162. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  163. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +0 -4
  164. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +0 -4
  165. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +0 -4
  166. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +0 -4
  167. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +0 -4
  168. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +0 -4
  169. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +0 -3
  170. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +0 -4
  171. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +0 -4
  172. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +0 -4
  173. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +0 -4
  174. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +0 -4
  175. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +0 -4
  176. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +0 -4
  177. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +0 -4
  178. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +0 -3
  179. package/dist/src/multiGridPluginParamsFiles/index.d.ts +0 -7
  180. package/dist/src/multiValueDataFormatterFiles/index.d.ts +0 -1
  181. package/dist/src/multiValuePluginParamsFiles/index.d.ts +0 -1
  182. package/dist/src/relationshipDataFormatterFiles/index.d.ts +0 -1
  183. package/dist/src/relationshipPluginParamsFiles/index.d.ts +0 -1
  184. package/dist/src/seriesDataFormatterFiles/index.d.ts +0 -1
  185. package/dist/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -4
  186. package/dist/src/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -1
  187. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
  188. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -4
  189. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -4
  190. package/dist/src/seriesPluginParamsFiles/Pie/index.d.ts +0 -2
  191. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -4
  192. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -4
  193. package/dist/src/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -2
  194. package/dist/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -4
  195. package/dist/src/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -1
  196. package/dist/src/seriesPluginParamsFiles/index.d.ts +0 -4
  197. package/dist/src/treeDataFormatterFiles/index.d.ts +0 -1
  198. package/dist/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +0 -4
  199. package/dist/src/treePluginParamsFiles/TreeLegend/index.d.ts +0 -1
  200. package/dist/src/treePluginParamsFiles/index.d.ts +0 -1
  201. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +0 -14
  202. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  203. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +0 -14
  204. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  205. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +0 -14
  206. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +0 -15
  207. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  208. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +0 -14
  209. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +0 -14
  210. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +0 -14
  211. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +0 -14
  212. package/src/chartParamsFiles/index.ts +0 -11
  213. package/src/createPreset.ts +0 -88
  214. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +0 -16
  215. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +0 -16
  216. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +0 -16
  217. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +0 -23
  218. package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +0 -15
  219. package/src/gridDataFormatterFiles/index.ts +0 -5
  220. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +0 -15
  221. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +0 -14
  222. package/src/gridPluginParamsFiles/Bars/index.ts +0 -2
  223. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -12
  224. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +0 -14
  225. package/src/gridPluginParamsFiles/Dots/index.ts +0 -2
  226. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +0 -14
  227. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -15
  228. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +0 -15
  229. package/src/gridPluginParamsFiles/GridLegend/index.ts +0 -3
  230. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +0 -13
  231. package/src/gridPluginParamsFiles/GroupAxis/index.ts +0 -1
  232. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +0 -13
  233. package/src/gridPluginParamsFiles/Lines/index.ts +0 -1
  234. package/src/gridPluginParamsFiles/index.ts +0 -6
  235. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +0 -21
  236. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +0 -24
  237. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +0 -27
  238. package/src/multiGridDataFormatterFiles/index.ts +0 -3
  239. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +0 -12
  240. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +0 -12
  241. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +0 -12
  242. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +0 -4
  243. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +0 -12
  244. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +0 -12
  245. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +0 -12
  246. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +0 -15
  247. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +0 -5
  248. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +0 -12
  249. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +0 -12
  250. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +0 -12
  251. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +0 -3
  252. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +0 -14
  253. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -28
  254. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +0 -21
  255. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +0 -22
  256. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +0 -4
  257. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +0 -13
  258. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +0 -13
  259. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +0 -13
  260. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +0 -3
  261. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +0 -12
  262. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +0 -12
  263. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +0 -12
  264. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +0 -13
  265. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +0 -4
  266. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +0 -12
  267. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +0 -12
  268. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +0 -12
  269. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +0 -3
  270. package/src/multiGridPluginParamsFiles/index.ts +0 -7
  271. package/src/multiValueDataFormatterFiles/index.ts +0 -1
  272. package/src/multiValuePluginParamsFiles/index.ts +0 -1
  273. package/src/relationshipDataFormatterFiles/index.ts +0 -1
  274. package/src/relationshipPluginParamsFiles/index.ts +0 -1
  275. package/src/seriesDataFormatterFiles/index.ts +0 -1
  276. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +0 -12
  277. package/src/seriesPluginParamsFiles/Bubbles/index.ts +0 -1
  278. package/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.ts +0 -0
  279. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +0 -12
  280. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +0 -14
  281. package/src/seriesPluginParamsFiles/Pie/index.ts +0 -2
  282. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +0 -13
  283. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +0 -13
  284. package/src/seriesPluginParamsFiles/PieLabels/index.ts +0 -2
  285. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +0 -12
  286. package/src/seriesPluginParamsFiles/SeriesLegend/index.ts +0 -1
  287. package/src/seriesPluginParamsFiles/index.ts +0 -4
  288. package/src/treeDataFormatterFiles/index.ts +0 -1
  289. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +0 -14
  290. package/src/treePluginParamsFiles/TreeLegend/index.ts +0 -1
  291. package/src/treePluginParamsFiles/index.ts +0 -1
  292. package/tsconfig.dev.json +0 -18
@@ -1,209 +1,822 @@
1
- const G = {
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
- }, S = {
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
- }, D = {
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
- }, O = {
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
56
- },
57
- highlightTarget: "group"
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
+ }
58
386
  }
59
- }, E = {
60
- id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
61
- description: "間距下面留空及highlight系列",
62
- data: {
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: {
63
429
  padding: {
64
430
  top: 60,
65
431
  right: 60,
66
432
  bottom: 120,
67
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
68
471
  },
69
- highlightTarget: "series"
472
+ GroupAxis: {
473
+ tickPadding: 15,
474
+ tickTextRotate: -30
475
+ },
476
+ GridLegend: {
477
+ // position: 'bottom',
478
+ // justify: 'center',
479
+ placement: "bottom",
480
+ padding: 14
481
+ }
70
482
  }
71
- }, l = {
72
- id: "CP_BOTTOM_PADDING",
73
- description: "間距下面留空",
74
- 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: {
75
521
  padding: {
76
522
  top: 60,
77
523
  right: 60,
78
524
  bottom: 120,
79
525
  left: 60
526
+ },
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
80
550
  }
81
551
  }
82
- }, c = {
83
- id: "CP_BOTTOM_SLIGHT_PADDING",
84
- description: "間距下面些微留空",
85
- data: {
552
+ }, x = {
553
+ name: "PRESET_LINE_AREAS_CURVE",
554
+ description: "弧線折線圖",
555
+ chartParams: {
86
556
  padding: {
87
- top: 40,
88
- right: 40,
89
- bottom: 60,
90
- left: 40
557
+ top: 60,
558
+ right: 60,
559
+ bottom: 120,
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
91
590
  }
92
591
  }
93
- }, N = {
94
- id: "CP_LEFT_PADDING",
95
- description: "間距左邊留空",
96
- data: {
592
+ }, b = {
593
+ name: "PRESET_LINE_AREAS_HORIZONTAL",
594
+ description: "橫向折線圖",
595
+ chartParams: {
97
596
  padding: {
98
597
  top: 60,
99
598
  right: 60,
100
- bottom: 60,
599
+ bottom: 120,
101
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
102
629
  }
103
630
  }
104
- }, A = {
105
- id: "CP_TOP_AND_NO_BOTTOM_PADDING",
106
- description: "間距上面留空下面不留空",
107
- data: {
631
+ }, G = {
632
+ name: "PRESET_LINE_AREAS_LOOSE_TICKS",
633
+ description: "寬鬆標籤",
634
+ chartParams: {
108
635
  padding: {
109
- top: 120,
110
- right: 120,
111
- bottom: 0,
636
+ top: 60,
637
+ right: 60,
638
+ bottom: 120,
112
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
113
666
  }
114
667
  }
115
- }, p = {
116
- id: "CP_RIGHT_PADDING",
117
- description: "間距右邊留空",
118
- data: {
668
+ }, M = {
669
+ name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
670
+ description: "傾斜標籤",
671
+ chartParams: {
119
672
  padding: {
120
673
  top: 60,
121
- right: 120,
122
- bottom: 60,
674
+ right: 60,
675
+ bottom: 160,
123
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
124
706
  }
125
707
  }
126
- }, u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
127
- __proto__: null,
128
- CP_BOTTOM_AND_LEFT_PADDING: S,
129
- CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: G,
130
- CP_BOTTOM_LONG_PADDING: D,
131
- CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: O,
132
- CP_BOTTOM_PADDING: l,
133
- CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: R,
134
- CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: E,
135
- CP_BOTTOM_SLIGHT_PADDING: c,
136
- CP_LEFT_PADDING: N,
137
- CP_RIGHT_PADDING: p,
138
- CP_TOP_AND_NO_BOTTOM_PADDING: A
139
- }, Symbol.toStringTag, { value: "Module" })), M = {}, g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
140
- __proto__: null,
141
- temp: M
142
- }, Symbol.toStringTag, { value: "Module" })), m = {
143
- id: "PP_BUBBLES_SCALING_BY_RADIUS",
144
- chartType: "series",
145
- pluginName: "Bubbles",
146
- description: "以半徑尺寸為比例的泡泡圖",
147
- data: {
148
- bubbleScaleType: "radius"
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
+ }
149
749
  }
150
- }, U = {
151
- id: "PP_PIE_DONUT",
152
- chartType: "series",
153
- pluginName: "Pie",
154
- description: "甜甜圈圖",
155
- data: {
156
- innerRadius: 0.5
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
+ }
157
776
  }
158
777
  }, B = {
159
- id: "PP_PIE_HALF_DONUT",
160
- chartType: "series",
161
- pluginName: "Pie",
162
- description: "半圓甜甜圈圖",
163
- data: {
164
- innerRadius: 0.5,
165
- startAngle: -Math.PI / 2,
166
- endAngle: Math.PI / 2
167
- }
168
- }, h = {
169
- id: "PP_PIE_LABELS_HALF_ANGLE",
170
- chartType: "series",
171
- pluginName: "PieLabels",
172
- description: "半圓甜甜圈資料標籤",
173
- data: {
174
- startAngle: -Math.PI / 2,
175
- endAngle: Math.PI / 2
176
- }
177
- }, H = {
178
- id: "PP_PIE_LABELS_INNER",
179
- chartType: "series",
180
- pluginName: "PieLabels",
181
- description: "圖內資料標籤",
182
- data: {
183
- labelCentroid: 1.3,
184
- 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
+ }
185
806
  }
186
- }, C = {
187
- id: "PP_SERIES_LEGEND_BOTTOM",
188
- chartType: "series",
189
- pluginName: "SeriesLegend",
190
- description: "圓型圖例列點",
191
- data: {
192
- listRectRadius: 7
193
- }
194
- }, y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
195
- __proto__: null,
196
- PP_BUBBLES_SCALING_BY_RADIUS: m,
197
- PP_PIE_DONUT: U,
198
- PP_PIE_HALF_DONUT: B,
199
- PP_PIE_LABELS_HALF_ANGLE: h,
200
- PP_PIE_LABELS_INNER: H,
201
- PP_SERIES_LEGEND_ROUND: C
202
- }, Symbol.toStringTag, { value: "Module" })), F = {
203
- id: "DF_GRID_BOTTOM_VALUE_AXIS",
204
- chartType: "grid",
205
- description: "底部橫向資料圖軸",
206
- 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: {
207
820
  grid: {
208
821
  valueAxis: {
209
822
  position: "bottom"
@@ -218,723 +831,555 @@ const G = {
218
831
  // position: 'top'
219
832
  }
220
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
+ }
221
849
  }
222
- }, b = {
223
- id: "DF_GRID_2_SERIES_SLOT",
224
- chartType: "grid",
225
- description: "2個Series Slot",
226
- data: {
227
- grid: {
228
- 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
229
859
  },
230
- container: {
231
- rowAmount: 1,
232
- 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
233
877
  }
234
878
  }
235
- }, f = {
236
- id: "DF_GRID_3_SERIES_SLOT",
237
- chartType: "grid",
238
- description: "3個Series Slot",
239
- data: {
240
- grid: {
241
- 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
242
888
  },
243
- container: {
244
- rowAmount: 1,
245
- 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
246
909
  }
247
910
  }
248
- }, W = {
249
- id: "DF_GRID_4_SERIES_SLOT",
250
- chartType: "grid",
251
- description: "4個Series Slot",
252
- data: {
253
- grid: {
254
- 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
255
920
  },
256
- container: {
257
- rowAmount: 2,
258
- 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
259
940
  }
260
941
  }
261
- }, x = {
262
- id: "DF_GRID_DIVERGING_SCALE",
263
- chartType: "grid",
264
- description: "分向資料圖軸",
265
- data: {
266
- grid: {
267
- valueAxis: {
268
- scaleDomain: ["auto", "auto"],
269
- scaleRange: [0.05, 0.95]
270
- }
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
+ ]
271
968
  }
272
969
  }
273
- }, X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
274
- __proto__: null,
275
- DF_GRID_2_SERIES_SLOT: b,
276
- DF_GRID_3_SERIES_SLOT: f,
277
- DF_GRID_4_SERIES_SLOT: W,
278
- DF_GRID_BOTTOM_VALUE_AXIS: F,
279
- DF_GRID_DIVERGING_SCALE: x
280
- }, Symbol.toStringTag, { value: "Module" })), V = {
281
- id: "PP_BARS_ROUND",
282
- chartType: "grid",
283
- pluginName: "Bars",
284
- description: "圓角長條圖",
285
- data: {
286
- barWidth: 0,
287
- barPadding: 1,
288
- barGroupPadding: 10,
289
- barRadius: !0
290
- }
291
- }, j = {
292
- id: "PP_BARS_THIN",
293
- chartType: "grid",
294
- pluginName: "Bars",
295
- description: "圓角長條圖",
296
- data: {
297
- barWidth: 20,
298
- barPadding: 1,
299
- barGroupPadding: 10
300
- }
301
- }, v = {
302
- id: "PP_DOTS_ONLY_SHOW_HIGHLIGHTED",
303
- chartType: "grid",
304
- pluginName: "Dots",
305
- description: "顯示highlight圓點",
306
- data: {
307
- onlyShowHighlighted: !1
308
- }
309
- }, z = {
310
- id: "PP_DOTS_SOLID",
311
- chartType: "grid",
312
- pluginName: "Dots",
313
- description: "實心圓點",
314
- data: {
315
- radius: 3,
316
- fillColorType: "series",
317
- onlyShowHighlighted: !1
318
- }
319
- }, K = {
320
- id: "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
321
- chartType: "grid",
322
- pluginName: "GridLegend",
323
- description: "底部圖例及線條列點",
324
- data: {
325
- position: "bottom",
326
- justify: "center",
327
- padding: 14,
328
- listRectHeight: 2
329
- }
330
- }, k = {
331
- id: "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST",
332
- chartType: "grid",
333
- pluginName: "GridLegend",
334
- description: "底部圖例及圓弧列點",
335
- data: {
336
- position: "bottom",
337
- justify: "center",
338
- padding: 14,
339
- listRectRadius: 7
340
- }
341
- }, w = {
342
- id: "PP_GRID_LEGEND_BOTTOM",
343
- chartType: "grid",
344
- pluginName: "GridLegend",
345
- description: "底部圖例",
346
- data: {
347
- position: "bottom",
348
- justify: "center",
349
- padding: 14
350
- }
351
- }, Y = {
352
- id: "PP_GROUP_AXIS_ROTATE_LABEL",
353
- chartType: "grid",
354
- pluginName: "GroupAxis",
355
- description: "群組圖軸標籤文字傾斜",
356
- data: {
357
- tickPadding: 15,
358
- tickTextRotate: -30
359
- }
360
- }, $ = {
361
- id: "PP_LINES_CURVE",
362
- chartType: "grid",
363
- pluginName: "Lines",
364
- description: "圓弧折線圖",
365
- data: {
366
- lineCurve: "curveMonotoneX",
367
- lineWidth: 3
368
- }
369
- }, Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
370
- __proto__: null,
371
- PP_BARS_ROUND: V,
372
- PP_BARS_THIN: j,
373
- PP_DOTS_ONLY_SHOW_HIGHLIGHTED: v,
374
- PP_DOTS_SOLID: z,
375
- PP_GRID_LEGEND_BOTTOM: w,
376
- PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: K,
377
- PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST: k,
378
- PP_GROUP_AXIS_ROTATE_LABEL: Y,
379
- PP_LINES_CURVE: $
380
- }, Symbol.toStringTag, { value: "Module" })), q = {
381
- id: "DF_MULTI_GRID_2_GRID_SLOT",
382
- chartType: "multiGrid",
383
- description: "2個Grid Slot",
384
- 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: {
385
982
  gridList: [
983
+ // 第一個grid
386
984
  {
387
- // slotIndex: 0
985
+ groupAxis: {
986
+ position: "right"
987
+ },
988
+ valueAxis: {
989
+ position: "bottom"
990
+ }
388
991
  },
992
+ // 第二個grid
389
993
  {
390
- slotIndex: 1
994
+ groupAxis: {
995
+ position: "left"
996
+ },
997
+ valueAxis: {
998
+ position: "bottom"
999
+ }
391
1000
  }
392
1001
  ],
1002
+ // 設定排版方式
393
1003
  container: {
1004
+ gap: 200,
394
1005
  rowAmount: 1,
395
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
396
1048
  }
397
1049
  }
398
- }, J = {
399
- id: "DF_MULTI_GRID_3_GRID_SLOT",
400
- chartType: "multiGrid",
401
- description: "3個Grid Slot",
402
- data: {
403
- gridList: [
404
- {
405
- slotIndex: 0
406
- },
407
- {
408
- slotIndex: 1
409
- },
410
- {
411
- slotIndex: 2
412
- }
413
- ],
414
- container: {
415
- rowAmount: 1,
416
- 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
417
1146
  }
418
1147
  }
419
- }, Q = {
420
- id: "DF_MULTI_GRID_4_GRID_SLOT",
421
- chartType: "multiGrid",
422
- description: "4個Grid Slot",
423
- 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: {
424
1162
  gridList: [
425
1163
  {
426
- slotIndex: 0
427
- },
428
- {
429
- slotIndex: 1
430
- },
431
- {
432
- slotIndex: 2
1164
+ // slotIndex: 0
1165
+ groupAxis: {
1166
+ scalePadding: 0
1167
+ }
433
1168
  },
434
1169
  {
435
- slotIndex: 3
1170
+ // slotIndex: 1,
1171
+ groupAxis: {
1172
+ scalePadding: 0
1173
+ }
436
1174
  }
437
1175
  ],
438
- container: {
439
- rowAmount: 2,
440
- 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
+ ]
441
1243
  }
442
1244
  }
443
- }, __ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
444
- __proto__: null,
445
- DF_MULTI_GRID_2_GRID_SLOT: q,
446
- DF_MULTI_GRID_3_GRID_SLOT: J,
447
- DF_MULTI_GRID_4_GRID_SLOT: Q
448
- }, Symbol.toStringTag, { value: "Module" })), t_ = {
449
- id: "PP_MULTI_BARS_2_GRID_SLOT",
450
- chartType: "multiGrid",
451
- pluginName: "MultiBars",
452
- description: "2組群組長條圖",
453
- data: {
454
- gridIndexes: [0, 1]
455
- }
456
- }, I_ = {
457
- id: "PP_MULTI_BARS_3_GRID_SLOT",
458
- chartType: "multiGrid",
459
- pluginName: "MultiBars",
460
- description: "3組群組長條圖",
461
- data: {
462
- gridIndexes: [0, 1, 2]
463
- }
464
- }, i_ = {
465
- id: "PP_MULTI_BARS_4_GRID_SLOT",
466
- chartType: "multiGrid",
467
- pluginName: "MultiBars",
468
- description: "4組群組長條圖",
469
- data: {
470
- gridIndexes: [0, 1, 2, 3]
471
- }
472
- }, T_ = {
473
- id: "PP_MULTI_BARS_ROUND",
474
- chartType: "multiGrid",
475
- pluginName: "MultiBars",
476
- description: "圓角長條圖",
477
- data: {
478
- barWidth: 0,
479
- barPadding: 1,
480
- barGroupPadding: 10,
481
- barRadius: !0
482
- }
483
- }, P_ = {
484
- id: "PP_MULTI_BAR_STACK_2_GRID_SLOT",
485
- chartType: "multiGrid",
486
- pluginName: "MultiBarStack",
487
- description: "2組堆疊長條圖",
488
- data: {
489
- gridIndexes: [0, 1]
490
- }
491
- }, e_ = {
492
- id: "PP_MULTI_BAR_STACK_3_GRID_SLOT",
493
- chartType: "multiGrid",
494
- pluginName: "MultiBarStack",
495
- description: "3組堆疊長條圖",
496
- data: {
497
- gridIndexes: [0, 1, 2]
498
- }
499
- }, a_ = {
500
- id: "PP_MULTI_BAR_STACK_4_GRID_SLOT",
501
- chartType: "multiGrid",
502
- pluginName: "MultiBarStack",
503
- description: "4組堆疊長條圖",
504
- data: {
505
- gridIndexes: [0, 1, 2, 3]
506
- }
507
- }, r_ = {
508
- id: "PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT",
509
- chartType: "multiGrid",
510
- pluginName: "MultiBarsTriangle",
511
- description: "2組群組三角長條圖",
512
- data: {
513
- gridIndexes: [0, 1]
514
- }
515
- }, d_ = {
516
- id: "PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT",
517
- chartType: "multiGrid",
518
- pluginName: "MultiBarsTriangle",
519
- description: "3組群組三角長條圖",
520
- data: {
521
- gridIndexes: [0, 1, 2]
522
- }
523
- }, L_ = {
524
- id: "PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT",
525
- chartType: "multiGrid",
526
- pluginName: "MultiBarsTriangle",
527
- description: "4組群組三角長條圖",
528
- data: {
529
- gridIndexes: [0, 1, 2, 3]
530
- }
531
- }, s_ = {
532
- id: "PP_MULTI_LINES_2_GRID_SLOT",
533
- chartType: "multiGrid",
534
- pluginName: "MultiLines",
535
- description: "2組折線圖",
536
- data: {
537
- gridIndexes: [0, 1]
538
- }
539
- }, n_ = {
540
- id: "PP_MULTI_LINES_3_GRID_SLOT",
541
- chartType: "multiGrid",
542
- pluginName: "MultiLines",
543
- description: "3組折線圖",
544
- data: {
545
- gridIndexes: [0, 1, 2]
546
- }
547
- }, o_ = {
548
- id: "PP_MULTI_LINES_4_GRID_SLOT",
549
- chartType: "multiGrid",
550
- pluginName: "MultiLines",
551
- description: "4組折線圖",
552
- data: {
553
- gridIndexes: [0, 1, 2, 3]
554
- }
555
- }, G_ = {
556
- id: "PP_MULTI_LINES_CURVE",
557
- chartType: "multiGrid",
558
- pluginName: "MultiLines",
559
- description: "圓弧折線圖",
560
- data: {
561
- lineCurve: "curveMonotoneX",
562
- lineWidth: 3
563
- }
564
- }, S_ = {
565
- id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
566
- chartType: "multiGrid",
567
- pluginName: "MultiGridLegend",
568
- description: "底部圖例線條列點",
569
- data: {
570
- position: "bottom",
571
- justify: "center",
572
- padding: 14,
573
- gridList: [
574
- {
575
- listRectHeight: 2
576
- },
577
- {
578
- listRectHeight: 2
579
- },
580
- {
581
- listRectHeight: 2
582
- },
583
- {
584
- listRectHeight: 2
585
- }
586
- ]
587
- }
588
- }, D_ = {
589
- id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST",
590
- chartType: "multiGrid",
591
- pluginName: "MultiGridLegend",
592
- description: "底部圖例矩型及線條列點",
593
- data: {
594
- position: "bottom",
595
- justify: "center",
596
- padding: 14,
597
- gridList: [
598
- {},
599
- {
600
- listRectHeight: 2
601
- }
602
- ]
603
- }
604
- }, O_ = {
605
- id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST",
606
- chartType: "multiGrid",
607
- pluginName: "MultiGridLegend",
608
- description: "底部圖例圓型及線條列點",
609
- data: {
610
- position: "bottom",
611
- justify: "center",
612
- padding: 14,
613
- gridList: [
614
- {
615
- listRectRadius: 7
616
- },
617
- {
618
- listRectHeight: 2
619
- }
620
- ]
621
- }
622
- }, R_ = {
623
- id: "PP_MULTI_GRID_LEGEND_BOTTOM",
624
- chartType: "multiGrid",
625
- pluginName: "MultiGridLegend",
626
- description: "底部圖例",
627
- data: {
628
- position: "bottom",
629
- justify: "center",
630
- padding: 14
631
- }
632
- }, E_ = {
633
- id: "PP_MULTI_GROUP_AXIS_2_GRID_SLOT",
634
- chartType: "multiGrid",
635
- pluginName: "MultiGroupAxis",
636
- description: "2個群組圖軸",
637
- data: {
638
- tickTextRotate: -30,
639
- gridIndexes: [0, 1]
640
- }
641
- }, l_ = {
642
- id: "PP_MULTI_GROUP_AXIS_3_GRID_SLOT",
643
- chartType: "multiGrid",
644
- pluginName: "MultiGroupAxis",
645
- description: "3個群組圖軸",
646
- data: {
647
- tickTextRotate: -30,
648
- gridIndexes: [0, 1, 2]
649
- }
650
- }, c_ = {
651
- id: "PP_MULTI_GROUP_AXIS_4_GRID_SLOT",
652
- chartType: "multiGrid",
653
- pluginName: "MultiGroupAxis",
654
- description: "4個群組圖軸",
655
- data: {
656
- tickTextRotate: -30,
657
- gridIndexes: [0, 1, 2, 3]
658
- }
659
- }, N_ = {
660
- id: "PP_MULTI_VALUE_AXIS_2_GRID_SLOT",
661
- chartType: "multiGrid",
662
- pluginName: "MultiValueAxis",
663
- description: "2個資料圖軸",
664
- data: {
665
- gridIndexes: [0, 1]
666
- }
667
- }, A_ = {
668
- id: "PP_MULTI_VALUE_AXIS_3_GRID_SLOT",
669
- chartType: "multiGrid",
670
- pluginName: "MultiValueAxis",
671
- description: "3個資料圖軸",
672
- data: {
673
- gridIndexes: [0, 1, 2]
674
- }
675
- }, p_ = {
676
- id: "PP_MULTI_VALUE_AXIS_4_GRID_SLOT",
677
- chartType: "multiGrid",
678
- pluginName: "MultiValueAxis",
679
- description: "4個資料圖軸",
680
- data: {
681
- gridIndexes: [0, 1, 2, 3]
682
- }
683
- }, u_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
684
- __proto__: null,
685
- PP_MULTI_BARS_2_GRID_SLOT: t_,
686
- PP_MULTI_BARS_3_GRID_SLOT: I_,
687
- PP_MULTI_BARS_4_GRID_SLOT: i_,
688
- PP_MULTI_BARS_ROUND: T_,
689
- PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT: r_,
690
- PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT: d_,
691
- PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT: L_,
692
- PP_MULTI_BAR_STACK_2_GRID_SLOT: P_,
693
- PP_MULTI_BAR_STACK_3_GRID_SLOT: e_,
694
- PP_MULTI_BAR_STACK_4_GRID_SLOT: a_,
695
- PP_MULTI_GRID_LEGEND_BOTTOM: R_,
696
- PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: S_,
697
- PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST: D_,
698
- PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST: O_,
699
- PP_MULTI_GROUP_AXIS_2_GRID_SLOT: E_,
700
- PP_MULTI_GROUP_AXIS_3_GRID_SLOT: l_,
701
- PP_MULTI_GROUP_AXIS_4_GRID_SLOT: c_,
702
- PP_MULTI_LINES_2_GRID_SLOT: s_,
703
- PP_MULTI_LINES_3_GRID_SLOT: n_,
704
- PP_MULTI_LINES_4_GRID_SLOT: o_,
705
- PP_MULTI_LINES_CURVE: G_,
706
- PP_MULTI_VALUE_AXIS_2_GRID_SLOT: N_,
707
- PP_MULTI_VALUE_AXIS_3_GRID_SLOT: A_,
708
- PP_MULTI_VALUE_AXIS_4_GRID_SLOT: p_
709
- }, Symbol.toStringTag, { value: "Module" })), M_ = {}, g_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
710
- __proto__: null,
711
- temp: M_
712
- }, Symbol.toStringTag, { value: "Module" })), m_ = {}, U_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
713
- __proto__: null,
714
- temp: m_
715
- }, Symbol.toStringTag, { value: "Module" })), B_ = {}, h_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
716
- __proto__: null,
717
- temp: B_
718
- }, Symbol.toStringTag, { value: "Module" })), H_ = {}, C_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
719
- __proto__: null,
720
- temp: H_
721
- }, Symbol.toStringTag, { value: "Module" })), y_ = {}, F_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
722
- __proto__: null,
723
- temp: y_
724
- }, Symbol.toStringTag, { value: "Module" })), b_ = {
725
- id: "PP_TREE_LEGEND_BOTTOM",
726
- chartType: "tree",
727
- pluginName: "TreeLegend",
728
- description: "底部圖例",
729
- data: {
730
- position: "bottom",
731
- justify: "center",
732
- padding: 14
733
- }
734
- }, f_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
735
- __proto__: null,
736
- PP_TREE_LEGEND_BOTTOM: b_
737
- }, Symbol.toStringTag, { value: "Module" })), d = {
738
- series: g,
739
- grid: X,
740
- multiGrid: __,
741
- multiValue: g_,
742
- relationship: h_,
743
- tree: F_
744
- }, a = {
745
- series: y,
746
- grid: Z,
747
- multiGrid: u_,
748
- multiValue: U_,
749
- relationship: C_,
750
- tree: f_
751
- }, P = (t, T) => {
752
- const L = T.chartParamsId ? u[T.chartParamsId].data : void 0, s = d[t][T.dataFormatterId] ? d[t][T.dataFormatterId].data : void 0, n = T.allPluginParamsIds ? T.allPluginParamsIds.reduce((r, e) => {
753
- if (a[t][e]) {
754
- const o = a[t][e].pluginName;
755
- r[o] = a[t][e].data;
756
- }
757
- return r;
758
- }, {}) : void 0;
759
- return {
760
- chartParams: L,
761
- dataFormatter: s,
762
- allPluginParams: n
763
- };
764
- }, i = (t) => P("series", t), _ = (t) => P("grid", t), I = (t) => P("multiGrid", t), W_ = (t) => P("tree", t), x_ = i({
765
- // chartParamsId: 'CP_RIGHT_PADDING',
766
- allPluginParamsIds: [],
767
- description: "基本Series參數"
768
- }), X_ = i({
769
- // chartParamsId: 'CP_RIGHT_PADDING',
770
- allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
771
- description: "基本泡泡圖"
772
- }), V_ = i({
773
- // chartParamsId: 'CP_RIGHT_PADDING',
774
- allPluginParamsIds: ["PP_BUBBLES_SCALING_BY_RADIUS", "PP_SERIES_LEGEND_ROUND"],
775
- description: "以半徑尺寸為比例的泡泡圖"
776
- }), j_ = i({
777
- // chartParamsId: 'CP_RIGHT_PADDING',
778
- allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
779
- description: "基本圓餅圖"
780
- }), v_ = i({
781
- // chartParamsId: 'CP_RIGHT_PADDING',
782
- allPluginParamsIds: ["PP_PIE_LABELS_INNER", "PP_SERIES_LEGEND_ROUND"],
783
- description: "圓餅圖及內部資料標籤"
784
- }), z_ = i({
785
- // chartParamsId: 'CP_RIGHT_PADDING',
786
- allPluginParamsIds: ["PP_PIE_DONUT", "PP_SERIES_LEGEND_ROUND"],
787
- description: "甜甜圈圖"
788
- }), K_ = i({
789
- chartParamsId: "CP_TOP_AND_NO_BOTTOM_PADDING",
790
- allPluginParamsIds: ["PP_PIE_HALF_DONUT", "PP_PIE_LABELS_HALF_ANGLE", "PP_SERIES_LEGEND_ROUND"],
791
- description: "半圓甜甜圈圖"
792
- }), k_ = _({
793
- chartParamsId: "CP_BOTTOM_PADDING",
794
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
795
- description: "基本Grid參數"
796
- }), w_ = _({
797
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
798
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
799
- description: "傾斜標籤"
800
- }), Y_ = _({
801
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
802
- dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
803
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
804
- description: "橫向圖"
805
- }), $_ = _({
806
- chartParamsId: "CP_BOTTOM_PADDING",
807
- dataFormatterId: "DF_GRID_DIVERGING_SCALE",
808
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
809
- description: "正負值分向圖"
810
- }), Z_ = _({
811
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
812
- dataFormatterId: "DF_GRID_2_SERIES_SLOT",
813
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
814
- description: "2組Series圖表"
815
- }), q_ = _({
816
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
817
- dataFormatterId: "DF_GRID_3_SERIES_SLOT",
818
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM", "PP_GROUP_AXIS_ROTATE_LABEL"],
819
- description: "3組Series圖表"
820
- }), J_ = _({
821
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
822
- dataFormatterId: "DF_GRID_4_SERIES_SLOT",
823
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
824
- description: "4組Series圖表"
825
- }), Q_ = _({
826
- chartParamsId: "CP_BOTTOM_PADDING",
827
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],
828
- description: "圓角長條圖"
829
- }), _t = _({
830
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
831
- dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
832
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],
833
- description: "橫向圓角長條圖"
834
- }), tt = _({
835
- chartParamsId: "CP_BOTTOM_PADDING",
836
- allPluginParamsIds: ["PP_BARS_THIN", "PP_GRID_LEGEND_BOTTOM"],
837
- description: "細長條圖"
838
- }), It = _({
839
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
840
- dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
841
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],
842
- description: "橫向圓角長條圖"
843
- }), it = _({
844
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
845
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
846
- description: "基本Grid參數"
847
- }), Tt = _({
848
- chartParamsId: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
849
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
850
- description: "傾斜標籤"
851
- }), Pt = _({
852
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
853
- dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
854
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
855
- description: "橫向圓角長條圖"
856
- }), et = _({
857
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
858
- allPluginParamsIds: ["PP_LINES_CURVE", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
859
- description: "弧線折線圖"
860
- }), at = _({
861
- chartParamsId: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
862
- allPluginParamsIds: ["PP_DOTS_ONLY_SHOW_HIGHLIGHTED", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
863
- description: "折線圖及Highlight Group圓點"
864
- }), rt = I({
865
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
866
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],
867
- description: "基本MultiGrid參數"
868
- }), dt = I({
869
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
870
- allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST", "PP_MULTI_BARS_ROUND", "PP_MULTI_LINES_CURVE"],
871
- description: "MultiGrid圓弧風格"
872
- }), Lt = I({
873
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
874
- dataFormatterId: "DF_MULTI_GRID_2_GRID_SLOT",
875
- 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"],
876
- description: "2組Grid圖表"
877
- }), st = I({
878
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
879
- dataFormatterId: "DF_MULTI_GRID_3_GRID_SLOT",
880
- 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"],
881
- description: "3組Grid圖表"
882
- }), nt = I({
883
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
884
- dataFormatterId: "DF_MULTI_GRID_4_GRID_SLOT",
885
- 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"],
886
- description: "4組Grid圖表"
887
- }), ot = I({
888
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
889
- dataFormatterId: "DF_MULTI_GRID_2_GRID_SLOT",
890
- 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"],
891
- description: "2組折線圖表"
892
- }), Gt = I({
893
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
894
- dataFormatterId: "DF_MULTI_GRID_3_GRID_SLOT",
895
- 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"],
896
- description: "3組折線圖表"
897
- }), St = I({
898
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
899
- dataFormatterId: "DF_MULTI_GRID_4_GRID_SLOT",
900
- 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"],
901
- description: "4組折線圖表"
902
- }), Dt = W_({
903
- chartParamsId: "CP_BOTTOM_SLIGHT_PADDING",
904
- allPluginParamsIds: ["PP_TREE_LEGEND_BOTTOM"],
905
- description: "基本Tree參數"
906
- });
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
+ };
907
1344
  export {
908
- _t as PRESET_BARS_HORIZONTAL_AND_ROUND,
909
- It as PRESET_BARS_HORIZONTAL_AND_THIN,
910
- Q_ as PRESET_BARS_ROUND,
911
- tt as PRESET_BARS_THIN,
912
- X_ as PRESET_BUBBLES_BASIC,
913
- V_ as PRESET_BUBBLES_SCALING_BY_RADIUS,
914
- Z_ as PRESET_GRID_2_SERIES_SLOT,
915
- q_ as PRESET_GRID_3_SERIES_SLOT,
916
- J_ as PRESET_GRID_4_SERIES_SLOT,
917
- k_ as PRESET_GRID_BASIC,
918
- $_ as PRESET_GRID_DIVERGING_SCALE,
919
- Y_ as PRESET_GRID_HORIZONTAL,
920
- w_ as PRESET_GRID_ROTATE_AXIS_LABEL,
921
- it as PRESET_LINES_BASIC,
922
- et as PRESET_LINES_CURVE,
923
- at as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
924
- Pt as PRESET_LINES_HORIZONTAL,
925
- Tt as PRESET_LINES_ROTATE_AXIS_LABEL,
926
- Lt as PRESET_MULTI_GRID_2_GRID_SLOT,
927
- st as PRESET_MULTI_GRID_3_GRID_SLOT,
928
- nt as PRESET_MULTI_GRID_4_GRID_SLOT,
929
- rt as PRESET_MULTI_GRID_BASIC,
930
- dt as PRESET_MULTI_GRID_ROUND_STYLE,
931
- ot as PRESET_MULTI_LINES_2_GRID_SLOT,
932
- Gt as PRESET_MULTI_LINES_3_GRID_SLOT,
933
- St as PRESET_MULTI_LINES_4_GRID_SLOT,
934
- j_ as PRESET_PIE_BASIC,
935
- z_ as PRESET_PIE_DONUT,
936
- K_ as PRESET_PIE_HALF_DONUT,
937
- v_ as PRESET_PIE_WITH_INNER_LABELS,
938
- x_ as PRESET_SERIES_BASIC,
939
- Dt as PRESET_TREE_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
940
1385
  };