@orbcharts/presets-basic 3.0.0-alpha.2 → 3.0.0-alpha.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic.es.js +1027 -141
  3. package/dist/orbcharts-presets-basic.umd.js +1 -1
  4. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +3 -0
  5. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  6. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  7. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  8. package/dist/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.d.ts +3 -0
  9. package/dist/src/chartParamsFiles/CP_LONG_PADDING.d.ts +3 -0
  10. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +3 -0
  11. package/dist/src/chartParamsFiles/index.d.ts +7 -0
  12. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +3 -0
  13. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +3 -0
  14. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +3 -0
  15. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +3 -0
  16. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.d.ts +3 -0
  17. package/dist/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.d.ts +3 -0
  18. package/dist/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.d.ts +3 -0
  19. package/dist/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.d.ts +3 -0
  20. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.d.ts +3 -0
  21. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.d.ts +3 -0
  22. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.d.ts +3 -0
  23. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.d.ts +3 -0
  24. package/dist/src/gridDataFormatterFiles/index.d.ts +6 -1
  25. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +4 -0
  26. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +1 -0
  27. package/dist/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.d.ts +4 -0
  28. package/dist/src/gridPluginParamsFiles/LineAreas/index.d.ts +1 -0
  29. package/dist/src/gridPluginParamsFiles/index.d.ts +1 -0
  30. package/dist/src/index.d.ts +31 -0
  31. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +3 -0
  32. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +3 -0
  33. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +3 -0
  34. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.d.ts +3 -0
  35. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.d.ts +3 -0
  36. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.d.ts +3 -0
  37. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +3 -0
  38. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +3 -0
  39. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +3 -0
  40. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +3 -0
  41. package/dist/src/multiGridDataFormatterFiles/index.d.ts +3 -1
  42. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +4 -0
  43. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +4 -0
  44. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +4 -0
  45. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +3 -0
  46. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +4 -0
  47. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +4 -0
  48. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +4 -0
  49. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +4 -0
  50. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +4 -0
  51. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +4 -0
  52. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +4 -0
  53. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +4 -0
  54. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +3 -0
  55. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.d.ts +4 -0
  56. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.d.ts +4 -0
  57. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.d.ts +4 -0
  58. package/dist/src/multiGridPluginParamsFiles/MultiDots/index.d.ts +3 -0
  59. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +4 -0
  60. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +4 -0
  61. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +4 -0
  62. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +4 -0
  63. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +4 -0
  64. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +4 -0
  65. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +4 -0
  66. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +4 -0
  67. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.d.ts +4 -0
  68. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +4 -0
  69. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +4 -0
  70. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +4 -0
  71. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +4 -0
  72. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.d.ts +4 -0
  73. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/index.d.ts +4 -0
  74. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +4 -0
  75. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +4 -0
  76. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +4 -0
  77. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +4 -0
  78. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +4 -0
  79. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +4 -0
  80. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +4 -0
  81. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +4 -0
  82. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.d.ts +0 -0
  83. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +3 -0
  84. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.d.ts +4 -0
  85. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.d.ts +4 -0
  86. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.d.ts +4 -0
  87. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_PN.d.ts +0 -0
  88. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/index.d.ts +3 -0
  89. package/dist/src/multiGridPluginParamsFiles/index.d.ts +10 -1
  90. package/dist/src/seriesDataFormatterFiles/DF_SERIES_DESC.d.ts +3 -0
  91. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.d.ts +3 -0
  92. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.d.ts +3 -0
  93. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +3 -0
  94. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.d.ts +3 -0
  95. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.d.ts +3 -0
  96. package/dist/src/seriesDataFormatterFiles/index.d.ts +6 -1
  97. package/dist/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
  98. package/dist/src/seriesPluginParamsFiles/Rose/index.d.ts +1 -0
  99. package/dist/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.d.ts +4 -0
  100. package/dist/src/seriesPluginParamsFiles/RoseLabels/index.d.ts +1 -0
  101. package/dist/src/seriesPluginParamsFiles/index.d.ts +2 -0
  102. package/dist/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +4 -0
  103. package/dist/src/treePluginParamsFiles/TreeLegend/index.d.ts +1 -0
  104. package/dist/src/treePluginParamsFiles/index.d.ts +1 -1
  105. package/dist/src/types.d.ts +5 -1
  106. package/package.json +43 -43
  107. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +14 -0
  108. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  109. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +13 -13
  110. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  111. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +13 -13
  112. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +14 -14
  113. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  114. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +14 -0
  115. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +13 -13
  116. package/src/chartParamsFiles/CP_LONG_PADDING.ts +14 -0
  117. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +13 -13
  118. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +14 -0
  119. package/src/chartParamsFiles/index.ts +13 -5
  120. package/src/createPreset.ts +87 -87
  121. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +17 -0
  122. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +17 -0
  123. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +17 -0
  124. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +23 -0
  125. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +18 -0
  126. package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +15 -0
  127. package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +14 -0
  128. package/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.ts +17 -0
  129. package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +20 -0
  130. package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +20 -0
  131. package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +20 -0
  132. package/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.ts +20 -0
  133. package/src/gridDataFormatterFiles/index.ts +12 -1
  134. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +14 -14
  135. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +14 -14
  136. package/src/gridPluginParamsFiles/Bars/index.ts +1 -1
  137. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +12 -14
  138. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +14 -14
  139. package/src/gridPluginParamsFiles/Dots/index.ts +1 -1
  140. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +13 -13
  141. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +14 -14
  142. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +15 -0
  143. package/src/gridPluginParamsFiles/GridLegend/index.ts +2 -1
  144. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +12 -11
  145. package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +12 -0
  146. package/src/gridPluginParamsFiles/LineAreas/index.ts +1 -0
  147. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +12 -12
  148. package/src/gridPluginParamsFiles/index.ts +6 -5
  149. package/src/index.ts +383 -114
  150. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +22 -0
  151. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +25 -0
  152. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +28 -0
  153. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.ts +36 -0
  154. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.ts +36 -0
  155. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.ts +22 -0
  156. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +28 -0
  157. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +34 -0
  158. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +40 -0
  159. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.ts +28 -0
  160. package/src/multiGridDataFormatterFiles/index.ts +9 -1
  161. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +12 -0
  162. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +12 -0
  163. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +12 -0
  164. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +4 -0
  165. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +12 -0
  166. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +12 -0
  167. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +12 -0
  168. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +15 -0
  169. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -0
  170. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +12 -0
  171. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +12 -0
  172. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +12 -0
  173. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +3 -0
  174. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.ts +12 -0
  175. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.ts +12 -0
  176. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.ts +12 -0
  177. package/src/multiGridPluginParamsFiles/MultiDots/index.ts +3 -0
  178. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +14 -0
  179. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +28 -0
  180. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +21 -0
  181. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +22 -0
  182. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +4 -0
  183. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +13 -0
  184. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +13 -0
  185. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +13 -0
  186. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.ts +13 -0
  187. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +4 -0
  188. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.ts +12 -0
  189. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.ts +12 -0
  190. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.ts +12 -0
  191. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.ts +12 -0
  192. package/src/multiGridPluginParamsFiles/MultiLineAreas/index.ts +4 -0
  193. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +12 -0
  194. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +12 -0
  195. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +12 -0
  196. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +13 -0
  197. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +4 -0
  198. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +12 -0
  199. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +12 -0
  200. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +12 -0
  201. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.ts +0 -0
  202. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -0
  203. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.ts +12 -0
  204. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.ts +12 -0
  205. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.ts +12 -0
  206. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_PN.ts +0 -0
  207. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/index.ts +3 -0
  208. package/src/multiGridPluginParamsFiles/index.ts +10 -1
  209. package/src/seriesDataFormatterFiles/DF_SERIES_DESC.ts +10 -0
  210. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.ts +10 -0
  211. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.ts +11 -0
  212. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +11 -0
  213. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.ts +10 -0
  214. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.ts +11 -0
  215. package/src/seriesDataFormatterFiles/index.ts +8 -1
  216. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +11 -11
  217. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +12 -12
  218. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +14 -14
  219. package/src/seriesPluginParamsFiles/Pie/index.ts +1 -1
  220. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +13 -13
  221. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +13 -13
  222. package/src/seriesPluginParamsFiles/PieLabels/index.ts +1 -1
  223. package/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.ts +12 -0
  224. package/src/seriesPluginParamsFiles/Rose/index.ts +2 -0
  225. package/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.ts +12 -0
  226. package/src/seriesPluginParamsFiles/RoseLabels/index.ts +1 -0
  227. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +11 -11
  228. package/src/seriesPluginParamsFiles/index.ts +5 -3
  229. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +14 -0
  230. package/src/treePluginParamsFiles/TreeLegend/index.ts +1 -0
  231. package/src/treePluginParamsFiles/index.ts +1 -1
  232. package/src/types.ts +61 -58
  233. package/tsconfig.dev.json +18 -0
  234. package/tsconfig.json +13 -13
  235. package/tsconfig.prod.json +14 -0
  236. package/vite.config.js +44 -44
  237. package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
  238. package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
