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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (384) hide show
  1. package/dist/orbcharts-presets-basic.es.js +1617 -1103
  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_GRID.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_2_GRID_SLOT.d.ts +4 -0
  29. package/dist/src/multiGrid/PRESET_MULTI_GRID_3_GRID_SLOT.d.ts +4 -0
  30. package/dist/src/multiGrid/PRESET_MULTI_GRID_4_GRID_SLOT.d.ts +4 -0
  31. package/dist/src/multiGrid/PRESET_MULTI_GRID_BASIC.d.ts +4 -0
  32. package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.d.ts +4 -0
  33. package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +6 -0
  34. package/dist/src/multiGrid/PRESET_MULTI_LINES_2_GRID_SLOT.d.ts +4 -0
  35. package/dist/src/multiGrid/PRESET_MULTI_LINES_3_GRID_SLOT.d.ts +4 -0
  36. package/dist/src/multiGrid/PRESET_MULTI_LINES_4_GRID_SLOT.d.ts +4 -0
  37. package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +4 -0
  38. package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +4 -0
  39. package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +4 -0
  40. package/dist/src/multiGrid/index.d.ts +12 -0
  41. package/dist/src/params.d.ts +7 -0
  42. package/dist/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
  43. package/dist/src/series/PRESET_BUBBLES_SEPARATE_SERIES.d.ts +4 -0
  44. package/dist/src/series/PRESET_PIE_DONUT.d.ts +4 -0
  45. package/dist/src/series/PRESET_PIE_HALF_DONUT.d.ts +4 -0
  46. package/dist/src/series/PRESET_PIE_WITH_INNER_LABELS.d.ts +4 -0
  47. package/dist/src/series/PRESET_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
  48. package/dist/src/series/PRESET_SERIES_BASIC.d.ts +4 -0
  49. package/dist/src/series/PRESET_SERIES_DESC.d.ts +4 -0
  50. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES.d.ts +4 -0
  51. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
  52. package/dist/src/series/PRESET_SERIES_SUM_SERIES.d.ts +4 -0
  53. package/dist/src/series/index.d.ts +11 -0
  54. package/dist/src/tree/PRESET_TREE_BASIC.d.ts +4 -0
  55. package/dist/src/tree/index.d.ts +1 -0
  56. package/dist/src/types.d.ts +112 -37
  57. package/package.json +3 -3
  58. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +62 -0
  59. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +59 -0
  60. package/src/grid/PRESET_BARS_ROUND.ts +46 -0
  61. package/src/grid/PRESET_BARS_THIN.ts +43 -0
  62. package/src/grid/PRESET_GRID_BASIC.ts +25 -0
  63. package/src/grid/PRESET_GRID_HORIZONTAL.ts +42 -0
  64. package/src/grid/PRESET_GRID_PN_SCALE.ts +33 -0
  65. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +30 -0
  66. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +35 -0
  67. package/src/grid/PRESET_LINES_BASIC.ts +44 -0
  68. package/src/grid/PRESET_LINES_CURVE.ts +47 -0
  69. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +46 -0
  70. package/src/grid/PRESET_LINES_HORIZONTAL.ts +60 -0
  71. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +46 -0
  72. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +47 -0
  73. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +48 -0
  74. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +54 -0
  75. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +59 -0
  76. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +58 -0
  77. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +58 -0
  78. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +56 -0
  79. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +57 -0
  80. package/src/grid/PRESET_LINE_AREAS_SEPARATE_GRID.ts +59 -0
  81. package/src/grid/index.ts +23 -0
  82. package/src/index.ts +4 -404
  83. package/src/multiGrid/PRESET_MULTI_GRID_2_GRID_SLOT.ts +59 -0
  84. package/src/multiGrid/PRESET_MULTI_GRID_3_GRID_SLOT.ts +59 -0
  85. package/src/multiGrid/PRESET_MULTI_GRID_4_GRID_SLOT.ts +59 -0
  86. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +36 -0
  87. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +85 -0
  88. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +57 -0
  89. package/src/multiGrid/PRESET_MULTI_LINES_2_GRID_SLOT.ts +91 -0
  90. package/src/multiGrid/PRESET_MULTI_LINES_3_GRID_SLOT.ts +91 -0
  91. package/src/multiGrid/PRESET_MULTI_LINES_4_GRID_SLOT.ts +91 -0
  92. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_2_GRID_SLOT.ts +109 -0
  93. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_3_GRID_SLOT.ts +115 -0
  94. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_4_GRID_SLOT.ts +121 -0
  95. package/src/multiGrid/index.ts +12 -0
  96. package/src/params.ts +57 -0
  97. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +19 -0
  98. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -0
  99. package/src/series/PRESET_PIE_DONUT.ts +23 -0
  100. package/src/series/PRESET_PIE_HALF_DONUT.ts +36 -0
  101. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +24 -0
  102. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +23 -0
  103. package/src/series/PRESET_SERIES_BASIC.ts +15 -0
  104. package/src/series/PRESET_SERIES_DESC.ts +15 -0
  105. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +15 -0
  106. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +16 -0
  107. package/src/series/PRESET_SERIES_SUM_SERIES.ts +15 -0
  108. package/src/series/index.ts +11 -0
  109. package/src/tree/PRESET_TREE_BASIC.ts +25 -0
  110. package/src/tree/index.ts +1 -0
  111. package/src/types.ts +237 -56
  112. package/tsconfig.json +1 -1
  113. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +0 -3
  114. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  115. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +0 -3
  116. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  117. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +0 -3
  118. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +0 -3
  119. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  120. package/dist/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.d.ts +0 -3
  121. package/dist/src/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -3
  122. package/dist/src/chartParamsFiles/CP_LONG_PADDING.d.ts +0 -3
  123. package/dist/src/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -3
  124. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -3
  125. package/dist/src/chartParamsFiles/index.d.ts +0 -12
  126. package/dist/src/createPreset.d.ts +0 -9
  127. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +0 -3
  128. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +0 -3
  129. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +0 -3
  130. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +0 -3
  131. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.d.ts +0 -3
  132. package/dist/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.d.ts +0 -3
  133. package/dist/src/gridDataFormatterFiles/DF_GRID_PN_SCALE.d.ts +0 -3
  134. package/dist/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.d.ts +0 -3
  135. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.d.ts +0 -3
  136. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.d.ts +0 -3
  137. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.d.ts +0 -3
  138. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.d.ts +0 -3
  139. package/dist/src/gridDataFormatterFiles/index.d.ts +0 -6
  140. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -4
  141. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -4
  142. package/dist/src/gridPluginParamsFiles/Bars/index.d.ts +0 -2
  143. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -4
  144. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -4
  145. package/dist/src/gridPluginParamsFiles/Dots/index.d.ts +0 -2
  146. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -4
  147. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  148. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +0 -4
  149. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +0 -3
  150. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_LOOSE_TICKS.d.ts +0 -4
  151. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -4
  152. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_TENSE_TICKS.d.ts +0 -4
  153. package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -3
  154. package/dist/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.d.ts +0 -4
  155. package/dist/src/gridPluginParamsFiles/LineAreas/index.d.ts +0 -1
  156. package/dist/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -4
  157. package/dist/src/gridPluginParamsFiles/Lines/index.d.ts +0 -1
  158. package/dist/src/gridPluginParamsFiles/index.d.ts +0 -6
  159. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +0 -3
  160. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +0 -3
  161. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +0 -3
  162. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.d.ts +0 -3
  163. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.d.ts +0 -3
  164. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.d.ts +0 -3
  165. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +0 -3
  166. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +0 -3
  167. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +0 -3
  168. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +0 -3
  169. package/dist/src/multiGridDataFormatterFiles/index.d.ts +0 -3
  170. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +0 -4
  171. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +0 -4
  172. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +0 -4
  173. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +0 -3
  174. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +0 -4
  175. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +0 -4
  176. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +0 -4
  177. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +0 -4
  178. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +0 -4
  179. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +0 -4
  180. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +0 -4
  181. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +0 -4
  182. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +0 -3
  183. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.d.ts +0 -4
  184. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.d.ts +0 -4
  185. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.d.ts +0 -4
  186. package/dist/src/multiGridPluginParamsFiles/MultiDots/index.d.ts +0 -3
  187. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +0 -4
  188. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  189. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +0 -4
  190. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +0 -4
  191. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +0 -4
  192. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +0 -4
  193. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +0 -4
  194. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +0 -4
  195. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.d.ts +0 -4
  196. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +0 -4
  197. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +0 -4
  198. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +0 -4
  199. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +0 -4
  200. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.d.ts +0 -4
  201. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/index.d.ts +0 -4
  202. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +0 -4
  203. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +0 -4
  204. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +0 -4
  205. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +0 -4
  206. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +0 -4
  207. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +0 -4
  208. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +0 -4
  209. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +0 -4
  210. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.d.ts +0 -0
  211. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +0 -3
  212. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.d.ts +0 -4
  213. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.d.ts +0 -4
  214. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.d.ts +0 -4
  215. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_PN.d.ts +0 -0
  216. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/index.d.ts +0 -3
  217. package/dist/src/multiGridPluginParamsFiles/index.d.ts +0 -10
  218. package/dist/src/multiValueDataFormatterFiles/index.d.ts +0 -1
  219. package/dist/src/multiValuePluginParamsFiles/index.d.ts +0 -1
  220. package/dist/src/relationshipDataFormatterFiles/index.d.ts +0 -1
  221. package/dist/src/relationshipPluginParamsFiles/index.d.ts +0 -1
  222. package/dist/src/seriesDataFormatterFiles/DF_SERIES_DESC.d.ts +0 -3
  223. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.d.ts +0 -3
  224. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.d.ts +0 -3
  225. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +0 -3
  226. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.d.ts +0 -3
  227. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.d.ts +0 -3
  228. package/dist/src/seriesDataFormatterFiles/index.d.ts +0 -6
  229. package/dist/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -4
  230. package/dist/src/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -1
  231. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
  232. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -4
  233. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -4
  234. package/dist/src/seriesPluginParamsFiles/Pie/index.d.ts +0 -2
  235. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -4
  236. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -4
  237. package/dist/src/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -2
  238. package/dist/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.d.ts +0 -4
  239. package/dist/src/seriesPluginParamsFiles/Rose/index.d.ts +0 -1
  240. package/dist/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.d.ts +0 -4
  241. package/dist/src/seriesPluginParamsFiles/RoseLabels/index.d.ts +0 -1
  242. package/dist/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -4
  243. package/dist/src/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -1
  244. package/dist/src/seriesPluginParamsFiles/index.d.ts +0 -6
  245. package/dist/src/treeDataFormatterFiles/index.d.ts +0 -1
  246. package/dist/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +0 -4
  247. package/dist/src/treePluginParamsFiles/TreeLegend/index.d.ts +0 -1
  248. package/dist/src/treePluginParamsFiles/index.d.ts +0 -1
  249. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +0 -14
  250. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  251. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +0 -14
  252. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  253. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +0 -14
  254. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +0 -15
  255. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  256. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +0 -14
  257. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +0 -14
  258. package/src/chartParamsFiles/CP_LONG_PADDING.ts +0 -14
  259. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +0 -14
  260. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +0 -14
  261. package/src/chartParamsFiles/index.ts +0 -13
  262. package/src/createPreset.ts +0 -88
  263. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +0 -17
  264. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +0 -17
  265. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +0 -17
  266. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +0 -23
  267. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +0 -18
  268. package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +0 -14
  269. package/src/gridDataFormatterFiles/DF_GRID_PN_SCALE.ts +0 -15
  270. package/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.ts +0 -17
  271. package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +0 -20
  272. package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +0 -20
  273. package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +0 -20
  274. package/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.ts +0 -20
  275. package/src/gridDataFormatterFiles/index.ts +0 -12
  276. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +0 -15
  277. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +0 -14
  278. package/src/gridPluginParamsFiles/Bars/index.ts +0 -2
  279. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -12
  280. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +0 -14
  281. package/src/gridPluginParamsFiles/Dots/index.ts +0 -2
  282. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +0 -14
  283. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -15
  284. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +0 -15
  285. package/src/gridPluginParamsFiles/GridLegend/index.ts +0 -3
  286. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_LOOSE_TICKS.ts +0 -12
  287. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +0 -13
  288. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_TENSE_TICKS.ts +0 -14
  289. package/src/gridPluginParamsFiles/GroupAxis/index.ts +0 -3
  290. package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +0 -12
  291. package/src/gridPluginParamsFiles/LineAreas/index.ts +0 -1
  292. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +0 -13
  293. package/src/gridPluginParamsFiles/Lines/index.ts +0 -1
  294. package/src/gridPluginParamsFiles/index.ts +0 -7
  295. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +0 -22
  296. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +0 -25
  297. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +0 -28
  298. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.ts +0 -36
  299. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.ts +0 -36
  300. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.ts +0 -22
  301. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +0 -28
  302. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +0 -34
  303. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +0 -40
  304. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.ts +0 -28
  305. package/src/multiGridDataFormatterFiles/index.ts +0 -9
  306. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +0 -12
  307. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +0 -12
  308. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +0 -12
  309. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +0 -4
  310. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +0 -12
  311. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +0 -12
  312. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +0 -12
  313. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +0 -15
  314. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +0 -5
  315. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +0 -12
  316. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +0 -12
  317. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +0 -12
  318. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +0 -3
  319. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.ts +0 -12
  320. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.ts +0 -12
  321. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.ts +0 -12
  322. package/src/multiGridPluginParamsFiles/MultiDots/index.ts +0 -3
  323. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +0 -14
  324. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -28
  325. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +0 -21
  326. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +0 -22
  327. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +0 -4
  328. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +0 -13
  329. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +0 -13
  330. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +0 -13
  331. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.ts +0 -13
  332. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +0 -4
  333. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.ts +0 -12
  334. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.ts +0 -12
  335. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.ts +0 -12
  336. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.ts +0 -12
  337. package/src/multiGridPluginParamsFiles/MultiLineAreas/index.ts +0 -4
  338. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +0 -12
  339. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +0 -12
  340. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +0 -12
  341. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +0 -13
  342. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +0 -4
  343. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +0 -12
  344. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +0 -12
  345. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +0 -12
  346. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.ts +0 -0
  347. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +0 -3
  348. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.ts +0 -12
  349. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.ts +0 -12
  350. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.ts +0 -12
  351. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_PN.ts +0 -0
  352. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/index.ts +0 -3
  353. package/src/multiGridPluginParamsFiles/index.ts +0 -10
  354. package/src/multiValueDataFormatterFiles/index.ts +0 -1
  355. package/src/multiValuePluginParamsFiles/index.ts +0 -1
  356. package/src/relationshipDataFormatterFiles/index.ts +0 -1
  357. package/src/relationshipPluginParamsFiles/index.ts +0 -1
  358. package/src/seriesDataFormatterFiles/DF_SERIES_DESC.ts +0 -10
  359. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.ts +0 -10
  360. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.ts +0 -11
  361. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +0 -11
  362. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.ts +0 -10
  363. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.ts +0 -11
  364. package/src/seriesDataFormatterFiles/index.ts +0 -8
  365. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +0 -12
  366. package/src/seriesPluginParamsFiles/Bubbles/index.ts +0 -1
  367. package/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.ts +0 -0
  368. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +0 -12
  369. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +0 -14
  370. package/src/seriesPluginParamsFiles/Pie/index.ts +0 -2
  371. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +0 -13
  372. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +0 -13
  373. package/src/seriesPluginParamsFiles/PieLabels/index.ts +0 -2
  374. package/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.ts +0 -12
  375. package/src/seriesPluginParamsFiles/Rose/index.ts +0 -2
  376. package/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.ts +0 -12
  377. package/src/seriesPluginParamsFiles/RoseLabels/index.ts +0 -1
  378. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +0 -12
  379. package/src/seriesPluginParamsFiles/SeriesLegend/index.ts +0 -1
  380. package/src/seriesPluginParamsFiles/index.ts +0 -6
  381. package/src/treeDataFormatterFiles/index.ts +0 -1
  382. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +0 -14
  383. package/src/treePluginParamsFiles/TreeLegend/index.ts +0 -1
  384. package/src/treePluginParamsFiles/index.ts +0 -1
