@orbcharts/presets-basic 3.0.0-alpha.22 → 3.0.0-alpha.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (372) hide show
  1. package/dist/orbcharts-presets-basic.es.js +1243 -1121
  2. package/dist/orbcharts-presets-basic.umd.js +1 -1
  3. package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.d.ts +4 -0
  4. package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.d.ts +4 -0
  5. package/dist/src/grid/PRESET_BARS_ROUND.d.ts +4 -0
  6. package/dist/src/grid/PRESET_BARS_THIN.d.ts +4 -0
  7. package/dist/src/grid/PRESET_GRID_BASIC.d.ts +4 -0
  8. package/dist/src/grid/PRESET_GRID_HORIZONTAL.d.ts +4 -0
  9. package/dist/src/grid/PRESET_GRID_PN_SCALE.d.ts +4 -0
  10. package/dist/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.d.ts +4 -0
  11. package/dist/src/grid/PRESET_GRID_SEPARATE_SERIES.d.ts +4 -0
  12. package/dist/src/grid/PRESET_LINES_BASIC.d.ts +4 -0
  13. package/dist/src/grid/PRESET_LINES_CURVE.d.ts +4 -0
  14. package/dist/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
  15. package/dist/src/grid/PRESET_LINES_HORIZONTAL.d.ts +4 -0
  16. package/dist/src/grid/PRESET_LINES_LOOSE_TICKS.d.ts +4 -0
  17. package/dist/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.d.ts +4 -0
  18. package/dist/src/grid/PRESET_LINES_WITH_SOLID_DOTS.d.ts +4 -0
  19. package/dist/src/grid/PRESET_LINE_AREAS_BASIC.d.ts +4 -0
  20. package/dist/src/grid/PRESET_LINE_AREAS_CURVE.d.ts +4 -0
  21. package/dist/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
  22. package/dist/src/grid/PRESET_LINE_AREAS_HORIZONTAL.d.ts +4 -0
  23. package/dist/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.d.ts +4 -0
  24. package/dist/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.d.ts +4 -0
  25. package/dist/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.d.ts +4 -0
  26. package/dist/src/grid/index.d.ts +23 -0
  27. package/dist/src/index.d.ts +4 -47
  28. package/dist/src/multiGrid/PRESET_MULTI_GRID_BASIC.d.ts +4 -0
  29. package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.d.ts +4 -0
  30. package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +6 -0
  31. package/dist/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.d.ts +4 -0
  32. package/dist/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.d.ts +4 -0
  33. package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +4 -0
  34. package/dist/src/multiGrid/index.d.ts +6 -0
  35. package/dist/src/params.d.ts +7 -0
  36. package/dist/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
  37. package/dist/src/series/PRESET_BUBBLES_SEPARATE_SERIES.d.ts +4 -0
  38. package/dist/src/series/PRESET_PIE_DONUT.d.ts +4 -0
  39. package/dist/src/series/PRESET_PIE_HALF_DONUT.d.ts +4 -0
  40. package/dist/src/series/PRESET_PIE_WITH_INNER_LABELS.d.ts +4 -0
  41. package/dist/src/series/PRESET_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
  42. package/dist/src/series/PRESET_SERIES_BASIC.d.ts +4 -0
  43. package/dist/src/series/PRESET_SERIES_DESC.d.ts +4 -0
  44. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES.d.ts +4 -0
  45. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
  46. package/dist/src/series/PRESET_SERIES_SUM_SERIES.d.ts +4 -0
  47. package/dist/src/series/index.d.ts +11 -0
  48. package/dist/src/tree/PRESET_TREE_BASIC.d.ts +4 -0
  49. package/dist/src/tree/index.d.ts +1 -0
  50. package/dist/src/types.d.ts +112 -37
  51. package/package.json +3 -3
  52. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +62 -0
  53. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +59 -0
  54. package/src/grid/PRESET_BARS_ROUND.ts +46 -0
  55. package/src/grid/PRESET_BARS_THIN.ts +43 -0
  56. package/src/grid/PRESET_GRID_BASIC.ts +25 -0
  57. package/src/grid/PRESET_GRID_HORIZONTAL.ts +42 -0
  58. package/src/grid/PRESET_GRID_PN_SCALE.ts +33 -0
  59. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +30 -0
  60. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +35 -0
  61. package/src/grid/PRESET_LINES_BASIC.ts +44 -0
  62. package/src/grid/PRESET_LINES_CURVE.ts +47 -0
  63. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +46 -0
  64. package/src/grid/PRESET_LINES_HORIZONTAL.ts +60 -0
  65. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +46 -0
  66. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +47 -0
  67. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +48 -0
  68. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +54 -0
  69. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +59 -0
  70. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +58 -0
  71. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +58 -0
  72. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +56 -0
  73. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +57 -0
  74. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +59 -0
  75. package/src/grid/index.ts +23 -0
  76. package/src/index.ts +4 -404
  77. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +36 -0
  78. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +85 -0
  79. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +57 -0
  80. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +59 -0
  81. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +103 -0
  82. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +121 -0
  83. package/src/multiGrid/index.ts +6 -0
  84. package/src/params.ts +57 -0
  85. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +19 -0
  86. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -0
  87. package/src/series/PRESET_PIE_DONUT.ts +23 -0
  88. package/src/series/PRESET_PIE_HALF_DONUT.ts +36 -0
  89. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +24 -0
  90. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +23 -0
  91. package/src/series/PRESET_SERIES_BASIC.ts +15 -0
  92. package/src/series/PRESET_SERIES_DESC.ts +15 -0
  93. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +15 -0
  94. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +16 -0
  95. package/src/series/PRESET_SERIES_SUM_SERIES.ts +15 -0
  96. package/src/series/index.ts +11 -0
  97. package/src/tree/PRESET_TREE_BASIC.ts +25 -0
  98. package/src/tree/index.ts +1 -0
  99. package/src/types.ts +237 -56
  100. package/tsconfig.json +1 -1
  101. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +0 -3
  102. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  103. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +0 -3
  104. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  105. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +0 -3
  106. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +0 -3
  107. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  108. package/dist/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.d.ts +0 -3
  109. package/dist/src/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -3
  110. package/dist/src/chartParamsFiles/CP_LONG_PADDING.d.ts +0 -3
  111. package/dist/src/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -3
  112. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -3
  113. package/dist/src/chartParamsFiles/index.d.ts +0 -12
  114. package/dist/src/createPreset.d.ts +0 -9
  115. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +0 -3
  116. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +0 -3
  117. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +0 -3
  118. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +0 -3
  119. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.d.ts +0 -3
  120. package/dist/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.d.ts +0 -3
  121. package/dist/src/gridDataFormatterFiles/DF_GRID_PN_SCALE.d.ts +0 -3
  122. package/dist/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.d.ts +0 -3
  123. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.d.ts +0 -3
  124. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.d.ts +0 -3
  125. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.d.ts +0 -3
  126. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.d.ts +0 -3
  127. package/dist/src/gridDataFormatterFiles/index.d.ts +0 -6
  128. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -4
  129. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -4
  130. package/dist/src/gridPluginParamsFiles/Bars/index.d.ts +0 -2
  131. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -4
  132. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -4
  133. package/dist/src/gridPluginParamsFiles/Dots/index.d.ts +0 -2
  134. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -4
  135. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  136. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +0 -4
  137. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +0 -3
  138. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_LOOSE_TICKS.d.ts +0 -4
  139. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -4
  140. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_TENSE_TICKS.d.ts +0 -4
  141. package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -3
  142. package/dist/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.d.ts +0 -4
  143. package/dist/src/gridPluginParamsFiles/LineAreas/index.d.ts +0 -1
  144. package/dist/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -4
  145. package/dist/src/gridPluginParamsFiles/Lines/index.d.ts +0 -1
  146. package/dist/src/gridPluginParamsFiles/index.d.ts +0 -6
  147. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +0 -3
  148. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +0 -3
  149. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +0 -3
  150. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.d.ts +0 -3
  151. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.d.ts +0 -3
  152. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.d.ts +0 -3
  153. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +0 -3
  154. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +0 -3
  155. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +0 -3
  156. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +0 -3
  157. package/dist/src/multiGridDataFormatterFiles/index.d.ts +0 -3
  158. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +0 -4
  159. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +0 -4
  160. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +0 -4
  161. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +0 -3
  162. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +0 -4
  163. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +0 -4
  164. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +0 -4
  165. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +0 -4
  166. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +0 -4
  167. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +0 -4
  168. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +0 -4
  169. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +0 -4
  170. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +0 -3
  171. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.d.ts +0 -4
  172. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.d.ts +0 -4
  173. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.d.ts +0 -4
  174. package/dist/src/multiGridPluginParamsFiles/MultiDots/index.d.ts +0 -3
  175. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +0 -4
  176. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  177. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +0 -4
  178. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +0 -4
  179. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +0 -4
  180. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +0 -4
  181. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +0 -4
  182. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +0 -4
  183. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.d.ts +0 -4
  184. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +0 -4
  185. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +0 -4
  186. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +0 -4
  187. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +0 -4
  188. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.d.ts +0 -4
  189. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/index.d.ts +0 -4
  190. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +0 -4
  191. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +0 -4
  192. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +0 -4
  193. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +0 -4
  194. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +0 -4
  195. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +0 -4
  196. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +0 -4
  197. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +0 -4
  198. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.d.ts +0 -0
  199. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +0 -3
  200. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.d.ts +0 -4
  201. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.d.ts +0 -4
  202. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.d.ts +0 -4
  203. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_PN.d.ts +0 -0
  204. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/index.d.ts +0 -3
  205. package/dist/src/multiGridPluginParamsFiles/index.d.ts +0 -10
  206. package/dist/src/multiValueDataFormatterFiles/index.d.ts +0 -1
  207. package/dist/src/multiValuePluginParamsFiles/index.d.ts +0 -1
  208. package/dist/src/relationshipDataFormatterFiles/index.d.ts +0 -1
  209. package/dist/src/relationshipPluginParamsFiles/index.d.ts +0 -1
  210. package/dist/src/seriesDataFormatterFiles/DF_SERIES_DESC.d.ts +0 -3
  211. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.d.ts +0 -3
  212. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.d.ts +0 -3
  213. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +0 -3
  214. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.d.ts +0 -3
  215. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.d.ts +0 -3
  216. package/dist/src/seriesDataFormatterFiles/index.d.ts +0 -6
  217. package/dist/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -4
  218. package/dist/src/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -1
  219. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
  220. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -4
  221. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -4
  222. package/dist/src/seriesPluginParamsFiles/Pie/index.d.ts +0 -2
  223. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -4
  224. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -4
  225. package/dist/src/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -2
  226. package/dist/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.d.ts +0 -4
  227. package/dist/src/seriesPluginParamsFiles/Rose/index.d.ts +0 -1
  228. package/dist/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.d.ts +0 -4
  229. package/dist/src/seriesPluginParamsFiles/RoseLabels/index.d.ts +0 -1
  230. package/dist/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -4
  231. package/dist/src/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -1
  232. package/dist/src/seriesPluginParamsFiles/index.d.ts +0 -6
  233. package/dist/src/treeDataFormatterFiles/index.d.ts +0 -1
  234. package/dist/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +0 -4
  235. package/dist/src/treePluginParamsFiles/TreeLegend/index.d.ts +0 -1
  236. package/dist/src/treePluginParamsFiles/index.d.ts +0 -1
  237. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +0 -14
  238. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  239. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +0 -14
  240. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  241. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +0 -14
  242. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +0 -15
  243. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  244. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +0 -14
  245. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +0 -14
  246. package/src/chartParamsFiles/CP_LONG_PADDING.ts +0 -14
  247. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +0 -14
  248. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +0 -14
  249. package/src/chartParamsFiles/index.ts +0 -13
  250. package/src/createPreset.ts +0 -88
  251. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +0 -17
  252. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +0 -17
  253. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +0 -17
  254. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +0 -23
  255. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +0 -18
  256. package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +0 -14
  257. package/src/gridDataFormatterFiles/DF_GRID_PN_SCALE.ts +0 -15
  258. package/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.ts +0 -17
  259. package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +0 -20
  260. package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +0 -20
  261. package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +0 -20
  262. package/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.ts +0 -20
  263. package/src/gridDataFormatterFiles/index.ts +0 -12
  264. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +0 -15
  265. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +0 -14
  266. package/src/gridPluginParamsFiles/Bars/index.ts +0 -2
  267. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -12
  268. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +0 -14
  269. package/src/gridPluginParamsFiles/Dots/index.ts +0 -2
  270. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +0 -14
  271. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -15
  272. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +0 -15
  273. package/src/gridPluginParamsFiles/GridLegend/index.ts +0 -3
  274. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_LOOSE_TICKS.ts +0 -12
  275. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +0 -13
  276. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_TENSE_TICKS.ts +0 -14
  277. package/src/gridPluginParamsFiles/GroupAxis/index.ts +0 -3
  278. package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +0 -12
  279. package/src/gridPluginParamsFiles/LineAreas/index.ts +0 -1
  280. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +0 -13
  281. package/src/gridPluginParamsFiles/Lines/index.ts +0 -1
  282. package/src/gridPluginParamsFiles/index.ts +0 -7
  283. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +0 -22
  284. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +0 -25
  285. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +0 -28
  286. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.ts +0 -36
  287. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.ts +0 -36
  288. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.ts +0 -22
  289. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +0 -28
  290. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +0 -34
  291. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +0 -40
  292. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.ts +0 -28
  293. package/src/multiGridDataFormatterFiles/index.ts +0 -9
  294. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +0 -12
  295. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +0 -12
  296. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +0 -12
  297. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +0 -4
  298. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +0 -12
  299. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +0 -12
  300. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +0 -12
  301. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +0 -15
  302. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +0 -5
  303. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +0 -12
  304. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +0 -12
  305. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +0 -12
  306. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +0 -3
  307. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.ts +0 -12
  308. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.ts +0 -12
  309. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.ts +0 -12
  310. package/src/multiGridPluginParamsFiles/MultiDots/index.ts +0 -3
  311. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +0 -14
  312. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -28
  313. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +0 -21
  314. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +0 -22
  315. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +0 -4
  316. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +0 -13
  317. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +0 -13
  318. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +0 -13
  319. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.ts +0 -13
  320. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +0 -4
  321. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.ts +0 -12
  322. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.ts +0 -12
  323. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.ts +0 -12
  324. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.ts +0 -12
  325. package/src/multiGridPluginParamsFiles/MultiLineAreas/index.ts +0 -4
  326. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +0 -12
  327. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +0 -12
  328. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +0 -12
  329. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +0 -13
  330. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +0 -4
  331. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +0 -12
  332. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +0 -12
  333. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +0 -12
  334. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.ts +0 -0
  335. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +0 -3
  336. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.ts +0 -12
  337. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.ts +0 -12
  338. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.ts +0 -12
  339. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_PN.ts +0 -0
  340. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/index.ts +0 -3
  341. package/src/multiGridPluginParamsFiles/index.ts +0 -10
  342. package/src/multiValueDataFormatterFiles/index.ts +0 -1
  343. package/src/multiValuePluginParamsFiles/index.ts +0 -1
  344. package/src/relationshipDataFormatterFiles/index.ts +0 -1
  345. package/src/relationshipPluginParamsFiles/index.ts +0 -1
  346. package/src/seriesDataFormatterFiles/DF_SERIES_DESC.ts +0 -10
  347. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.ts +0 -10
  348. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.ts +0 -11
  349. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +0 -11
  350. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.ts +0 -10
  351. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.ts +0 -11
  352. package/src/seriesDataFormatterFiles/index.ts +0 -8
  353. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +0 -12
  354. package/src/seriesPluginParamsFiles/Bubbles/index.ts +0 -1
  355. package/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.ts +0 -0
  356. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +0 -12
  357. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +0 -14
  358. package/src/seriesPluginParamsFiles/Pie/index.ts +0 -2
  359. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +0 -13
  360. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +0 -13
  361. package/src/seriesPluginParamsFiles/PieLabels/index.ts +0 -2
  362. package/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.ts +0 -12
  363. package/src/seriesPluginParamsFiles/Rose/index.ts +0 -2
  364. package/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.ts +0 -12
  365. package/src/seriesPluginParamsFiles/RoseLabels/index.ts +0 -1
  366. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +0 -12
  367. package/src/seriesPluginParamsFiles/SeriesLegend/index.ts +0 -1
  368. package/src/seriesPluginParamsFiles/index.ts +0 -6
  369. package/src/treeDataFormatterFiles/index.ts +0 -1
  370. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +0 -14
  371. package/src/treePluginParamsFiles/TreeLegend/index.ts +0 -1
  372. package/src/treePluginParamsFiles/index.ts +0 -1