@@ -1,12 +1,13 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GroupAxisParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GROUP_AXIS_ROTATE_LABEL: PluginParamsFile<GroupAxisParams> = {
5
- id: 'PP_GROUP_AXIS_ROTATE_LABEL',
6
- chartType: 'grid',
7
- pluginName: 'GroupAxis',
8
- description: '群組圖軸標籤文字傾斜',
9
- data: {
10
- tickTextRotate: 40
11
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { GroupAxisParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_GROUP_AXIS_ROTATE_LABEL: PluginParamsFile<GroupAxisParams> = {
5
+ id: 'PP_GROUP_AXIS_ROTATE_LABEL',
6
+ chartType: 'grid',
7
+ pluginName: 'GroupAxis',
8
+ description: '群組圖軸標籤文字傾斜',
9
+ data: {
10
+ tickPadding: 15,
11
+ tickTextRotate: -30
12
+ }
12
13
  }
@@ -0,0 +1,12 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { LineAreasParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_LINE_AREAS_CURVE: PluginParamsFile<LineAreasParams> = {
5
+ id: 'PP_LINE_AREAS_CURVE',
6
+ chartType: 'grid',
7
+ pluginName: 'LineAreas',
8
+ description: '圓弧折線圖',
9
+ data: {
10
+ lineCurve: 'curveMonotoneX',
11
+ }
12
+ }
@@ -0,0 +1 @@
1
+ export { PP_LINE_AREAS_CURVE } from './PP_LINE_AREAS_CURVE'
@@ -1,13 +1,13 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { LinesParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_LINES_CURVE: PluginParamsFile<LinesParams> = {
5
- id: 'PP_LINES_CURVE',
6
- chartType: 'grid',
7
- pluginName: 'Lines',
8
- description: '圓弧折線圖',
9
- data: {
10
- lineCurve: 'curveMonotoneX',
11
- lineWidth: 3
12
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { LinesParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_LINES_CURVE: PluginParamsFile<LinesParams> = {
5
+ id: 'PP_LINES_CURVE',
6
+ chartType: 'grid',
7
+ pluginName: 'Lines',
8
+ description: '圓弧折線圖',
9
+ data: {
10
+ lineCurve: 'curveMonotoneX',
11
+ lineWidth: 3
12
+ }
13
13
  }
@@ -1,6 +1,7 @@
1
- export * from './Bars'
2
- export * from './Dots'
3
- export * from './GridLegend'
4
- export * from './GroupAxis'
5
- export * from './Lines'
1
+ export * from './Bars'
2
+ export * from './Dots'
3
+ export * from './GridLegend'
4
+ export * from './GroupAxis'
5
+ export * from './Lines'
6
+ export * from './LineAreas'
6
7
  // export * from './ValueAxis'
package/src/index.ts CHANGED
@@ -1,114 +1,383 @@
1
- import {
2
- createSeriesPreset,
3
- createGridPreset,
4
- createMultiGridPreset,
5
- createMultiValuePreset,
6
- createRelationshipPreset,
7
- createTreePreset } from './createPreset'
8
-
9
- // -- series --
10
- // 通用 - PRESET_SERIES_[name]
11
- export const PRESET_SERIES_BASIC = createSeriesPreset({
12
- // chartParamsId: 'CP_RIGHT_PADDING',
13
- allPluginParamsIds: [],
14
- description: '基本Series參數'
15
- })
16
- // Bubbles - PRESET_BUBBLES_[name]
17
- export const PRESET_BUBBLES_SCALING_BY_RADIUS = createSeriesPreset({
18
- // chartParamsId: 'CP_RIGHT_PADDING',
19
- allPluginParamsIds: ['PP_BUBBLES_SCALING_BY_RADIUS', 'PP_SERIES_LEGEND_ROUND'],
20
- description: '以半徑尺寸為比例的泡泡圖'
21
- })
22
- // Pie - PRESET_PIE_[name]
23
- export const PRESET_PIE_WITH_INNER_LABELS = createSeriesPreset({
24
- // chartParamsId: 'CP_RIGHT_PADDING',
25
- allPluginParamsIds: ['PP_PIE_LABELS_INNER', 'PP_SERIES_LEGEND_ROUND'],
26
- description: '圓餅圖及內部資料標籤'
27
- })
28
- export const PRESET_PIE_DONUT = createSeriesPreset({
29
- // chartParamsId: 'CP_RIGHT_PADDING',
30
- allPluginParamsIds: ['PP_PIE_DONUT', 'PP_SERIES_LEGEND_ROUND'],
31
- description: '甜甜圈圖'
32
- })
33
- export const PRESET_PIE_HALF_DONUT = createSeriesPreset({
34
- // chartParamsId: 'CP_RIGHT_PADDING',
35
- allPluginParamsIds: ['PP_PIE_HALF_DONUT', 'PP_PIE_LABELS_HALF_ANGLE', 'PP_SERIES_LEGEND_ROUND'],
36
- description: '半圓甜甜圈圖'
37
- })
38
-
39
- // -- grid --
40
- // 通用 - PRESET_GRID_[name]
41
- export const PRESET_GRID_BASIC = createGridPreset({
42
- chartParamsId: 'CP_BOTTOM_LONG_PADDING',
43
- allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM'],
44
- description: '基本Grid參數'
45
- })
46
- export const PRESET_GRID_ROTATE_AXIS_LABEL = createGridPreset({
47
- chartParamsId: 'CP_BOTTOM_PADDING',
48
- allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
49
- description: '傾斜標籤'
50
- })
51
- export const PRESET_GRID_HORIZONTAL = createGridPreset({
52
- chartParamsId: 'CP_BOTTOM_PADDING',
53
- dataFormatterId: 'DF_BOTTOM_VALUE_AXIS',
54
- allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM'],
55
- description: '橫向圓角長條圖'
56
- })
57
- // Bars - PRESET_BARS_[name]
58
- export const PRESET_BARS_ROUND = createGridPreset({
59
- chartParamsId: 'CP_BOTTOM_PADDING',
60
- allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM'],
61
- description: '圓角長條圖'
62
- })
63
- export const PRESET_BARS_HORIZONTAL_AND_ROUND = createGridPreset({
64
- chartParamsId: 'CP_BOTTOM_PADDING',
65
- dataFormatterId: 'DF_BOTTOM_VALUE_AXIS',
66
- allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM'],
67
- description: '橫向圓角長條圖'
68
- })
69
- export const PRESET_BARS_THIN = createGridPreset({
70
- chartParamsId: 'CP_BOTTOM_PADDING',
71
- allPluginParamsIds: ['PP_BARS_THIN', 'PP_GRID_LEGEND_BOTTOM'],
72
- description: '細長條圖'
73
- })
74
- export const PRESET_BARS_HORIZONTAL_AND_THIN = createGridPreset({
75
- chartParamsId: 'CP_BOTTOM_PADDING',
76
- dataFormatterId: 'DF_BOTTOM_VALUE_AXIS',
77
- allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM'],
78
- description: '橫向圓角長條圖'
79
- })
80
- // export const PRESET_BARS_HORIZONTAL_AND_THIN = createGridPreset({
81
- // chartParamsId: 'CP_BOTTOM_PADDING',
82
- // dataFormatterId: 'DF_BOTTOM_VALUE_AXIS',
83
- // allPluginParamsIds: ['PP_BARS_THIN', 'PP_GRID_LEGEND_BOTTOM'],
84
- // description: '橫向細長條圖'
85
- // })
86
- // Lines - PRESET_LINES_[name]
87
- // export const PRESET_LINES_WITH_SOLID_DOTS = createGridPreset({
88
- // chartParamsId: 'CP_BOTTOM_PADDING',
89
- // allPluginParamsIds: ['PP_DOTS_SOLID', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
90
- // description: '折線圖及實心圓點'
91
- // })
92
- export const PRESET_LINES_CURVE = createGridPreset({
93
- chartParamsId: 'CP_BOTTOM_PADDING',
94
- allPluginParamsIds: ['PP_LINES_CURVE', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
95
- description: '弧線折線圖'
96
- })
97
- // export const PRESET_LINES_CURVES_WITH_SOLID_DOTS = createGridPreset({
98
- // chartParamsId: 'CP_BOTTOM_PADDING',
99
- // allPluginParamsIds: ['PP_LINES_CURVE', 'PP_DOTS_SOLID', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
100
- // description: '弧線折線圖及實心圓點'
101
- // })
102
- export const PRESET_LINES_HIGHLIGHT_GROUP_DOTS = createGridPreset({
103
- chartParamsId: 'CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT',
104
- allPluginParamsIds: ['PP_DOTS_ONLY_SHOW_HIGHLIGHTED', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
105
- description: '折線圖及Highlight Group圓點'
106
- })
107
- // -- multi-grid --
108
-
109
- // -- multi-value --
110
-
111
- // -- relationship --
112
-
113
- // -- tree --
114
-
1
+ import {
2
+ createSeriesPreset,
3
+ createGridPreset,
4
+ createMultiGridPreset,
5
+ createMultiValuePreset,
6
+ createRelationshipPreset,
7
+ createTreePreset } from './createPreset'
8
+
9
+ // -- series --
10
+ // 通用 - PRESET_SERIES_[name]
11
+ export const PRESET_SERIES_BASIC = createSeriesPreset({
12
+ // chartParamsId: 'CP_RIGHT_PADDING',
13
+ allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
14
+ description: '基本Series參數'
15
+ })
16
+ export const PRESET_SERIES_DESC = createSeriesPreset({
17
+ // chartParamsId: 'CP_RIGHT_PADDING',
18
+ dataFormatterId: 'DF_SERIES_DESC',
19
+ allPluginParamsIds: [],
20
+ description: '資料由大到小排序'
21
+ })
22
+ export const PRESET_SERIES_SEPARATE_SERIES = createSeriesPreset({
23
+ // chartParamsId: 'CP_RIGHT_PADDING',
24
+ dataFormatterId: 'DF_SERIES_SEPARATE_SERIES',
25
+ allPluginParamsIds: [],
26
+ description: '分開顯示Series'
27
+ })
28
+ // export const PRESET_SERIES_SEPARATE_SERIES_AND_DESC = createSeriesPreset({
29
+ // // chartParamsId: 'CP_RIGHT_PADDING',
30
+ // dataFormatterId: 'DF_SERIES_SEPARATE_SERIES_AND_DESC',
31
+ // allPluginParamsIds: [],
32
+ // description: '分開顯示Series並排序'
33
+ // })
34
+ export const PRESET_SERIES_SUM_SERIES = createSeriesPreset({
35
+ // chartParamsId: 'CP_RIGHT_PADDING',
36
+ dataFormatterId: 'DF_SERIES_SUM_SERIES',
37
+ allPluginParamsIds: [],
38
+ description: '合併Series資料'
39
+ })
40
+ export const PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES = createSeriesPreset({
41
+ // chartParamsId: 'CP_RIGHT_PADDING',
42
+ dataFormatterId: 'DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES',
43
+ allPluginParamsIds: [],
44
+ description: '分開顯示Series並合併Series資料'
45
+ })
46
+ // export const PRESET_SERIES_SUM_SERIES_AND_DESC = createSeriesPreset({
47
+ // // chartParamsId: 'CP_RIGHT_PADDING',
48
+ // dataFormatterId: 'DF_SERIES_SUM_SERIES_AND_DESC',
49
+ // allPluginParamsIds: [],
50
+ // description: '合併Series資料並排序'
51
+ // })
52
+ // Bubbles - PRESET_BUBBLES_[name]
53
+ // export const PRESET_BUBBLES_BASIC = createSeriesPreset({
54
+ // // chartParamsId: 'CP_RIGHT_PADDING',
55
+ // allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
56
+ // description: '基本泡泡圖'
57
+ // })
58
+ export const PRESET_BUBBLES_SCALING_BY_RADIUS = createSeriesPreset({
59
+ // chartParamsId: 'CP_RIGHT_PADDING',
60
+ allPluginParamsIds: ['PP_BUBBLES_SCALING_BY_RADIUS', 'PP_SERIES_LEGEND_ROUND'],
61
+ description: '以半徑尺寸為比例的泡泡圖'
62
+ })
63
+ export const PRESET_BUBBLES_SEPARATE_SERIES = createSeriesPreset({
64
+ chartParamsId: 'CP_LONG_PADDING',
65
+ dataFormatterId: 'DF_SERIES_SEPARATE_SERIES',
66
+ allPluginParamsIds: [],
67
+ description: '分開顯示Series泡泡'
68
+ })
69
+ // Pie - PRESET_PIE_[name]
70
+ // export const PRESET_PIE_BASIC = createSeriesPreset({
71
+ // // chartParamsId: 'CP_RIGHT_PADDING',
72
+ // allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
73
+ // description: '基本圓餅圖'
74
+ // })
75
+ export const PRESET_PIE_WITH_INNER_LABELS = createSeriesPreset({
76
+ // chartParamsId: 'CP_RIGHT_PADDING',
77
+ allPluginParamsIds: ['PP_PIE_LABELS_INNER', 'PP_SERIES_LEGEND_ROUND'],
78
+ description: '圓餅圖及內部資料標籤'
79
+ })
80
+ export const PRESET_PIE_DONUT = createSeriesPreset({
81
+ // chartParamsId: 'CP_RIGHT_PADDING',
82
+ allPluginParamsIds: ['PP_PIE_DONUT', 'PP_SERIES_LEGEND_ROUND'],
83
+ description: '甜甜圈圖'
84
+ })
85
+ export const PRESET_PIE_HALF_DONUT = createSeriesPreset({
86
+ chartParamsId: 'CP_TOP_AND_NO_BOTTOM_PADDING',
87
+ allPluginParamsIds: ['PP_PIE_HALF_DONUT', 'PP_PIE_LABELS_HALF_ANGLE', 'PP_SERIES_LEGEND_ROUND'],
88
+ description: '半圓甜甜圈圖'
89
+ })
90
+ // Rose - PRESET_ROSE_[name]
91
+ export const PRESET_ROSE_SCALING_BY_RADIUS = createSeriesPreset({
92
+ chartParamsId: 'CP_RIGHT_PADDING',
93
+ allPluginParamsIds: ['PP_ROSE_SCALING_BY_RADIUS', 'PP_ROSE_LABELS_SCALING_BY_RADIUS', 'PP_SERIES_LEGEND_ROUND'],
94
+ description: '以半徑尺寸為比例的玫瑰圖'
95
+ })
96
+
97
+ // -- grid --
98
+ // 通用 - PRESET_GRID_[name]
99
+ export const PRESET_GRID_BASIC = createGridPreset({
100
+ chartParamsId: 'CP_BOTTOM_PADDING',
101
+ allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM'],
102
+ description: '基本Grid參數'
103
+ })
104
+ export const PRESET_GRID_ROTATE_AXIS_LABEL = createGridPreset({
105
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
106
+ allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
107
+ description: '傾斜標籤'
108
+ })
109
+ export const PRESET_GRID_HORIZONTAL = createGridPreset({
110
+ chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING',
111
+ dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
112
+ allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM'],
113
+ description: '橫向圖'
114
+ })
115
+ // @Q@ legacy 待刪
116
+ export const PRESET_GRID_DIVERGING_SCALE = createGridPreset({
117
+ chartParamsId: 'CP_BOTTOM_PADDING',
118
+ dataFormatterId: 'DF_GRID_DIVERGING_SCALE',
119
+ allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM'],
120
+ description: '正負值分向圖'
121
+ })
122
+ // export const PRESET_GRID_2_SERIES_SLOT = createGridPreset({
123
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
124
+ // dataFormatterId: 'DF_GRID_SEPARATE_SERIES',
125
+ // allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
126
+ // description: '2組Series圖表'
127
+ // })
128
+ // export const PRESET_GRID_3_SERIES_SLOT = createGridPreset({
129
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
130
+ // dataFormatterId: 'DF_GRID_SEPARATE_SERIES',
131
+ // allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM', 'PP_GROUP_AXIS_ROTATE_LABEL'],
132
+ // description: '3組Series圖表'
133
+ // })
134
+ // export const PRESET_GRID_4_SERIES_SLOT = createGridPreset({
135
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
136
+ // dataFormatterId: 'DF_GRID_SEPARATE_SERIES',
137
+ // allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
138
+ // description: '4組Series圖表'
139
+ // })
140
+ export const PRESET_GRID_SEPARATE_SERIES = createGridPreset({
141
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
142
+ dataFormatterId: 'DF_GRID_SEPARATE_SERIES',
143
+ allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
144
+ description: '分開顯示Series'
145
+ })
146
+ // Bars - PRESET_BARS_[name]
147
+ export const PRESET_BARS_ROUND = createGridPreset({
148
+ chartParamsId: 'CP_BOTTOM_PADDING',
149
+ allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'],
150
+ description: '圓角長條圖'
151
+ })
152
+ export const PRESET_BARS_HORIZONTAL_AND_ROUND = createGridPreset({
153
+ chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING',
154
+ dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
155
+ allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'],
156
+ description: '橫向圓角長條圖'
157
+ })
158
+ export const PRESET_BARS_THIN = createGridPreset({
159
+ chartParamsId: 'CP_BOTTOM_PADDING',
160
+ allPluginParamsIds: ['PP_BARS_THIN', 'PP_GRID_LEGEND_BOTTOM'],
161
+ description: '細長條圖'
162
+ })
163
+ export const PRESET_BARS_HORIZONTAL_AND_THIN = createGridPreset({
164
+ chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING',
165
+ dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
166
+ allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'],
167
+ description: '橫向圓角長條圖'
168
+ })
169
+ // Lines - PRESET_LINES_[name]
170
+ export const PRESET_LINES_BASIC = createGridPreset({
171
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
172
+ allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
173
+ description: '基本Grid參數'
174
+ })
175
+ export const PRESET_LINES_ROTATE_AXIS_LABEL = createGridPreset({
176
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT',
177
+ allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
178
+ description: '傾斜標籤'
179
+ })
180
+ export const PRESET_LINES_HORIZONTAL = createGridPreset({
181
+ chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT',
182
+ dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
183
+ allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
184
+ description: '橫向折線圖'
185
+ })
186
+ export const PRESET_LINES_WITH_SOLID_DOTS = createGridPreset({
187
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
188
+ allPluginParamsIds: ['PP_DOTS_SOLID', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
189
+ description: '折線圖及實心圓點'
190
+ })
191
+ export const PRESET_LINES_CURVE = createGridPreset({
192
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
193
+ allPluginParamsIds: ['PP_LINES_CURVE', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
194
+ description: '弧線折線圖'
195
+ })
196
+ // export const PRESET_LINES_CURVES_WITH_SOLID_DOTS = createGridPreset({
197
+ // chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
198
+ // allPluginParamsIds: ['PP_LINES_CURVE', 'PP_DOTS_SOLID', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
199
+ // description: '弧線折線圖及實心圓點'
200
+ // })
201
+ export const PRESET_LINES_HIGHLIGHT_GROUP_DOTS = createGridPreset({
202
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT',
203
+ allPluginParamsIds: ['PP_DOTS_ONLY_SHOW_HIGHLIGHTED', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
204
+ description: '折線圖及Highlight Group圓點'
205
+ })
206
+ // LineAreas - PRESET_LINE_AREAS_[name]
207
+ export const PRESET_LINE_AREAS_BASIC = createGridPreset({
208
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
209
+ dataFormatterId: 'DF_GRID_NONE_GROUP_SCALE_PADDING',
210
+ allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
211
+ description: '基本Grid參數'
212
+ })
213
+ export const PRESET_LINE_AREAS_ROTATE_AXIS_LABEL = createGridPreset({
214
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT',
215
+ dataFormatterId: 'DF_GRID_NONE_GROUP_SCALE_PADDING',
216
+ allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
217
+ description: '傾斜標籤'
218
+ })
219
+ export const PRESET_LINE_AREAS_HORIZONTAL = createGridPreset({
220
+ chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT',
221
+ dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING',
222
+ allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
223
+ description: '橫向折線圖'
224
+ })
225
+ export const PRESET_LINE_AREAS_CURVE = createGridPreset({
226
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
227
+ dataFormatterId: 'DF_GRID_NONE_GROUP_SCALE_PADDING',
228
+ allPluginParamsIds: ['PP_LINES_CURVE', 'PP_LINE_AREAS_CURVE', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
229
+ description: '弧線折線圖'
230
+ })
231
+ export const PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS = createGridPreset({
232
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT',
233
+ dataFormatterId: 'DF_GRID_NONE_GROUP_SCALE_PADDING',
234
+ allPluginParamsIds: ['PP_DOTS_ONLY_SHOW_HIGHLIGHTED', 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
235
+ description: '折線圖及Highlight Group圓點'
236
+ })
237
+ // export const PRESET_LINE_AREAS_2_SERIES_SLOT = createGridPreset({
238
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
239
+ // dataFormatterId: 'DF_LINE_AREAS_SEPARATE_SERIES',
240
+ // allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
241
+ // description: '2組Series圖表'
242
+ // })
243
+ // export const PRESET_LINE_AREAS_3_SERIES_SLOT = createGridPreset({
244
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
245
+ // dataFormatterId: 'DF_LINE_AREAS_SEPARATE_SERIES',
246
+ // allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM', 'PP_GROUP_AXIS_ROTATE_LABEL'],
247
+ // description: '3組Series圖表'
248
+ // })
249
+ // export const PRESET_LINE_AREAS_4_SERIES_SLOT = createGridPreset({
250
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
251
+ // dataFormatterId: 'DF_LINE_AREAS_SEPARATE_SERIES',
252
+ // allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
253
+ // description: '4組Series圖表'
254
+ // })
255
+ export const PRESET_LINE_AREAS_SEPARATE_GRID = createGridPreset({
256
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
257
+ dataFormatterId: 'DF_LINE_AREAS_SEPARATE_SERIES',
258
+ allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
259
+ description: 'LineAreas 分開顯示Series'
260
+ })
261
+
262
+ // -- multi-grid --
263
+ // 通用 - PRESET_MULTI_GRID_[name]
264
+ export const PRESET_MULTI_GRID_BASIC = createMultiGridPreset({
265
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
266
+ allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST'],
267
+ description: '基本MultiGrid參數'
268
+ })
269
+ export const PRESET_MULTI_GRID_ROUND_STYLE = createMultiGridPreset({
270
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
271
+ allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST', 'PP_MULTI_BARS_ROUND', 'PP_MULTI_LINES_CURVE'],
272
+ description: 'MultiGrid圓弧風格'
273
+ })
274
+ export const PRESET_MULTI_GRID_2_GRID_SLOT = createMultiGridPreset({
275
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
276
+ dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
277
+ allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM', 'PP_MULTI_GROUP_AXIS_2_GRID_SLOT', 'PP_MULTI_VALUE_AXIS_2_GRID_SLOT', 'PP_MULTI_VALUE_STACK_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', 'PP_MULTI_LINE_AREAS_2_GRID_SLOT', 'PP_MULTI_DOTS_2_GRID_SLOT'],
278
+ description: '2組Grid圖表'
279
+ })
280
+ export const PRESET_MULTI_GRID_3_GRID_SLOT = createMultiGridPreset({
281
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
282
+ dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
283
+ allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM', 'PP_MULTI_GROUP_AXIS_3_GRID_SLOT', 'PP_MULTI_VALUE_AXIS_3_GRID_SLOT', 'PP_MULTI_VALUE_STACK_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', 'PP_MULTI_LINE_AREAS_3_GRID_SLOT', 'PP_MULTI_DOTS_3_GRID_SLOT'],
284
+ description: '3組Grid圖表'
285
+ })
286
+ export const PRESET_MULTI_GRID_4_GRID_SLOT = createMultiGridPreset({
287
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
288
+ dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
289
+ allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM', 'PP_MULTI_GROUP_AXIS_4_GRID_SLOT', 'PP_MULTI_VALUE_AXIS_4_GRID_SLOT', 'PP_MULTI_VALUE_STACK_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', 'PP_MULTI_LINE_AREAS_4_GRID_SLOT', 'PP_MULTI_DOTS_4_GRID_SLOT'],
290
+ description: '4組Grid圖表'
291
+ })
292
+ // export const PRESET_MULTI_GRID_SEPARATE_GRID = createMultiGridPreset({
293
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
294
+ // dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
295
+ // 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', 'PP_MULTI_LINE_AREAS_2_GRID_SLOT', 'PP_MULTI_DOTS_2_GRID_SLOT'],
296
+ // description: '分開顯示Grid'
297
+ // })
298
+ // // MultiBars, MultiLines - PRESET_MULTI_BARS_MULTI_LINES_[name]
299
+ // export const PRESET_MULTI_BARS_MULTI_LINES_BASIC = createMultiGridPreset({
300
+ // chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
301
+ // allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST'],
302
+ // description: '基本MultiGrid參數'
303
+ // })
304
+ // MultiBars - PRESET_MULTI_BARS_[name]
305
+ // export const PRESET_MULTI_BARS_PN = createMultiGridPreset({
306
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
307
+ // dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
308
+ // 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', 'PP_MULTI_LINE_AREAS_2_GRID_SLOT', 'PP_MULTI_DOTS_2_GRID_SLOT'],
309
+ // description: '正負值折線圖'
310
+ // })
311
+ export const PRESET_MULTI_BARS_DIVERGING = createMultiGridPreset({
312
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
313
+ dataFormatterId: 'DF_MULTI_GRID_DIVERGING',
314
+ allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM', 'PP_MULTI_GROUP_AXIS_DIVERGING', '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', 'PP_MULTI_LINE_AREAS_2_GRID_SLOT', 'PP_MULTI_DOTS_2_GRID_SLOT'],
315
+ description: '正負值折線圖'
316
+ })
317
+ // MultiLines - PRESET_MULTI_LINES_[name]
318
+ // export const PRESET_MULTI_LINES_BASIC = createMultiGridPreset({
319
+ // chartParamsId: 'CP_BOTTOM_PADDING',
320
+ // allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
321
+ // description: '基本MultiGrid參數'
322
+ // })
323
+ export const PRESET_MULTI_LINES_2_GRID_SLOT = createMultiGridPreset({
324
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
325
+ dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
326
+ 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', 'PP_MULTI_LINE_AREAS_2_GRID_SLOT', 'PP_MULTI_DOTS_2_GRID_SLOT'],
327
+ description: '2組折線圖表'
328
+ })
329
+ export const PRESET_MULTI_LINES_3_GRID_SLOT = createMultiGridPreset({
330
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
331
+ dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
332
+ 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', 'PP_MULTI_LINE_AREAS_3_GRID_SLOT', 'PP_MULTI_DOTS_3_GRID_SLOT'],
333
+ description: '3組折線圖表'
334
+ })
335
+ export const PRESET_MULTI_LINES_4_GRID_SLOT = createMultiGridPreset({
336
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
337
+ dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
338
+ 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', 'PP_MULTI_LINE_AREAS_4_GRID_SLOT', 'PP_MULTI_DOTS_4_GRID_SLOT'],
339
+ description: '4組折線圖表'
340
+ })
341
+ // export const PRESET_MULTI_LINES_SEPARATE_GRID = createMultiGridPreset({
342
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
343
+ // dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
344
+ // 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', 'PP_MULTI_LINE_AREAS_4_GRID_SLOT', 'PP_MULTI_DOTS_4_GRID_SLOT'],
345
+ // description: '折線圖表分開顯示Grid'
346
+ // })
347
+ // MultiLineAreas - PRESET_MULTI_LINE_AREAS_[name]
348
+ export const PRESET_MULTI_LINE_AREAS_2_GRID_SLOT = createMultiGridPreset({
349
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
350
+ dataFormatterId: 'DF_MULTI_LINE_AREAS_SEPARATE_GRID',
351
+ 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', 'PP_MULTI_LINE_AREAS_2_GRID_SLOT', 'PP_MULTI_DOTS_2_GRID_SLOT'],
352
+ description: '2組折線圖表'
353
+ })
354
+ export const PRESET_MULTI_LINE_AREAS_3_GRID_SLOT = createMultiGridPreset({
355
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
356
+ dataFormatterId: 'DF_MULTI_LINE_AREAS_SEPARATE_GRID',
357
+ 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', 'PP_MULTI_LINE_AREAS_3_GRID_SLOT', 'PP_MULTI_DOTS_3_GRID_SLOT'],
358
+ description: '3組折線圖表'
359
+ })
360
+ export const PRESET_MULTI_LINE_AREAS_4_GRID_SLOT = createMultiGridPreset({
361
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
362
+ dataFormatterId: 'DF_MULTI_LINE_AREAS_SEPARATE_GRID',
363
+ 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', 'PP_MULTI_LINE_AREAS_4_GRID_SLOT', 'PP_MULTI_DOTS_4_GRID_SLOT'],
364
+ description: '4組折線圖表'
365
+ })
366
+ // export const PRESET_MULTI_LINE_AREAS_SEPARATE_GRID = createMultiGridPreset({
367
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
368
+ // dataFormatterId: 'DF_MULTI_LINE_AREAS_SEPARATE_GRID',
369
+ // 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', 'PP_MULTI_LINE_AREAS_4_GRID_SLOT', 'PP_MULTI_DOTS_4_GRID_SLOT'],
370
+ // description: '折線區域圖表分開顯示Grid'
371
+ // })
372
+
373
+ // -- multi-value --
374
+
375
+ // -- relationship --
376
+
377
+ // -- tree --
378
+ // 通用 - PRESET_TREE_[name]
379
+ export const PRESET_TREE_BASIC = createTreePreset({
380
+ chartParamsId: 'CP_BOTTOM_SLIGHT_PADDING',
381
+ allPluginParamsIds: ['PP_TREE_LEGEND_BOTTOM'],
382
+ description: '基本Tree參數'
383
+ })
@@ -0,0 +1,22 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_GRID_2_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_GRID_2_GRID_SLOT',
5
+ chartType: 'multiGrid',
6
+ description: '2個Grid Slot',
7
+ data: {
8
+ // gridList: [
9
+ // {
10
+ // // slotIndex: 0
11
+ // },
12
+ // {
13
+ // slotIndex: 1
14
+ // }
15
+ // ],
16
+ separateGrid: true,
17
+ container: {
18
+ rowAmount: 1,
19
+ columnAmount: 2,
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,25 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_GRID_3_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_GRID_3_GRID_SLOT',
5
+ chartType: 'multiGrid',
6
+ description: '3個Grid Slot',
7
+ data: {
8
+ // gridList: [
9
+ // {
10
+ // slotIndex: 0
11
+ // },
12
+ // {
13
+ // slotIndex: 1
14
+ // },
15
+ // {
16
+ // slotIndex: 2
17
+ // }
18
+ // ],
19
+ separateGrid: true,
20
+ container: {
21
+ rowAmount: 1,
22
+ columnAmount: 3,
23
+ }
24
+ }
25
+ }