@orbcharts/presets-basic 3.0.0-alpha.9 → 3.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/dist/lib/core-types.d.ts +1 -0
  2. package/dist/lib/plugins-basic-types.d.ts +1 -0
  3. package/dist/orbcharts-presets-basic.es.js +1534 -828
  4. package/dist/orbcharts-presets-basic.umd.js +1 -1
  5. package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.d.ts +4 -0
  6. package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.d.ts +4 -0
  7. package/dist/src/grid/PRESET_BARS_ROUND.d.ts +4 -0
  8. package/dist/src/grid/PRESET_BARS_THIN.d.ts +4 -0
  9. package/dist/src/grid/PRESET_GRID_BASIC.d.ts +4 -0
  10. package/dist/src/grid/PRESET_GRID_HORIZONTAL.d.ts +4 -0
  11. package/dist/src/grid/PRESET_GRID_PN_SCALE.d.ts +4 -0
  12. package/dist/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.d.ts +4 -0
  13. package/dist/src/grid/PRESET_GRID_SEPARATE_SERIES.d.ts +4 -0
  14. package/dist/src/grid/PRESET_LINES_BASIC.d.ts +4 -0
  15. package/dist/src/grid/PRESET_LINES_CURVE.d.ts +4 -0
  16. package/dist/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
  17. package/dist/src/grid/PRESET_LINES_HORIZONTAL.d.ts +4 -0
  18. package/dist/src/grid/PRESET_LINES_LOOSE_TICKS.d.ts +4 -0
  19. package/dist/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.d.ts +4 -0
  20. package/dist/src/grid/PRESET_LINES_WITH_SOLID_DOTS.d.ts +4 -0
  21. package/dist/src/grid/PRESET_LINE_AREAS_BASIC.d.ts +4 -0
  22. package/dist/src/grid/PRESET_LINE_AREAS_CURVE.d.ts +4 -0
  23. package/dist/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
  24. package/dist/src/grid/PRESET_LINE_AREAS_HORIZONTAL.d.ts +4 -0
  25. package/dist/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.d.ts +4 -0
  26. package/dist/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.d.ts +4 -0
  27. package/dist/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.d.ts +4 -0
  28. package/dist/src/grid/index.d.ts +21 -0
  29. package/dist/src/index.d.ts +6 -32
  30. package/dist/src/multiGrid/PRESET_MULTI_GRID_BASIC.d.ts +4 -0
  31. package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.d.ts +4 -0
  32. package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +4 -0
  33. package/dist/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.d.ts +4 -0
  34. package/dist/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.d.ts +4 -0
  35. package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +4 -0
  36. package/dist/src/multiGrid/index.d.ts +6 -0
  37. package/dist/src/multiValue/PRESET_MULTI_VALUE_BASIC.d.ts +4 -0
  38. package/dist/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.d.ts +4 -0
  39. package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.d.ts +4 -0
  40. package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
  41. package/dist/src/multiValue/index.d.ts +4 -0
  42. package/dist/src/params.d.ts +9 -0
  43. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BASIC.d.ts +4 -0
  44. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.d.ts +4 -0
  45. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.d.ts +4 -0
  46. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.d.ts +4 -0
  47. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.d.ts +4 -0
  48. package/dist/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.d.ts +4 -0
  49. package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.d.ts +4 -0
  50. package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.d.ts +4 -0
  51. package/dist/src/relationship/index.d.ts +8 -0
  52. package/dist/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
  53. package/dist/src/series/PRESET_BUBBLES_SEPARATE_SERIES.d.ts +4 -0
  54. package/dist/src/series/PRESET_PIE_BASIC.d.ts +4 -0
  55. package/dist/src/series/PRESET_PIE_DONUT.d.ts +4 -0
  56. package/dist/src/series/PRESET_PIE_HALF_DONUT.d.ts +4 -0
  57. package/dist/src/series/PRESET_PIE_WITH_INNER_LABELS.d.ts +4 -0
  58. package/dist/src/series/PRESET_ROSE_BASIC.d.ts +4 -0
  59. package/dist/src/series/PRESET_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
  60. package/dist/src/series/PRESET_SERIES_BASIC.d.ts +4 -0
  61. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES.d.ts +4 -0
  62. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
  63. package/dist/src/series/PRESET_SERIES_SUM_SERIES.d.ts +4 -0
  64. package/dist/src/series/index.d.ts +12 -0
  65. package/dist/src/tree/PRESET_TREE_MAP_BASIC.d.ts +4 -0
  66. package/dist/src/tree/index.d.ts +1 -0
  67. package/dist/src/types.d.ts +162 -37
  68. package/dist/vite.config.d.ts +1 -1
  69. package/lib/core-types.ts +7 -0
  70. package/lib/plugins-basic-types.ts +6 -0
  71. package/package.json +5 -6
  72. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +56 -0
  73. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +52 -0
  74. package/src/grid/PRESET_BARS_ROUND.ts +39 -0
  75. package/src/grid/PRESET_BARS_THIN.ts +36 -0
  76. package/src/grid/PRESET_GRID_BASIC.ts +27 -0
  77. package/src/grid/PRESET_GRID_HORIZONTAL.ts +44 -0
  78. package/src/grid/PRESET_GRID_PN_SCALE.ts +35 -0
  79. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +35 -0
  80. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +40 -0
  81. package/src/grid/PRESET_LINES_BASIC.ts +35 -0
  82. package/src/grid/PRESET_LINES_CURVE.ts +38 -0
  83. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +37 -0
  84. package/src/grid/PRESET_LINES_HORIZONTAL.ts +51 -0
  85. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +37 -0
  86. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +40 -0
  87. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +39 -0
  88. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +43 -0
  89. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +48 -0
  90. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +47 -0
  91. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +47 -0
  92. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +45 -0
  93. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +48 -0
  94. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +50 -0
  95. package/src/grid/index.ts +23 -0
  96. package/src/index.ts +6 -223
  97. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +38 -0
  98. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +86 -0
  99. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +58 -0
  100. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +60 -0
  101. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +86 -0
  102. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +104 -0
  103. package/src/multiGrid/index.ts +6 -0
  104. package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +23 -0
  105. package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +26 -0
  106. package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +26 -0
  107. package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +26 -0
  108. package/src/multiValue/index.ts +4 -0
  109. package/src/params.ts +81 -0
  110. package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +23 -0
  111. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +23 -0
  112. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +28 -0
  113. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +30 -0
  114. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +25 -0
  115. package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +30 -0
  116. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +28 -0
  117. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +25 -0
  118. package/src/relationship/index.ts +8 -0
  119. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +18 -0
  120. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -0
  121. package/src/series/PRESET_PIE_BASIC.ts +19 -0
  122. package/src/series/PRESET_PIE_DONUT.ts +24 -0
  123. package/src/series/PRESET_PIE_HALF_DONUT.ts +37 -0
  124. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +25 -0
  125. package/src/series/PRESET_ROSE_BASIC.ts +20 -0
  126. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +25 -0
  127. package/src/series/PRESET_SERIES_BASIC.ts +16 -0
  128. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +18 -0
  129. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +19 -0
  130. package/src/series/PRESET_SERIES_SUM_SERIES.ts +18 -0
  131. package/src/series/index.ts +13 -0
  132. package/src/tree/PRESET_TREE_MAP_BASIC.ts +27 -0
  133. package/src/tree/index.ts +1 -0
  134. package/src/types.ts +345 -56
  135. package/{tsconfig.prod.json → tsconfig.base.json} +1 -1
  136. package/tsconfig.json +1 -12
  137. package/vite.config.js +17 -39
  138. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +0 -3
  139. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  140. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +0 -3
  141. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  142. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +0 -3
  143. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +0 -3
  144. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  145. package/dist/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.d.ts +0 -3
  146. package/dist/src/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -3
  147. package/dist/src/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -3
  148. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -3
  149. package/dist/src/chartParamsFiles/index.d.ts +0 -11
  150. package/dist/src/createPreset.d.ts +0 -9
  151. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +0 -3
  152. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +0 -3
  153. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +0 -3
  154. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +0 -3
  155. package/dist/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.d.ts +0 -3
  156. package/dist/src/gridDataFormatterFiles/index.d.ts +0 -5
  157. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -4
  158. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -4
  159. package/dist/src/gridPluginParamsFiles/Bars/index.d.ts +0 -2
  160. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -4
  161. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -4
  162. package/dist/src/gridPluginParamsFiles/Dots/index.d.ts +0 -2
  163. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -4
  164. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  165. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +0 -4
  166. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +0 -3
  167. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -4
  168. package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -1
  169. package/dist/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -4
  170. package/dist/src/gridPluginParamsFiles/Lines/index.d.ts +0 -1
  171. package/dist/src/gridPluginParamsFiles/index.d.ts +0 -5
  172. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +0 -3
  173. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +0 -3
  174. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +0 -3
  175. package/dist/src/multiGridDataFormatterFiles/index.d.ts +0 -3
  176. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +0 -4
  177. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +0 -4
  178. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +0 -4
  179. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +0 -3
  180. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +0 -4
  181. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +0 -4
  182. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +0 -4
  183. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +0 -4
  184. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +0 -4
  185. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +0 -4
  186. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +0 -4
  187. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +0 -4
  188. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +0 -3
  189. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +0 -4
  190. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  191. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +0 -4
  192. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +0 -4
  193. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +0 -4
  194. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +0 -4
  195. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +0 -4
  196. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +0 -4
  197. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +0 -3
  198. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +0 -4
  199. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +0 -4
  200. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +0 -4
  201. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +0 -4
  202. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +0 -4
  203. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +0 -4
  204. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +0 -4
  205. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +0 -4
  206. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +0 -3
  207. package/dist/src/multiGridPluginParamsFiles/index.d.ts +0 -7
  208. package/dist/src/multiValueDataFormatterFiles/index.d.ts +0 -1
  209. package/dist/src/multiValuePluginParamsFiles/index.d.ts +0 -1
  210. package/dist/src/relationshipDataFormatterFiles/index.d.ts +0 -1
  211. package/dist/src/relationshipPluginParamsFiles/index.d.ts +0 -1
  212. package/dist/src/seriesDataFormatterFiles/index.d.ts +0 -1
  213. package/dist/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -4
  214. package/dist/src/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -1
  215. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
  216. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -4
  217. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -4
  218. package/dist/src/seriesPluginParamsFiles/Pie/index.d.ts +0 -2
  219. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -4
  220. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -4
  221. package/dist/src/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -2
  222. package/dist/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -4
  223. package/dist/src/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -1
  224. package/dist/src/seriesPluginParamsFiles/index.d.ts +0 -4
  225. package/dist/src/treeDataFormatterFiles/index.d.ts +0 -1
  226. package/dist/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +0 -4
  227. package/dist/src/treePluginParamsFiles/TreeLegend/index.d.ts +0 -1
  228. package/dist/src/treePluginParamsFiles/index.d.ts +0 -1
  229. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +0 -14
  230. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  231. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +0 -14
  232. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  233. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +0 -14
  234. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +0 -15
  235. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  236. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +0 -14
  237. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +0 -14
  238. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +0 -14
  239. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +0 -14
  240. package/src/chartParamsFiles/index.ts +0 -11
  241. package/src/createPreset.ts +0 -88
  242. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +0 -16
  243. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +0 -16
  244. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +0 -16
  245. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +0 -23
  246. package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +0 -15
  247. package/src/gridDataFormatterFiles/index.ts +0 -5
  248. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +0 -15
  249. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +0 -14
  250. package/src/gridPluginParamsFiles/Bars/index.ts +0 -2
  251. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -12
  252. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +0 -14
  253. package/src/gridPluginParamsFiles/Dots/index.ts +0 -2
  254. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +0 -14
  255. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -15
  256. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +0 -15
  257. package/src/gridPluginParamsFiles/GridLegend/index.ts +0 -3
  258. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +0 -13
  259. package/src/gridPluginParamsFiles/GroupAxis/index.ts +0 -1
  260. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +0 -13
  261. package/src/gridPluginParamsFiles/Lines/index.ts +0 -1
  262. package/src/gridPluginParamsFiles/index.ts +0 -6
  263. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +0 -21
  264. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +0 -24
  265. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +0 -27
  266. package/src/multiGridDataFormatterFiles/index.ts +0 -3
  267. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +0 -12
  268. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +0 -12
  269. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +0 -12
  270. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +0 -4
  271. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +0 -12
  272. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +0 -12
  273. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +0 -12
  274. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +0 -15
  275. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +0 -5
  276. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +0 -12
  277. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +0 -12
  278. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +0 -12
  279. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +0 -3
  280. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +0 -14
  281. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -28
  282. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +0 -21
  283. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +0 -22
  284. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +0 -4
  285. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +0 -13
  286. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +0 -13
  287. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +0 -13
  288. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +0 -3
  289. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +0 -12
  290. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +0 -12
  291. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +0 -12
  292. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +0 -13
  293. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +0 -4
  294. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +0 -12
  295. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +0 -12
  296. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +0 -12
  297. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +0 -3
  298. package/src/multiGridPluginParamsFiles/index.ts +0 -7
  299. package/src/multiValueDataFormatterFiles/index.ts +0 -1
  300. package/src/multiValuePluginParamsFiles/index.ts +0 -1
  301. package/src/relationshipDataFormatterFiles/index.ts +0 -1
  302. package/src/relationshipPluginParamsFiles/index.ts +0 -1
  303. package/src/seriesDataFormatterFiles/index.ts +0 -1
  304. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +0 -12
  305. package/src/seriesPluginParamsFiles/Bubbles/index.ts +0 -1
  306. package/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.ts +0 -0
  307. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +0 -12
  308. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +0 -14
  309. package/src/seriesPluginParamsFiles/Pie/index.ts +0 -2
  310. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +0 -13
  311. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +0 -13
  312. package/src/seriesPluginParamsFiles/PieLabels/index.ts +0 -2
  313. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +0 -12
  314. package/src/seriesPluginParamsFiles/SeriesLegend/index.ts +0 -1
  315. package/src/seriesPluginParamsFiles/index.ts +0 -4
  316. package/src/treeDataFormatterFiles/index.ts +0 -1
  317. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +0 -14
  318. package/src/treePluginParamsFiles/TreeLegend/index.ts +0 -1
  319. package/src/treePluginParamsFiles/index.ts +0 -1
  320. package/tsconfig.dev.json +0 -18