@@ -1,43 +1,118 @@
1
- import { ChartParamsPartial, DataFormatterPartialTypeMap, ChartType } from '@orbcharts/core';
1
+ import { BubblesParams, PieParams, PieEventTextsParams, PieLabelsParams, RoseParams, RoseLabelsParams, SeriesLegendParams, BarsParams, BarsPNParams, BarStackParams, BarsTriangleParams, DotsParams, GridLegendParams, GroupAuxParams, GroupAxisParams, LineAreasParams, LinesParams, ScalingAreaParams, ValueAxisParams, ValueStackAxisParams, MultiBarsParams, MultiBarStackParams, MultiBarsTriangleParams, MultiDotsParams, MultiGridLegendParams, MultiGroupAxisParams, MultiLineAreasParams, MultiLinesParams, MultiValueAxisParams, MultiValueStackAxisParams, OverlappingValueAxesParams, OverlappingValueStackAxesParams, TreeLegendParams, TreeMapParams, TooltipParams } from '@orbcharts/plugins-basic';
2
2
 
3
- import * as chartParams from './chartParamsFiles';
4
- import * as seriesDataFormatters from './seriesDataFormatterFiles';
5
- import * as seriesPluginParams from './seriesPluginParamsFiles';
6
- import * as gridDataFormatters from './gridDataFormatterFiles';
7
- import * as gridPluginParams from './gridPluginParamsFiles';
8
- import * as multiGridDataFormatters from './multiGridDataFormatterFiles';
9
- import * as multiGridPluginParams from './multiGridPluginParamsFiles';
10
- import * as multiValueDataFormatters from './multiValueDataFormatterFiles';
11
- import * as multiValuePluginParams from './multiValuePluginParamsFiles';
12
- import * as relationshipDataFormatters from './relationshipDataFormatterFiles';
13
- import * as relationshipPluginParams from './relationshipPluginParamsFiles';
14
- import * as treeDataFormatters from './treeDataFormatterFiles';
15
- import * as treePluginParams from './treePluginParamsFiles';
16
3
  type DeepPartial<T> = Partial<{
17
4
  [P in keyof T]: DeepPartial<T[P]>;
18
5
  }>;
