@orbcharts/presets-basic 3.0.0-alpha.15 → 3.0.0-alpha.17

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