@@ -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,16 +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
- },
11
- container: {
12
- rowAmount: 1,
13
- columnAmount: 2,
14
- }
15
- }
16
- }
@@ -1,16 +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
- },
11
- container: {
12
- rowAmount: 1,
13
- columnAmount: 3,
14
- }
15
- }
16
- }
@@ -1,16 +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
- },
11
- container: {
12
- rowAmount: 2,
13
- columnAmount: 2,
14
- }
15
- }
16
- }
@@ -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,15 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_GRID_DIVERGING_SCALE: DataFormatterFile<'grid'> = {
4
- id: 'DF_GRID_DIVERGING_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,5 +0,0 @@
1
- export { DF_GRID_BOTTOM_VALUE_AXIS } from './DF_GRID_BOTTOM_VALUE_AXIS'
2
- export { DF_GRID_2_SERIES_SLOT } from './DF_GRID_2_SERIES_SLOT'
3
- export { DF_GRID_3_SERIES_SLOT } from './DF_GRID_3_SERIES_SLOT'
4
- export { DF_GRID_4_SERIES_SLOT } from './DF_GRID_4_SERIES_SLOT'
5
- export { DF_GRID_DIVERGING_SCALE } from './DF_GRID_DIVERGING_SCALE'
@@ -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,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 +0,0 @@
1
- export { PP_GROUP_AXIS_ROTATE_LABEL } from './PP_GROUP_AXIS_ROTATE_LABEL'
@@ -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,6 +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 './ValueAxis'
@@ -1,21 +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
- container: {
17
- rowAmount: 1,
18
- columnAmount: 2,
19
- }
20
- }
21
- }
@@ -1,24 +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
- container: {
20
- rowAmount: 1,
21
- columnAmount: 3,
22
- }
23
- }
24
- }
@@ -1,27 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_MULTI_GRID_4_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
- id: 'DF_MULTI_GRID_4_GRID_SLOT',
5
- chartType: 'multiGrid',
6
- description: '4個Grid Slot',
7
- data: {
8
- gridList: [
9
- {
10
- slotIndex: 0
11
- },
12
- {
13
- slotIndex: 1
14
- },
15
- {
16
- slotIndex: 2
17
- },
18
- {
19
- slotIndex: 3
20
- }
21
- ],
22
- container: {
23
- rowAmount: 2,
24
- columnAmount: 2,
25
- }
26
- }
27
- }
@@ -1,3 +0,0 @@
1
- export { DF_MULTI_GRID_2_GRID_SLOT } from './DF_MULTI_GRID_2_GRID_SLOT'
2
- export { DF_MULTI_GRID_3_GRID_SLOT } from './DF_MULTI_GRID_3_GRID_SLOT'
3
- export { DF_MULTI_GRID_4_GRID_SLOT } from './DF_MULTI_GRID_4_GRID_SLOT'
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BAR_STACK_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BAR_STACK_2_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarStack',
8
- description: '2組堆疊長條圖',
9
- data: {
10
- gridIndexes: [0, 1]
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BAR_STACK_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BAR_STACK_3_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarStack',
8
- description: '3組堆疊長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2]
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BAR_STACK_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BAR_STACK_4_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarStack',
8
- description: '4組堆疊長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2, 3]
11
- }
12
- }
@@ -1,4 +0,0 @@
1
- export { PP_MULTI_BAR_STACK_2_GRID_SLOT } from './PP_MULTI_BAR_STACK_2_GRID_SLOT'
2
- export { PP_MULTI_BAR_STACK_3_GRID_SLOT } from './PP_MULTI_BAR_STACK_3_GRID_SLOT'
3
- export { PP_MULTI_BAR_STACK_4_GRID_SLOT } from './PP_MULTI_BAR_STACK_4_GRID_SLOT'
4
- // export { PP_MULTI_BAR_STACK_ROUND } from './PP_MULTI_BAR_STACK_ROUND'
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BARS_2_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBars',
8
- description: '2組群組長條圖',
9
- data: {
10
- gridIndexes: [0, 1]
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BARS_3_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBars',
8
- description: '3組群組長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2]
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BARS_4_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBars',
8
- description: '4組群組長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2, 3]
11
- }
12
- }
@@ -1,15 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_ROUND: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BARS_ROUND',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBars',
8
- description: '圓角長條圖',
9
- data: {
10
- barWidth: 0,
11
- barPadding: 1,
12
- barGroupPadding: 10,
13
- barRadius: true,
14
- }
15
- }
@@ -1,5 +0,0 @@
1
- export { PP_MULTI_BARS_2_GRID_SLOT } from './PP_MULTI_BARS_2_GRID_SLOT'
2
- export { PP_MULTI_BARS_3_GRID_SLOT } from './PP_MULTI_BARS_3_GRID_SLOT'
3
- export { PP_MULTI_BARS_4_GRID_SLOT } from './PP_MULTI_BARS_4_GRID_SLOT'
4
- export { PP_MULTI_BARS_ROUND } from './PP_MULTI_BARS_ROUND'
5
-
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
5
- id: 'PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarsTriangle',
8
- description: '2組群組三角長條圖',
9
- data: {
10
- gridIndexes: [0, 1]
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
5
- id: 'PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarsTriangle',
8
- description: '3組群組三角長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2]
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
5
- id: 'PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarsTriangle',
8
- description: '4組群組三角長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2, 3]
11
- }
12
- }
@@ -1,3 +0,0 @@
1
- export { PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT } from './PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT'
2
- export { PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT } from './PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT'
3
- export { PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT } from './PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT'
@@ -1,14 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_GRID_LEGEND_BOTTOM: PluginParamsFile<GridLegendParams> = {
5
- id: 'PP_MULTI_GRID_LEGEND_BOTTOM',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiGridLegend',
8
- description: '底部圖例',
9
- data: {
10
- position: 'bottom',
11
- justify: 'center',
12
- padding: 14,
13
- }
14
- }
@@ -1,28 +0,0 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiGridLegendParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: PluginParamsFile<MultiGridLegendParams> = {
5
- id: 'PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiGridLegend',
8
- description: '底部圖例線條列點',
9
- data: {
10
- position: 'bottom',
11
- justify: 'center',
12
- padding: 14,
13
- gridList: [
14
- {
15
- listRectHeight: 2,
16
- },
17
- {
18
- listRectHeight: 2,
19
- },
20
- {
21
- listRectHeight: 2,
22
- },
23
- {
24
- listRectHeight: 2,
25
- }
26
- ]
27
- }
28
- }