19
- export interface ChartParamsFile {
20
- id: string;
21
- description: string;
22
- data: ChartParamsPartial;
23
- }
24
- export interface DataFormatterFile<T extends ChartType> {
25
- id: string;
26
- chartType: T;
27
- description: string;
28
- data: DataFormatterPartialTypeMap<T>;
29
- }
30
- export interface PluginParamsFile<PluginParams> {
31
- id: string;
32
- chartType: ChartType;
33
- pluginName: string;
34
- description: string;
35
- data: DeepPartial<PluginParams>;
36
- }
37
- export interface PresetFile<T extends ChartType> {
38
- chartParamsId?: keyof typeof chartParams;
39
- dataFormatterId?: T extends 'series' ? keyof typeof seriesDataFormatters : T extends 'grid' ? keyof typeof gridDataFormatters : T extends 'multiGrid' ? keyof typeof multiGridDataFormatters : T extends 'multiValue' ? keyof typeof multiValueDataFormatters : T extends 'relationship' ? keyof typeof relationshipDataFormatters : T extends 'tree' ? keyof typeof treeDataFormatters : undefined;
40
- allPluginParamsIds?: T extends 'series' ? (keyof typeof seriesPluginParams)[] : T extends 'grid' ? (keyof typeof gridPluginParams)[] : T extends 'multiGrid' ? (keyof typeof multiGridPluginParams)[] : T extends 'multiValue' ? (keyof typeof multiValuePluginParams)[] : T extends 'relationship' ? (keyof typeof relationshipPluginParams)[] : T extends 'tree' ? (keyof typeof treePluginParams)[] : undefined;
41
- description: string;
6
+ export type PresetSeriesPluginParams = PresetBubblesParams & PresetPieParams & PresetPieEventTextsParams & PresetPieLabelsParams & PresetRoseParams & PresetRoseLabelsParams & PresetSeriesLegendParams;
7
+ export interface PresetBubblesParams {
8
+ Bubbles: Partial<BubblesParams>;
9
+ }
10
+ export interface PresetPieParams {
11
+ Pie: Partial<PieParams>;
12
+ }
13
+ export interface PresetPieEventTextsParams {
14
+ PieEventTexts: Partial<PieEventTextsParams>;
15
+ }
16
+ export interface PresetPieLabelsParams {
17
+ PieLabels: Partial<PieLabelsParams>;
18
+ }
19
+ export interface PresetRoseParams {
20
+ Rose: Partial<RoseParams>;
21
+ }
22
+ export interface PresetRoseLabelsParams {
23
+ RoseLabels: Partial<RoseLabelsParams>;
24
+ }
25
+ export interface PresetSeriesLegendParams {
26
+ SeriesLegend: Partial<SeriesLegendParams>;
27
+ }
28
+ export type PresetGridPluginParams = PresetBarsParams & PresetBarsPNParams & PresetBarStackParams & PresetBarsTriangleParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAuxParams & PresetGroupAxisParams & PresetLineAreasParams & PresetLinesParams & PresetScalingAreaParams & PresetValueAxisParams & PresetValueStackAxisParams;
29
+ export interface PresetBarsParams {
30
+ Bars: Partial<BarsParams>;
31
+ }
32
+ export interface PresetBarsPNParams {
33
+ BarsPN: Partial<BarsPNParams>;
34
+ }
35
+ export interface PresetBarStackParams {
36
+ BarStack: Partial<BarStackParams>;
37
+ }
38
+ export interface PresetBarsTriangleParams {
39
+ BarsTriangle: Partial<BarsTriangleParams>;
40
+ }
41
+ export interface PresetDotsParams {
42
+ Dots: Partial<DotsParams>;
43
+ }
44
+ export interface PresetGridLegendParams {
45
+ GridLegend: Partial<GridLegendParams>;
46
+ }
47
+ export interface PresetGroupAuxParams {
48
+ GroupAux: Partial<GroupAuxParams>;
49
+ }
50
+ export interface PresetGroupAxisParams {
51
+ GroupAxis: Partial<GroupAxisParams>;
52
+ }
53
+ export interface PresetLineAreasParams {
54
+ LineAreas: Partial<LineAreasParams>;
55
+ }
56
+ export interface PresetLinesParams {
57
+ Lines: Partial<LinesParams>;
58
+ }
59
+ export interface PresetScalingAreaParams {
60
+ ScalingArea: Partial<ScalingAreaParams>;
61
+ }
62
+ export interface PresetValueAxisParams {
63
+ ValueAxis: Partial<ValueAxisParams>;
64
+ }
65
+ export interface PresetValueStackAxisParams {
66
+ ValueStackAxis: Partial<ValueStackAxisParams>;
67
+ }
68
+ export type PresetMultiGridPluginParams = PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetMultiGroupAxisParams & PresetMultiLineAreasParams & PresetMultiLinesParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetOverlappingValueAxesParams & PresetOverlappingValueStackAxesParams;
69
+ export type PresetMultiGridSepratedPluginParams = Omit<PresetMultiGridPluginParams, 'OverlappingValueAxes' | 'OverlappingValueStackAxes'>;
70
+ export type PresetMultiGridOverlappedPluginParams = Omit<PresetMultiGridPluginParams, 'PresetMultiGroupAxisParams' | 'PresetMultiValueAxisParams'>;
71
+ export interface PresetMultiBarsParams {
72
+ MultiBars: Partial<MultiBarsParams>;
73
+ }
74
+ export interface PresetMultiBarStackParams {
75
+ MultiBarStack: Partial<MultiBarStackParams>;
76
+ }
77
+ export interface PresetMultiBarsTriangleParams {
78
+ MultiBarsTriangle: Partial<MultiBarsTriangleParams>;
79
+ }
80
+ export interface PresetMultiDotsParams {
81
+ MultiDots: Partial<MultiDotsParams>;
82
+ }
83
+ export interface PresetMultiGridLegendParams {
84
+ MultiGridLegend: DeepPartial<MultiGridLegendParams>;
85
+ }
86
+ export interface PresetMultiGroupAxisParams {
87
+ MultiGroupAxis: Partial<MultiGroupAxisParams>;
88
+ }
89
+ export interface PresetMultiLineAreasParams {
90
+ MultiLineAreas: Partial<MultiLineAreasParams>;
91
+ }
92
+ export interface PresetMultiLinesParams {
93
+ MultiLines: Partial<MultiLinesParams>;
94
+ }
95
+ export interface PresetMultiValueAxisParams {
96
+ MultiValueAxis: Partial<MultiValueAxisParams>;
97
+ }
98
+ export interface PresetMultiValueStackAxisParams {
99
+ MultiValueStackAxis: Partial<MultiValueStackAxisParams>;
100
+ }
101
+ export interface PresetOverlappingValueAxesParams {
102
+ OverlappingValueAxes: Partial<OverlappingValueAxesParams>;
103
+ }
104
+ export interface PresetOverlappingValueStackAxesParams {
105
+ OverlappingValueStackAxes: Partial<OverlappingValueStackAxesParams>;
106
+ }
107
+ export type PresetTreePluginParams = PresetTreeLegendParams & PresetTreeMapParams;
108
+ export interface PresetTreeLegendParams {
109
+ TreeLegend: Partial<TreeLegendParams>;
110
+ }
111
+ export interface PresetTreeMapParams {
112
+ TreeMap: Partial<TreeMapParams>;
113
+ }
114
+ export type PresetNoneDataPluginParams = PresetTooltipParams;
115
+ export interface PresetTooltipParams {
116
+ Tooltip: Partial<TooltipParams>;
42
117
  }
43
118
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbcharts/presets-basic",
3
- "version": "3.0.0-alpha.22",
3
+ "version": "3.0.0-alpha.23",
4
4
  "description": "presets for OrbCharts",
5
5
  "author": "Blue Planet Inc.",
6
6
  "license": "Apache-2.0",
@@ -35,8 +35,8 @@
35
35
  "vite-plugin-dts": "^3.7.3"
36
36
  },