@@ -1,14 +0,0 @@
1
- import type { ChartParamsFile } from '../types'
2
-
3
- export const CP_RIGHT_PADDING: ChartParamsFile = {
4
- id: 'CP_RIGHT_PADDING',
5
- description: '間距右邊留空',
6
- data: {
7
- padding: {
8
- top: 60,
9
- right: 120,
10
- bottom: 60,
11
- left: 60
12
- },
13
- }
14
- }
@@ -1,14 +0,0 @@
1
- import type { ChartParamsFile } from '../types'
2
-
3
- export const CP_TOP_AND_NO_BOTTOM_PADDING: ChartParamsFile = {
4
- id: 'CP_TOP_AND_NO_BOTTOM_PADDING',
5
- description: '間距上面留空下面不留空',
6
- data: {
7
- padding: {
8
- top: 120,
9
- right: 120,
10
- bottom: 0,
11
- left: 60
12
- },
13
- }
14
- }
@@ -1,13 +0,0 @@
1
- export { CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT } from './CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT'
2
- export { CP_BOTTOM_AND_LEFT_PADDING } from './CP_BOTTOM_AND_LEFT_PADDING'
3
- export { CP_BOTTOM_LONG_PADDING } from './CP_BOTTOM_LONG_PADDING'
4
- export { CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT } from './CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT'
5
- export { CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT } from './CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT'
6
- export { CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT } from './CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT'
7
- export { CP_BOTTOM_PADDING } from './CP_BOTTOM_PADDING'
8
- export { CP_BOTTOM_SLIGHT_PADDING } from './CP_BOTTOM_SLIGHT_PADDING'
9
- export { CP_LEFT_PADDING } from './CP_LEFT_PADDING'
10
- export { CP_TOP_AND_NO_BOTTOM_PADDING } from './CP_TOP_AND_NO_BOTTOM_PADDING'
11
- export { CP_RIGHT_PADDING } from './CP_RIGHT_PADDING'
12
- export { CP_LONG_PADDING } from './CP_LONG_PADDING'
13
-
@@ -1,88 +0,0 @@
1
- import type { PresetPartial, ChartType, ChartParamsPartial, DataFormatterPartialTypeMap } from '@orbcharts/core'
2
- import type { ChartParamsFile, DataFormatterFile, PluginParamsFile, PresetFile } from './types'
3
- import * as chartParamsFiles from './chartParamsFiles'
4
- import * as seriesDataFormatterFiles from './seriesDataFormatterFiles'
5
- import * as seriesPluginParamsFiles from './seriesPluginParamsFiles'
6
- import * as gridDataFormatterFiles from './gridDataFormatterFiles'
7
- import * as gridPluginParamsFiles from './gridPluginParamsFiles'
8
- import * as multiGridDataFormatterFiles from './multiGridDataFormatterFiles'
9
- import * as multiGridPluginParamsFiles from './multiGridPluginParamsFiles'
10
- import * as multiValueDataFormatterFiles from './multiValueDataFormatterFiles'
11
- import * as multiValuePluginParamsFiles from './multiValuePluginParamsFiles'
12
- import * as relationshipDataFormatterFiles from './relationshipDataFormatterFiles'
13
- import * as relationshipPluginParamsFiles from './relationshipPluginParamsFiles'
14
- import * as treeDataFormatterFiles from './treeDataFormatterFiles'
15
- import * as treePluginParamsFiles from './treePluginParamsFiles'
16
-
17
- const dataFormatterFilesTypeMap = {
18
- series: seriesDataFormatterFiles,
19
- grid: gridDataFormatterFiles,
20
- multiGrid: multiGridDataFormatterFiles,
21
- multiValue: multiValueDataFormatterFiles,
22
- relationship: relationshipDataFormatterFiles,
23
- tree: treeDataFormatterFiles
24
- }
25
-
26
- const pluginParamsFilesTypeMap = {
27
- series: seriesPluginParamsFiles,
28
- grid: gridPluginParamsFiles,
29
- multiGrid: multiGridPluginParamsFiles,
30
- multiValue: multiValuePluginParamsFiles,
31
- relationship: relationshipPluginParamsFiles,
32
- tree: treePluginParamsFiles
33
- }
34
-
35
- const createBasePreset = <T extends ChartType>(chartType: T, presetFile: PresetFile<T>): PresetPartial<T> => {
36
- const chartParams: ChartParamsPartial | undefined = presetFile.chartParamsId
37
- ? chartParamsFiles[presetFile.chartParamsId].data
38
- : undefined
39
- // @ts-ignore
40
- const dataFormatter: DataFormatterPartialTypeMap<T> | undefined = dataFormatterFilesTypeMap[chartType][presetFile.dataFormatterId]
41
- // @ts-ignore
42
- ? dataFormatterFilesTypeMap[chartType][presetFile.dataFormatterId].data
43
- : undefined
44
-
45
- const allPluginParams: {[key: string]: any} | undefined = presetFile.allPluginParamsIds
46
- ? presetFile.allPluginParamsIds
47
- .reduce((prev, current) => {
48
- // @ts-ignore
49
- if (pluginParamsFilesTypeMap[chartType][current]) {
50
- // @ts-ignore
51
- const pluginName = pluginParamsFilesTypeMap[chartType][current].pluginName
52
- // @ts-ignore
53
- prev[pluginName] = pluginParamsFilesTypeMap[chartType][current].data
54
- }
55
- return prev
56
- }, {})
57
- : undefined
58
-
59
- return {
60
- chartParams,
61
- dataFormatter,
62
- allPluginParams
63
- }
64
- }
65
-
66
- export const createSeriesPreset = (presetFile: PresetFile<'series'>): PresetPartial<'series'> => {
67
- return createBasePreset('series', presetFile)
68
- }
69
-
70
- export const createGridPreset = (presetFile: PresetFile<'grid'>): PresetPartial<'grid'> => {
71
- return createBasePreset('grid', presetFile)
72
- }
73
-
74
- export const createMultiGridPreset = (presetFile: PresetFile<'multiGrid'>): PresetPartial<'multiGrid'> => {
75
- return createBasePreset('multiGrid', presetFile)
76
- }
77
-
78
- export const createMultiValuePreset = (presetFile: PresetFile<'multiValue'>): PresetPartial<'multiValue'> => {
79
- return createBasePreset('multiValue', presetFile)
80
- }
81
-
82
- export const createRelationshipPreset = (presetFile: PresetFile<'relationship'>): PresetPartial<'relationship'> => {
83
- return createBasePreset('relationship', presetFile)
84
- }
85
-
86
- export const createTreePreset = (presetFile: PresetFile<'tree'>): PresetPartial<'tree'> => {
87
- return createBasePreset('tree', presetFile)
88
- }
@@ -1,17 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_GRID_2_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
- id: 'DF_GRID_2_SERIES_SLOT',
5
- chartType: 'grid',
6
- description: '2個Series Slot',
7
- data: {
8
- grid: {
9
- // seriesSlotIndexes: [0, 1],
10
- separateSeries: true,
11
- },
12
- container: {
13
- rowAmount: 1,
14
- columnAmount: 2,
15
- }
16
- }
17
- }
@@ -1,17 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_GRID_3_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
- id: 'DF_GRID_3_SERIES_SLOT',
5
- chartType: 'grid',
6
- description: '3個Series Slot',
7
- data: {
8
- grid: {
9
- // seriesSlotIndexes: [0, 1, 2],
10
- separateSeries: true,
11
- },
12
- container: {
13
- rowAmount: 1,
14
- columnAmount: 3,
15
- }
16
- }
17
- }
@@ -1,17 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_GRID_4_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
- id: 'DF_GRID_4_SERIES_SLOT',
5
- chartType: 'grid',
6
- description: '4個Series Slot',
7
- data: {
8
- grid: {
9
- // seriesSlotIndexes: [0, 1, 2, 3],
10
- separateSeries: true,
11
- },
12
- container: {
13
- rowAmount: 2,
14
- columnAmount: 2,
15
- }
16
- }
17
- }
@@ -1,23 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_GRID_BOTTOM_VALUE_AXIS: DataFormatterFile<'grid'> = {
4
- id: 'DF_GRID_BOTTOM_VALUE_AXIS',
5
- chartType: 'grid',
6
- description: '底部橫向資料圖軸',
7
- data: {
8
- grid: {
9
- valueAxis: {
10
- position: 'bottom'
11
- // position: 'top'
12
- // position: 'left'
13
- // position: 'right'
14
- },
15
- groupAxis: {
16
- position: 'left'
17
- // position: 'right'
18
- // position: 'bottom'
19
- // position: 'top'
20
- },
21
- }
22
- }
23
- }
@@ -1,18 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING: DataFormatterFile<'grid'> = {
4
- id: 'DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING',
5
- chartType: 'grid',
6
- description: '底部橫向資料圖軸及無群組圖軸的左右間距',
7
- data: {
8
- grid: {
9
- valueAxis: {
10
- position: 'bottom'
11
- },
12
- groupAxis: {
13
- position: 'left',
14
- scalePadding: 0
15
- },
16
- }
17
- }
18
- }
@@ -1,14 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_GRID_NONE_GROUP_SCALE_PADDING: DataFormatterFile<'grid'> = {
4
- id: 'DF_GRID_NONE_GROUP_SCALE_PADDING',
5
- chartType: 'grid',
6
- description: '無群組圖軸的左右間距',
7
- data: {
8
- grid: {
9
- groupAxis: {
10
- scalePadding: 0
11
- }
12
- }
13
- }
14
- }
@@ -1,15 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_GRID_PN_SCALE: DataFormatterFile<'grid'> = {
4
- id: 'DF_GRID_PN_SCALE',
5
- chartType: 'grid',
6
- description: '分向資料圖軸',
7
- data: {
8
- grid: {
9
- valueAxis: {
10
- scaleDomain: ['auto', 'auto'],
11
- scaleRange: [0.05, 0.95],
12
- },
13
- }
14
- }
15
- }
@@ -1,17 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_GRID_SEPARATE_SERIES: DataFormatterFile<'grid'> = {
4
- id: 'DF_GRID_SEPARATE_SERIES',
5
- chartType: 'grid',
6
- description: '分開顯示Series',
7
- data: {
8
- grid: {
9
- // seriesSlotIndexes: [0, 1],
10
- separateSeries: true,
11
- },
12
- // container: {
13
- // rowAmount: 1,
14
- // columnAmount: 2,
15
- // }
16
- }
17
- }
@@ -1,20 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_LINE_AREAS_2_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
- id: 'DF_LINE_AREAS_2_SERIES_SLOT',
5
- chartType: 'grid',
6
- description: 'LineAreas 2個Series Slot',
7
- data: {
8
- grid: {
9
- // seriesSlotIndexes: [0, 1],
10
- separateSeries: true,
11
- groupAxis: {
12
- scalePadding: 0
13
- }
14
- },
15
- container: {
16
- rowAmount: 1,
17
- columnAmount: 2,
18
- }
19
- }
20
- }
@@ -1,20 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_LINE_AREAS_3_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
- id: 'DF_LINE_AREAS_3_SERIES_SLOT',
5
- chartType: 'grid',
6
- description: 'LineAreas 3個Series Slot',
7
- data: {
8
- grid: {
9
- // seriesSlotIndexes: [0, 1, 2],
10
- separateSeries: true,
11
- groupAxis: {
12
- scalePadding: 0
13
- }
14
- },
15
- container: {
16
- rowAmount: 1,
17
- columnAmount: 3,
18
- }
19
- }
20
- }
@@ -1,20 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_LINE_AREAS_4_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
- id: 'DF_LINE_AREAS_4_SERIES_SLOT',
5
- chartType: 'grid',
6
- description: 'LineAreas 4個Series Slot',
7
- data: {
8
- grid: {
9
- // seriesSlotIndexes: [0, 1, 2, 3],
10
- separateSeries: true,
11
- groupAxis: {
12
- scalePadding: 0
13
- }
14
- },
15
- container: {
16
- rowAmount: 2,
17
- columnAmount: 2,
18
- }
19
- }
20
- }
@@ -1,20 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_LINE_AREAS_SEPARATE_SERIES: DataFormatterFile<'grid'> = {
4
- id: 'DF_LINE_AREAS_SEPARATE_SERIES',
5
- chartType: 'grid',
6
- description: 'LineAreas 分開顯示Series',
7
- data: {
8
- grid: {
9
- // seriesSlotIndexes: [0, 1],
10
- separateSeries: true,
11
- groupAxis: {
12
- scalePadding: 0
13
- }
14
- },
15
- // container: {
16
- // rowAmount: 1,
17
- // columnAmount: 2,
18
- // }
19
- }
20
- }
@@ -1,12 +0,0 @@
1
- export { DF_GRID_BOTTOM_VALUE_AXIS } from './DF_GRID_BOTTOM_VALUE_AXIS'
2
- export { DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING } from './DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING'
3
- // export { DF_GRID_2_SERIES_SLOT } from './DF_GRID_2_SERIES_SLOT'
4
- // export { DF_GRID_3_SERIES_SLOT } from './DF_GRID_3_SERIES_SLOT'
5
- // export { DF_GRID_4_SERIES_SLOT } from './DF_GRID_4_SERIES_SLOT'
6
- export { DF_GRID_SEPARATE_SERIES } from './DF_GRID_SEPARATE_SERIES'
7
- export { DF_GRID_PN_SCALE } from './DF_GRID_PN_SCALE'
8
- export { DF_GRID_NONE_GROUP_SCALE_PADDING } from './DF_GRID_NONE_GROUP_SCALE_PADDING'
9
- // export { DF_LINE_AREAS_2_SERIES_SLOT } from './DF_LINE_AREAS_2_SERIES_SLOT'
10
- // export { DF_LINE_AREAS_3_SERIES_SLOT } from './DF_LINE_AREAS_3_SERIES_SLOT'
11
- // export { DF_LINE_AREAS_4_SERIES_SLOT } from './DF_LINE_AREAS_4_SERIES_SLOT'
12
- export { DF_LINE_AREAS_SEPARATE_SERIES } from './DF_LINE_AREAS_SEPARATE_SERIES'
@@ -1,15 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { BarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_BARS_ROUND: PluginParamsFile<BarsParams> = {
5
- id: 'PP_BARS_ROUND',
6
- chartType: 'grid',
7
- pluginName: 'Bars',
8
- description: '圓角長條圖',
9
- data: {
10
- barWidth: 0,
11
- barPadding: 1,
12
- barGroupPadding: 10,
13
- barRadius: true,
14
- }
15
- }
@@ -1,14 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { BarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_BARS_THIN: PluginParamsFile<BarsParams> = {
5
- id: 'PP_BARS_THIN',
6
- chartType: 'grid',
7
- pluginName: 'Bars',
8
- description: '圓角長條圖',
9
- data: {
10
- barWidth: 20,
11
- barPadding: 1,
12
- barGroupPadding: 10
13
- }
14
- }
@@ -1,2 +0,0 @@
1
- export { PP_BARS_ROUND } from './PP_BARS_ROUND'
2
- export { PP_BARS_THIN } from './PP_BARS_THIN'
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { DotsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_DOTS_ONLY_SHOW_HIGHLIGHTED: PluginParamsFile<DotsParams> = {
5
- id: 'PP_DOTS_ONLY_SHOW_HIGHLIGHTED',
6
- chartType: 'grid',
7
- pluginName: 'Dots',
8
- description: '顯示highlight圓點',
9
- data: {
10
- onlyShowHighlighted: false
11
- }
12
- }
@@ -1,14 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { DotsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_DOTS_SOLID: PluginParamsFile<DotsParams> = {
5
- id: 'PP_DOTS_SOLID',
6
- chartType: 'grid',
7
- pluginName: 'Dots',
8
- description: '實心圓點',
9
- data: {
10
- radius: 3,
11
- fillColorType: 'series',
12
- onlyShowHighlighted: false
13
- }
14
- }
@@ -1,2 +0,0 @@
1
- export { PP_DOTS_ONLY_SHOW_HIGHLIGHTED } from './PP_DOTS_ONLY_SHOW_HIGHLIGHTED'
2
- export { PP_DOTS_SOLID } from './PP_DOTS_SOLID'
@@ -1,14 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GRID_LEGEND_BOTTOM: PluginParamsFile<GridLegendParams> = {
5
- id: 'PP_GRID_LEGEND_BOTTOM',
6
- chartType: 'grid',
7
- pluginName: 'GridLegend',
8
- description: '底部圖例',
9
- data: {
10
- position: 'bottom',
11
- justify: 'center',
12
- padding: 14,
13
- }
14
- }
@@ -1,15 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: PluginParamsFile<GridLegendParams> = {
5
- id: 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST',
6
- chartType: 'grid',
7
- pluginName: 'GridLegend',
8
- description: '底部圖例及線條列點',
9
- data: {
10
- position: 'bottom',
11
- justify: 'center',
12
- padding: 14,
13
- listRectHeight: 2
14
- }
15
- }
@@ -1,15 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST: PluginParamsFile<GridLegendParams> = {
5
- id: 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST',
6
- chartType: 'grid',
7
- pluginName: 'GridLegend',
8
- description: '底部圖例及圓弧列點',
9
- data: {
10
- position: 'bottom',
11
- justify: 'center',
12
- padding: 14,
13
- listRectRadius: 7,
14
- }
15
- }
@@ -1,3 +0,0 @@
1
- export { PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST } from './PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'
2
- export { PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST } from './PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'
3
- export { PP_GRID_LEGEND_BOTTOM } from './PP_GRID_LEGEND_BOTTOM'
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GroupAxisParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GROUP_AXIS_LOOSE_TICKS: PluginParamsFile<GroupAxisParams> = {
5
- id: 'PP_GROUP_AXIS_LOOSE_TICKS',
6
- chartType: 'grid',
7
- pluginName: 'GroupAxis',
8
- description: '寬鬆標籤',
9
- data: {
10
- ticks: 6
11
- }
12
- }
@@ -1,13 +0,0 @@
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
- }
13
- }
@@ -1,14 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GroupAxisParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GROUP_AXIS_TENSE_TICKS: PluginParamsFile<GroupAxisParams> = {
5
- id: 'PP_GROUP_AXIS_TENSE_TICKS',
6
- chartType: 'grid',
7
- pluginName: 'GroupAxis',
8
- description: '密集標籤',
9
- data: {
10
- ticks: 12,
11
- tickPadding: 15,
12
- tickTextRotate: -30
13
- }
14
- }
@@ -1,3 +0,0 @@
1
- export { PP_GROUP_AXIS_ROTATE_LABEL } from './PP_GROUP_AXIS_ROTATE_LABEL'
2
- export { PP_GROUP_AXIS_TENSE_TICKS } from './PP_GROUP_AXIS_TENSE_TICKS'
3
- export { PP_GROUP_AXIS_LOOSE_TICKS } from './PP_GROUP_AXIS_LOOSE_TICKS'
@@ -1,12 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- export { PP_LINE_AREAS_CURVE } from './PP_LINE_AREAS_CURVE'
@@ -1,13 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- export { PP_LINES_CURVE } from './PP_LINES_CURVE'
@@ -1,7 +0,0 @@
1
- export * from './Bars'
2
- export * from './Dots'
3
- export * from './GridLegend'
4
- export * from './GroupAxis'
5
- export * from './Lines'
6
- export * from './LineAreas'
7
- // export * from './ValueAxis'
@@ -1,22 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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
- }