37
37
  "dependencies": {
38
- "@orbcharts/core": "^3.0.0-alpha.48",
39
- "@orbcharts/plugins-basic": "^3.0.0-alpha.52",
38
+ "@orbcharts/core": "^3.0.0-alpha.49",
39
+ "@orbcharts/plugins-basic": "^3.0.0-alpha.53",
40
40
  "d3": "^7.8.5",
41
41
  "rxjs": "^7.8.1"
42
42
  }
@@ -0,0 +1,62 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetBarsParams,
3
+ PresetGroupAxisParams,
4
+ PresetValueAxisParams,
5
+ PresetGroupAuxParams,
6
+ PresetGridLegendParams,
7
+ PresetNoneDataPluginParams
8
+ } from '../types'
9
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
10
+
11
+ export const PRESET_BARS_HORIZONTAL_AND_ROUND: PresetPartial<'grid', PresetBarsParams
12
+ & PresetGroupAxisParams
13
+ & PresetValueAxisParams
14
+ & PresetGroupAuxParams
15
+ & PresetGridLegendParams
16
+ & PresetNoneDataPluginParams> = {
17
+ name: 'PRESET_BARS_HORIZONTAL_AND_ROUND',
18
+ description: '橫向圓角長條圖',
19
+ chartParams: {
20
+ padding: {
21
+ top: 60,
22
+ right: 60,
23
+ bottom: 120,
24
+ left: 160
25
+ },
26
+ },
27
+ dataFormatter: {
28
+ grid: {
29
+ valueAxis: {
30
+ position: 'bottom'
31
+ // position: 'top'
32
+ // position: 'left'
33
+ // position: 'right'
34
+ },
35
+ groupAxis: {
36
+ position: 'left'
37
+ // position: 'right'
38
+ // position: 'bottom'
39
+ // position: 'top'
40
+ },
41
+ }
42
+ },
43
+ allPluginParams: {
44
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
45
+ Bars: {
46
+ barWidth: 0,
47
+ barPadding: 1,
48
+ barGroupPadding: 10,
49
+ barRadius: true,
50
+ },
51
+ GroupAxis: {},
52
+ ValueAxis: {},
53
+ GroupAux: {},
54
+ GridLegend: {
55
+ // 底部圖例及圓弧列點
56
+ position: 'bottom',
57
+ justify: 'center',
58
+ padding: 14,
59
+ listRectRadius: 7,
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,59 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetBarsParams,
3
+ PresetGroupAxisParams,
4
+ PresetValueAxisParams,
5
+ PresetGroupAuxParams,
6
+ PresetGridLegendParams,
7
+ PresetNoneDataPluginParams
8
+ } from '../types'
9
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
10
+
11
+ export const PRESET_BARS_HORIZONTAL_AND_THIN: PresetPartial<'grid', PresetBarsParams
12
+ & PresetGroupAxisParams
13
+ & PresetValueAxisParams
14
+ & PresetGroupAuxParams
15
+ & PresetGridLegendParams
16
+ & PresetNoneDataPluginParams> = {
17
+ name: 'PRESET_BARS_HORIZONTAL_AND_THIN',
18
+ description: '橫向細長長條圖',
19
+ chartParams: {
20
+ padding: {
21
+ top: 60,
22
+ right: 60,
23
+ bottom: 120,
24
+ left: 160
25
+ },
26
+ },
27
+ dataFormatter: {
28
+ grid: {
29
+ valueAxis: {
30
+ position: 'bottom'
31
+ // position: 'top'
32
+ // position: 'left'
33
+ // position: 'right'
34
+ },
35
+ groupAxis: {
36
+ position: 'left'
37
+ // position: 'right'
38
+ // position: 'bottom'
39
+ // position: 'top'
40
+ },
41
+ }
42
+ },
43
+ allPluginParams: {
44
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
45
+ Bars: {
46
+ barWidth: 20,
47
+ barPadding: 1,
48
+ barGroupPadding: 10
49
+ },
50
+ GroupAxis: {},
51
+ ValueAxis: {},
52
+ GroupAux: {},
53
+ GridLegend: {
54
+ position: 'bottom',
55
+ justify: 'center',
56
+ padding: 14,
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,46 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetBarsParams,
3
+ PresetGroupAxisParams,
4
+ PresetValueAxisParams,
5
+ PresetGroupAuxParams,
6
+ PresetGridLegendParams,
7
+ PresetNoneDataPluginParams
8
+ } from '../types'
9
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
10
+
11
+ export const PRESET_BARS_ROUND: PresetPartial<'grid', PresetBarsParams
12
+ & PresetGroupAxisParams
13
+ & PresetValueAxisParams
14
+ & PresetGroupAuxParams
15
+ & PresetGridLegendParams
16
+ & PresetNoneDataPluginParams> = {
17
+ name: 'PRESET_BARS_ROUND',
18
+ description: '圓角長條圖',
19
+ chartParams: {
20
+ padding: {
21
+ top: 60,
22
+ right: 60,
23
+ bottom: 120,
24
+ left: 60
25
+ },
26
+ },
27
+ allPluginParams: {
28
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
29
+ Bars: {
30
+ barWidth: 0,
31
+ barPadding: 1,
32
+ barGroupPadding: 10,
33
+ barRadius: true,
34
+ },
35
+ GroupAxis: {},
36
+ ValueAxis: {},
37
+ GroupAux: {},
38
+ GridLegend: {
39
+ // 底部圖例及圓弧列點
40
+ position: 'bottom',
41
+ justify: 'center',
42
+ padding: 14,
43
+ listRectRadius: 7,
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,43 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetBarsParams,
3
+ PresetGroupAxisParams,
4
+ PresetValueAxisParams,
5
+ PresetGroupAuxParams,
6
+ PresetGridLegendParams,
7
+ PresetNoneDataPluginParams
8
+ } from '../types'
9
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
10
+
11
+ export const PRESET_BARS_THIN: PresetPartial<'grid', PresetBarsParams
12
+ & PresetGroupAxisParams
13
+ & PresetValueAxisParams
14
+ & PresetGroupAuxParams
15
+ & PresetGridLegendParams
16
+ & PresetNoneDataPluginParams> = {
17
+ name: 'PRESET_BARS_THIN',
18
+ description: '細長條圖',
19
+ chartParams: {
20
+ padding: {
21
+ top: 60,
22
+ right: 60,
23
+ bottom: 120,
24
+ left: 60
25
+ },
26
+ },
27
+ allPluginParams: {
28
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
29
+ Bars: {
30
+ barWidth: 20,
31
+ barPadding: 1,
32
+ barGroupPadding: 10
33
+ },
34
+ GroupAxis: {},
35
+ ValueAxis: {},
36
+ GroupAux: {},
37
+ GridLegend: {
38
+ position: 'bottom',
39
+ justify: 'center',
40
+ padding: 14,
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,25 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetGridPluginParams, PresetNoneDataPluginParams } from '../types'
3
+ import { ALL_PLUGIN_PARAMS_GRID, ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
4
+
5
+ export const PRESET_GRID_BASIC: PresetPartial<'grid', PresetGridPluginParams & PresetNoneDataPluginParams> = {
6
+ name: 'PRESET_GRID_BASIC',
7
+ description: '基本Grid參數',
8
+ chartParams: {
9
+ padding: {
10
+ top: 60,
11
+ right: 60,
12
+ bottom: 120,
13
+ left: 60
14
+ },
15
+ },
16
+ allPluginParams: {
17
+ ...ALL_PLUGIN_PARAMS_GRID,
18
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
19
+ GridLegend: {
20
+ position: 'bottom',
21
+ justify: 'center',
22
+ padding: 14,
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,42 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetGridPluginParams, PresetNoneDataPluginParams } from '../types'
3
+ import { ALL_PLUGIN_PARAMS_GRID, ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
4
+
5
+ export const PRESET_GRID_HORIZONTAL: PresetPartial<'grid', PresetGridPluginParams & PresetNoneDataPluginParams> = {
6
+ name: 'PRESET_GRID_HORIZONTAL',
7
+ description: '橫向圖',
8
+ chartParams: {
9
+ // 間距下面及左邊留空
10
+ padding: {
11
+ top: 60,
12
+ right: 60,
13
+ bottom: 120,
14
+ left: 160
15
+ },
16
+ },
17
+ dataFormatter: {
18
+ grid: {
19
+ valueAxis: {
20
+ position: 'bottom'
21
+ // position: 'top'
22
+ // position: 'left'
23
+ // position: 'right'
24
+ },
25
+ groupAxis: {
26
+ position: 'left'
27
+ // position: 'right'
28
+ // position: 'bottom'
29
+ // position: 'top'
30
+ },
31
+ }
32
+ },
33
+ allPluginParams: {
34
+ ...ALL_PLUGIN_PARAMS_GRID,
35
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
36
+ GridLegend: {
37
+ position: 'bottom',
38
+ justify: 'center',
39
+ padding: 14,
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,33 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetGridPluginParams, PresetNoneDataPluginParams } from '../types'
3
+ import { ALL_PLUGIN_PARAMS_GRID, ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
4
+
5
+ export const PRESET_GRID_PN_SCALE: PresetPartial<'grid', PresetGridPluginParams & PresetNoneDataPluginParams> = {
6
+ name: 'PRESET_GRID_PN_SCALE',
7
+ description: '正負值分向圖',
8
+ chartParams: {
9
+ padding: {
10
+ top: 60,
11
+ right: 60,
12
+ bottom: 120,
13
+ left: 60
14
+ },
15
+ },
16
+ dataFormatter: {
17
+ grid: {
18
+ valueAxis: {
19
+ scaleDomain: ['auto', 'auto'],
20
+ scaleRange: [0.05, 0.95],
21
+ },
22
+ }
23
+ },
24
+ allPluginParams: {
25
+ ...ALL_PLUGIN_PARAMS_GRID,
26
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
27
+ GridLegend: {
28
+ position: 'bottom',
29
+ justify: 'center',
30
+ padding: 14,
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,30 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetGridPluginParams, PresetNoneDataPluginParams } from '../types'
3
+ import { ALL_PLUGIN_PARAMS_GRID, ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
4
+
5
+ export const PRESET_GRID_ROTATE_AXIS_LABEL: PresetPartial<'grid', PresetGridPluginParams & PresetNoneDataPluginParams> = {
6
+ name: 'PRESET_GRID_ROTATE_AXIS_LABEL',
7
+ description: '傾斜標籤',
8
+ chartParams: {
9
+ // 間距下面加長留空
10
+ padding: {
11
+ top: 60,
12
+ right: 60,
13
+ bottom: 160,
14
+ left: 60
15
+ },
16
+ },
17
+ allPluginParams: {
18
+ ...ALL_PLUGIN_PARAMS_GRID,
19
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
20
+ GroupAxis: {
21
+ tickPadding: 15,
22
+ tickTextRotate: -30
23
+ },
24
+ GridLegend: {
25
+ position: 'bottom',
26
+ justify: 'center',
27
+ padding: 14,
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,35 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetGridPluginParams, PresetNoneDataPluginParams } from '../types'
3
+ import { ALL_PLUGIN_PARAMS_GRID, ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
4
+
5
+ export const PRESET_GRID_SEPARATE_SERIES: PresetPartial<'grid', PresetGridPluginParams & PresetNoneDataPluginParams> = {
6
+ name: 'PRESET_GRID_SEPARATE_SERIES',
7
+ description: '分開顯示Series',
8
+ chartParams: {
9
+ padding: {
10
+ top: 60,
11
+ right: 60,
12
+ bottom: 160,
13
+ left: 60
14
+ },
15
+ },
16
+ dataFormatter: {
17
+ grid: {
18
+ // seriesSlotIndexes: [0, 1],
19
+ separateSeries: true,
20
+ },
21
+ },
22
+ allPluginParams: {
23
+ ...ALL_PLUGIN_PARAMS_GRID,
24
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
25
+ GroupAxis: {
26
+ tickPadding: 15,
27
+ tickTextRotate: -30
28
+ },
29
+ GridLegend: {
30
+ position: 'bottom',
31
+ justify: 'center',
32
+ padding: 14,
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,44 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetLinesParams,
3
+ PresetDotsParams,
4
+ PresetGroupAxisParams,
5
+ PresetValueAxisParams,
6
+ PresetGroupAuxParams,
7
+ PresetGridLegendParams,
8
+ PresetNoneDataPluginParams
9
+ } from '../types'
10
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
11
+
12
+ export const PRESET_LINES_BASIC: PresetPartial<'grid', PresetLinesParams
13
+ & PresetDotsParams
14
+ & PresetGridLegendParams
15
+ & PresetGroupAxisParams
16
+ & PresetValueAxisParams
17
+ & PresetGroupAuxParams
18
+ & PresetNoneDataPluginParams> = {
19
+ name: 'PRESET_LINES_BASIC',
20
+ description: '基本Lines參數',
21
+ chartParams: {
22
+ padding: {
23
+ top: 60,
24
+ right: 60,
25
+ bottom: 120,
26
+ left: 60
27
+ },
28
+ highlightTarget: 'series'
29
+ },
30
+ allPluginParams: {
31
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
32
+ Lines: {},
33
+ Dots: {},
34
+ GroupAxis: {},
35
+ ValueAxis: {},
36
+ GroupAux: {},
37
+ GridLegend: {
38
+ position: 'bottom',
39
+ justify: 'center',
40
+ padding: 14,
41
+ listRectHeight: 2
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,47 @@
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type { PresetLinesParams,
3
+ PresetDotsParams,
4
+ PresetGroupAxisParams,
5
+ PresetValueAxisParams,
6
+ PresetGroupAuxParams,
7
+ PresetGridLegendParams,
8
+ PresetNoneDataPluginParams
9
+ } from '../types'
10
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
11
+
12
+ export const PRESET_LINES_CURVE: PresetPartial<'grid', PresetLinesParams
13
+ & PresetDotsParams
14
+ & PresetGridLegendParams
15
+ & PresetGroupAxisParams
16
+ & PresetValueAxisParams
17
+ & PresetGroupAuxParams
18
+ & PresetNoneDataPluginParams> = {
19
+ name: 'PRESET_LINES_CURVE',
20
+ description: '弧線折線圖',
21
+ chartParams: {
22
+ padding: {
23
+ top: 60,
24
+ right: 60,
25
+ bottom: 120,
26
+ left: 60
27
+ },
28
+ highlightTarget: 'series'
29
+ },
30
+ allPluginParams: {
31
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
32
+ Lines: {
33
+ lineCurve: 'curveMonotoneX',
34
+ lineWidth: 3
35
+ },
36
+ Dots: {},
37
+ GroupAxis: {},
38
+ ValueAxis: {},
39
+ GroupAux: {},
40
+ GridLegend: {
41
+ position: 'bottom',
42
+ justify: 'center',
43
+ padding: 14,
44
+ listRectHeight: 2
45
+ }
46
+ }
47
+ }