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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. package/dist/orbcharts-presets-basic.es.js +1058 -141
  2. package/dist/orbcharts-presets-basic.umd.js +1 -1
  3. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +3 -0
  4. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  5. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  6. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  7. package/dist/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.d.ts +3 -0
  8. package/dist/src/chartParamsFiles/CP_LONG_PADDING.d.ts +3 -0
  9. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +3 -0
  10. package/dist/src/chartParamsFiles/index.d.ts +7 -0
  11. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +3 -0
  12. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +3 -0
  13. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +3 -0
  14. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +3 -0
  15. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.d.ts +3 -0
  16. package/dist/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.d.ts +3 -0
  17. package/dist/src/gridDataFormatterFiles/DF_GRID_PN_SCALE.d.ts +3 -0
  18. package/dist/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.d.ts +3 -0
  19. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.d.ts +3 -0
  20. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.d.ts +3 -0
  21. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.d.ts +3 -0
  22. package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.d.ts +3 -0
  23. package/dist/src/gridDataFormatterFiles/index.d.ts +6 -1
  24. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +4 -0
  25. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +1 -0
  26. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_LOOSE_TICKS.d.ts +4 -0
  27. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_TENSE_TICKS.d.ts +4 -0
  28. package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +2 -0
  29. package/dist/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.d.ts +4 -0
  30. package/dist/src/gridPluginParamsFiles/LineAreas/index.d.ts +1 -0
  31. package/dist/src/gridPluginParamsFiles/index.d.ts +1 -0
  32. package/dist/src/index.d.ts +33 -0
  33. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +3 -0
  34. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +3 -0
  35. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +3 -0
  36. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.d.ts +3 -0
  37. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.d.ts +3 -0
  38. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.d.ts +3 -0
  39. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +3 -0
  40. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +3 -0
  41. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +3 -0
  42. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +3 -0
  43. package/dist/src/multiGridDataFormatterFiles/index.d.ts +3 -1
  44. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +4 -0
  45. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +4 -0
  46. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +4 -0
  47. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +3 -0
  48. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +4 -0
  49. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +4 -0
  50. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +4 -0
  51. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +4 -0
  52. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +4 -0
  53. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +4 -0
  54. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +4 -0
  55. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +4 -0
  56. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +3 -0
  57. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.d.ts +4 -0
  58. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.d.ts +4 -0
  59. package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.d.ts +4 -0
  60. package/dist/src/multiGridPluginParamsFiles/MultiDots/index.d.ts +3 -0
  61. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +4 -0
  62. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +4 -0
  63. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +4 -0
  64. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +4 -0
  65. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +4 -0
  66. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +4 -0
  67. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +4 -0
  68. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +4 -0
  69. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.d.ts +4 -0
  70. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +4 -0
  71. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +4 -0
  72. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +4 -0
  73. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +4 -0
  74. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.d.ts +4 -0
  75. package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/index.d.ts +4 -0
  76. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +4 -0
  77. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +4 -0
  78. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +4 -0
  79. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +4 -0
  80. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +4 -0
  81. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +4 -0
  82. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +4 -0
  83. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +4 -0
  84. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.d.ts +0 -0
  85. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +3 -0
  86. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.d.ts +4 -0
  87. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.d.ts +4 -0
  88. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.d.ts +4 -0
  89. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_PN.d.ts +0 -0
  90. package/dist/src/multiGridPluginParamsFiles/MultiValueStackAxis/index.d.ts +3 -0
  91. package/dist/src/multiGridPluginParamsFiles/index.d.ts +10 -1
  92. package/dist/src/seriesDataFormatterFiles/DF_SERIES_DESC.d.ts +3 -0
  93. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.d.ts +3 -0
  94. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.d.ts +3 -0
  95. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +3 -0
  96. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.d.ts +3 -0
  97. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.d.ts +3 -0
  98. package/dist/src/seriesDataFormatterFiles/index.d.ts +6 -1
  99. package/dist/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
  100. package/dist/src/seriesPluginParamsFiles/Rose/index.d.ts +1 -0
  101. package/dist/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.d.ts +4 -0
  102. package/dist/src/seriesPluginParamsFiles/RoseLabels/index.d.ts +1 -0
  103. package/dist/src/seriesPluginParamsFiles/index.d.ts +2 -0
  104. package/dist/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +4 -0
  105. package/dist/src/treePluginParamsFiles/TreeLegend/index.d.ts +1 -0
  106. package/dist/src/treePluginParamsFiles/index.d.ts +1 -1
  107. package/dist/src/types.d.ts +5 -1
  108. package/package.json +3 -3
  109. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +14 -0
  110. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  111. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +1 -1
  112. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  113. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  114. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +14 -0
  115. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +2 -2
  116. package/src/chartParamsFiles/CP_LONG_PADDING.ts +14 -0
  117. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +1 -1
  118. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +14 -0
  119. package/src/chartParamsFiles/index.ts +9 -1
  120. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +17 -0
  121. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +17 -0
  122. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +17 -0
  123. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +23 -0
  124. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +18 -0
  125. package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +14 -0
  126. package/src/gridDataFormatterFiles/DF_GRID_PN_SCALE.ts +15 -0
  127. package/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.ts +17 -0
  128. package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +20 -0
  129. package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +20 -0
  130. package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +20 -0
  131. package/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.ts +20 -0
  132. package/src/gridDataFormatterFiles/index.ts +12 -1
  133. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -2
  134. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +15 -0
  135. package/src/gridPluginParamsFiles/GridLegend/index.ts +1 -0
  136. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_LOOSE_TICKS.ts +12 -0
  137. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +2 -1
  138. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_TENSE_TICKS.ts +14 -0
  139. package/src/gridPluginParamsFiles/GroupAxis/index.ts +3 -1
  140. package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +12 -0
  141. package/src/gridPluginParamsFiles/LineAreas/index.ts +1 -0
  142. package/src/gridPluginParamsFiles/index.ts +1 -0
  143. package/src/index.ts +316 -26
  144. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +22 -0
  145. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +25 -0
  146. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +28 -0
  147. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.ts +36 -0
  148. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.ts +36 -0
  149. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.ts +22 -0
  150. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +28 -0
  151. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +34 -0
  152. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +40 -0
  153. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.ts +28 -0
  154. package/src/multiGridDataFormatterFiles/index.ts +9 -1
  155. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +12 -0
  156. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +12 -0
  157. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +12 -0
  158. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +4 -0
  159. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +12 -0
  160. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +12 -0
  161. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +12 -0
  162. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +15 -0
  163. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -0
  164. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +12 -0
  165. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +12 -0
  166. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +12 -0
  167. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +3 -0
  168. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.ts +12 -0
  169. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.ts +12 -0
  170. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.ts +12 -0
  171. package/src/multiGridPluginParamsFiles/MultiDots/index.ts +3 -0
  172. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +14 -0
  173. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +28 -0
  174. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +21 -0
  175. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +22 -0
  176. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +4 -0
  177. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +13 -0
  178. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +13 -0
  179. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +13 -0
  180. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.ts +13 -0
  181. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +4 -0
  182. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.ts +12 -0
  183. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.ts +12 -0
  184. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.ts +12 -0
  185. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.ts +12 -0
  186. package/src/multiGridPluginParamsFiles/MultiLineAreas/index.ts +4 -0
  187. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +12 -0
  188. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +12 -0
  189. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +12 -0
  190. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +13 -0
  191. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +4 -0
  192. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +12 -0
  193. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +12 -0
  194. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +12 -0
  195. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.ts +0 -0
  196. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -0
  197. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.ts +12 -0
  198. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.ts +12 -0
  199. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.ts +12 -0
  200. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_PN.ts +0 -0
  201. package/src/multiGridPluginParamsFiles/MultiValueStackAxis/index.ts +3 -0
  202. package/src/multiGridPluginParamsFiles/index.ts +10 -1
  203. package/src/seriesDataFormatterFiles/DF_SERIES_DESC.ts +10 -0
  204. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.ts +10 -0
  205. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.ts +11 -0
  206. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +11 -0
  207. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.ts +10 -0
  208. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.ts +11 -0
  209. package/src/seriesDataFormatterFiles/index.ts +8 -1
  210. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +1 -1
  211. package/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.ts +12 -0
  212. package/src/seriesPluginParamsFiles/Rose/index.ts +2 -0
  213. package/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.ts +12 -0
  214. package/src/seriesPluginParamsFiles/RoseLabels/index.ts +1 -0
  215. package/src/seriesPluginParamsFiles/index.ts +2 -0
  216. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +14 -0
  217. package/src/treePluginParamsFiles/TreeLegend/index.ts +1 -0
  218. package/src/treePluginParamsFiles/index.ts +1 -1
  219. package/src/types.ts +4 -1
  220. package/tsconfig.dev.json +18 -0
  221. package/tsconfig.json +1 -1
  222. package/tsconfig.prod.json +14 -0
  223. package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
  224. package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiLinesParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_LINES_3_GRID_SLOT: PluginParamsFile<MultiLinesParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiLinesParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_LINES_4_GRID_SLOT: PluginParamsFile<MultiLinesParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiLinesParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_LINES_CURVE: PluginParamsFile<MultiLinesParams>;
@@ -0,0 +1,4 @@
1
+ export { PP_MULTI_LINES_2_GRID_SLOT } from './PP_MULTI_LINES_2_GRID_SLOT';
2
+ export { PP_MULTI_LINES_3_GRID_SLOT } from './PP_MULTI_LINES_3_GRID_SLOT';
3
+ export { PP_MULTI_LINES_4_GRID_SLOT } from './PP_MULTI_LINES_4_GRID_SLOT';
4
+ export { PP_MULTI_LINES_CURVE } from './PP_MULTI_LINES_CURVE';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiGroupAxisParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_VALUE_AXIS_2_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiValueAxisParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_VALUE_AXIS_3_GRID_SLOT: PluginParamsFile<MultiValueAxisParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiValueAxisParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_VALUE_AXIS_4_GRID_SLOT: PluginParamsFile<MultiValueAxisParams>;
@@ -0,0 +1,3 @@
1
+ export { PP_MULTI_VALUE_AXIS_2_GRID_SLOT } from './PP_MULTI_VALUE_AXIS_2_GRID_SLOT';
2
+ export { PP_MULTI_VALUE_AXIS_3_GRID_SLOT } from './PP_MULTI_VALUE_AXIS_3_GRID_SLOT';
3
+ export { PP_MULTI_VALUE_AXIS_4_GRID_SLOT } from './PP_MULTI_VALUE_AXIS_4_GRID_SLOT';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiGroupAxisParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiValueAxisParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT: PluginParamsFile<MultiValueAxisParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiValueAxisParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT: PluginParamsFile<MultiValueAxisParams>;
@@ -0,0 +1,3 @@
1
+ export { PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT } from './PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT';
2
+ export { PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT } from './PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT';
3
+ export { PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT } from './PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT';
@@ -1 +1,10 @@
1
- export declare const temp: {};
1
+ export * from './MultiBars';
2
+ export * from './MultiBarStack';
3
+ export * from './MultiBarsTriangle';
4
+ export * from './MultiDots';
5
+ export * from './MultiLines';
6
+ export * from './MultiLineAreas';
7
+ export * from './MultiGridLegend';
8
+ export * from './MultiGroupAxis';
9
+ export * from './MultiValueAxis';
10
+ export * from './MultiValueStackAxis';
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_SERIES_DESC: DataFormatterFile<'series'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_SERIES_SEPARATE_SERIES: DataFormatterFile<'series'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_SERIES_SEPARATE_SERIES_AND_DESC: DataFormatterFile<'series'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES: DataFormatterFile<'series'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_SERIES_SUM_SERIES: DataFormatterFile<'series'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_SERIES_SUM_SERIES_AND_DESC: DataFormatterFile<'series'>;
@@ -1 +1,6 @@
1
- export declare const temp: {};
1
+ export { DF_SERIES_DESC } from './DF_SERIES_DESC';
2
+ export { DF_SERIES_SEPARATE_SERIES } from './DF_SERIES_SEPARATE_SERIES';
3
+ export { DF_SERIES_SEPARATE_SERIES_AND_DESC } from './DF_SERIES_SEPARATE_SERIES_AND_DESC';
4
+ export { DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES } from './DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES';
5
+ export { DF_SERIES_SUM_SERIES } from './DF_SERIES_SUM_SERIES';
6
+ export { DF_SERIES_SUM_SERIES_AND_DESC } from './DF_SERIES_SUM_SERIES_AND_DESC';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { RoseParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_ROSE_SCALING_BY_RADIUS: PluginParamsFile<RoseParams>;
@@ -0,0 +1 @@
1
+ export { PP_ROSE_SCALING_BY_RADIUS } from './PP_ROSE_SCALING_BY_RADIUS';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { RoseLabelsParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_ROSE_LABELS_SCALING_BY_RADIUS: PluginParamsFile<RoseLabelsParams>;
@@ -0,0 +1 @@
1
+ export { PP_ROSE_LABELS_SCALING_BY_RADIUS } from './PP_ROSE_LABELS_SCALING_BY_RADIUS';
@@ -1,4 +1,6 @@
1
1
  export * from './Bubbles';
2
2
  export * from './Pie';
3
3
  export * from './PieLabels';
4
+ export * from './Rose';
5
+ export * from './RoseLabels';
4
6
  export * from './SeriesLegend';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { TreeLegendParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_TREE_LEGEND_BOTTOM: PluginParamsFile<TreeLegendParams>;
@@ -0,0 +1 @@
1
+ export { PP_TREE_LEGEND_BOTTOM } from './PP_TREE_LEGEND_BOTTOM';
@@ -1 +1 @@
1
- export declare const temp: {};
1
+ export * from './TreeLegend';
@@ -13,6 +13,9 @@ import * as relationshipDataFormatters from './relationshipDataFormatterFiles';
13
13
  import * as relationshipPluginParams from './relationshipPluginParamsFiles';
14
14
  import * as treeDataFormatters from './treeDataFormatterFiles';
15
15
  import * as treePluginParams from './treePluginParamsFiles';
16
+ type DeepPartial<T> = Partial<{
17
+ [P in keyof T]: DeepPartial<T[P]>;
18
+ }>;
16
19
  export interface ChartParamsFile {
17
20
  id: string;
18
21
  description: string;
@@ -29,7 +32,7 @@ export interface PluginParamsFile<PluginParams> {
29
32
  chartType: ChartType;
30
33
  pluginName: string;
31
34
  description: string;
32
- data: Partial<PluginParams>;
35
+ data: DeepPartial<PluginParams>;
33
36
  }
34
37
  export interface PresetFile<T extends ChartType> {
35
38
  chartParamsId?: keyof typeof chartParams;
@@ -37,3 +40,4 @@ export interface PresetFile<T extends ChartType> {
37
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;
38
41
  description: string;
39
42
  }
43
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbcharts/presets-basic",
3
- "version": "3.0.0-alpha.2",
3
+ "version": "3.0.0-alpha.21",
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.26",
39
- "@orbcharts/plugins-basic": "^3.0.0-alpha.30",
38
+ "@orbcharts/core": "^3.0.0-alpha.48",
39
+ "@orbcharts/plugins-basic": "^3.0.0-alpha.51",
40
40
  "d3": "^7.8.5",
41
41
  "rxjs": "^7.8.1"
42
42
  }
@@ -0,0 +1,14 @@
1
+ import type { ChartParamsFile } from '../types'
2
+
3
+ export const CP_BOTTOM_AND_LEFT_PADDING: ChartParamsFile = {
4
+ id: 'CP_BOTTOM_AND_LEFT_PADDING',
5
+ description: '間距下面及左邊留空',
6
+ data: {
7
+ padding: {
8
+ top: 60,
9
+ right: 60,
10
+ bottom: 120,
11
+ left: 160
12
+ },
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ import type { ChartParamsFile } from '../types'
2
+
3
+ export const CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile = {
4
+ id: 'CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT',
5
+ description: '間距下面及左邊留空',
6
+ data: {
7
+ padding: {
8
+ top: 60,
9
+ right: 60,
10
+ bottom: 120,
11
+ left: 160
12
+ },
13
+ highlightTarget: 'series'
14
+ }
15
+ }
@@ -7,7 +7,7 @@ export const CP_BOTTOM_LONG_PADDING: ChartParamsFile = {
7
7
  padding: {
8
8
  top: 60,
9
9
  right: 60,
10
- bottom: 180,
10
+ bottom: 160,
11
11
  left: 60
12
12
  },
13
13
  }
@@ -0,0 +1,15 @@
1
+ import type { ChartParamsFile } from '../types'
2
+
3
+ export const CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile = {
4
+ id: 'CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT',
5
+ description: '間距下面加長留空及highlight系列',
6
+ data: {
7
+ padding: {
8
+ top: 60,
9
+ right: 60,
10
+ bottom: 160,
11
+ left: 60
12
+ },
13
+ highlightTarget: 'series'
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ import type { ChartParamsFile } from '../types'
2
+
3
+ export const CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile = {
4
+ id: 'CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT',
5
+ description: '間距下面留空及highlight系列',
6
+ data: {
7
+ padding: {
8
+ top: 60,
9
+ right: 60,
10
+ bottom: 120,
11
+ left: 60
12
+ },
13
+ highlightTarget: 'series'
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ import type { ChartParamsFile } from '../types'
2
+
3
+ export const CP_BOTTOM_SLIGHT_PADDING: ChartParamsFile = {
4
+ id: 'CP_BOTTOM_SLIGHT_PADDING',
5
+ description: '間距下面些微留空',
6
+ data: {
7
+ padding: {
8
+ top: 40,
9
+ right: 40,
10
+ bottom: 60,
11
+ left: 40
12
+ },
13
+ }
14
+ }
@@ -2,13 +2,13 @@ import type { ChartParamsFile } from '../types'
2
2
 
3
3
  export const CP_LEFT_PADDING: ChartParamsFile = {
4
4
  id: 'CP_LEFT_PADDING',
5
- description: '間距右邊留空',
5
+ description: '間距左邊留空',
6
6
  data: {
7
7
  padding: {
8
8
  top: 60,
9
9
  right: 60,
10
10
  bottom: 60,
11
- left: 180
11
+ left: 160
12
12
  },
13
13
  }
14
14
  }
@@ -0,0 +1,14 @@
1
+ import type { ChartParamsFile } from '../types'
2
+
3
+ export const CP_LONG_PADDING: ChartParamsFile = {
4
+ id: 'CP_LONG_PADDING',
5
+ description: '加長留空',
6
+ data: {
7
+ padding: {
8
+ top: 160,
9
+ right: 160,
10
+ bottom: 160,
11
+ left: 160
12
+ },
13
+ }
14
+ }
@@ -6,7 +6,7 @@ export const CP_RIGHT_PADDING: ChartParamsFile = {
6
6
  data: {
7
7
  padding: {
8
8
  top: 60,
9
- right: 180,
9
+ right: 120,
10
10
  bottom: 60,
11
11
  left: 60
12
12
  },
@@ -0,0 +1,14 @@
1
+ import type { ChartParamsFile } from '../types'
2
+
3
+ export const CP_TOP_AND_NO_BOTTOM_PADDING: ChartParamsFile = {
4
+ id: 'CP_TOP_AND_NO_BOTTOM_PADDING',
5
+ description: '間距上面留空下面不留空',
6
+ data: {
7
+ padding: {
8
+ top: 120,
9
+ right: 120,
10
+ bottom: 0,
11
+ left: 60
12
+ },
13
+ }
14
+ }
@@ -1,5 +1,13 @@
1
+ export { CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT } from './CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT'
2
+ export { CP_BOTTOM_AND_LEFT_PADDING } from './CP_BOTTOM_AND_LEFT_PADDING'
1
3
  export { CP_BOTTOM_LONG_PADDING } from './CP_BOTTOM_LONG_PADDING'
4
+ export { CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT } from './CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT'
2
5
  export { CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT } from './CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT'
6
+ export { CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT } from './CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT'
3
7
  export { CP_BOTTOM_PADDING } from './CP_BOTTOM_PADDING'
8
+ export { CP_BOTTOM_SLIGHT_PADDING } from './CP_BOTTOM_SLIGHT_PADDING'
4
9
  export { CP_LEFT_PADDING } from './CP_LEFT_PADDING'
5
- export { CP_RIGHT_PADDING } from './CP_RIGHT_PADDING'
10
+ export { CP_TOP_AND_NO_BOTTOM_PADDING } from './CP_TOP_AND_NO_BOTTOM_PADDING'
11
+ export { CP_RIGHT_PADDING } from './CP_RIGHT_PADDING'
12
+ export { CP_LONG_PADDING } from './CP_LONG_PADDING'
13
+
@@ -0,0 +1,17 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_GRID_2_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
+ id: 'DF_GRID_2_SERIES_SLOT',
5
+ chartType: 'grid',
6
+ description: '2個Series Slot',
7
+ data: {
8
+ grid: {
9
+ // seriesSlotIndexes: [0, 1],
10
+ separateSeries: true,
11
+ },
12
+ container: {
13
+ rowAmount: 1,
14
+ columnAmount: 2,
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_GRID_3_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
+ id: 'DF_GRID_3_SERIES_SLOT',
5
+ chartType: 'grid',
6
+ description: '3個Series Slot',
7
+ data: {
8
+ grid: {
9
+ // seriesSlotIndexes: [0, 1, 2],
10
+ separateSeries: true,
11
+ },
12
+ container: {
13
+ rowAmount: 1,
14
+ columnAmount: 3,
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_GRID_4_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
+ id: 'DF_GRID_4_SERIES_SLOT',
5
+ chartType: 'grid',
6
+ description: '4個Series Slot',
7
+ data: {
8
+ grid: {
9
+ // seriesSlotIndexes: [0, 1, 2, 3],
10
+ separateSeries: true,
11
+ },
12
+ container: {
13
+ rowAmount: 2,
14
+ columnAmount: 2,
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,23 @@
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
+ }
@@ -0,0 +1,18 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING: DataFormatterFile<'grid'> = {
4
+ id: 'DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING',
5
+ chartType: 'grid',
6
+ description: '底部橫向資料圖軸及無群組圖軸的左右間距',
7
+ data: {
8
+ grid: {
9
+ valueAxis: {
10
+ position: 'bottom'
11
+ },
12
+ groupAxis: {
13
+ position: 'left',
14
+ scalePadding: 0
15
+ },
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,14 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_GRID_NONE_GROUP_SCALE_PADDING: DataFormatterFile<'grid'> = {
4
+ id: 'DF_GRID_NONE_GROUP_SCALE_PADDING',
5
+ chartType: 'grid',
6
+ description: '無群組圖軸的左右間距',
7
+ data: {
8
+ grid: {
9
+ groupAxis: {
10
+ scalePadding: 0
11
+ }
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_GRID_PN_SCALE: DataFormatterFile<'grid'> = {
4
+ id: 'DF_GRID_PN_SCALE',
5
+ chartType: 'grid',
6
+ description: '分向資料圖軸',
7
+ data: {
8
+ grid: {
9
+ valueAxis: {
10
+ scaleDomain: ['auto', 'auto'],
11
+ scaleRange: [0.05, 0.95],
12
+ },
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,17 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_GRID_SEPARATE_SERIES: DataFormatterFile<'grid'> = {
4
+ id: 'DF_GRID_SEPARATE_SERIES',
5
+ chartType: 'grid',
6
+ description: '分開顯示Series',
7
+ data: {
8
+ grid: {
9
+ // seriesSlotIndexes: [0, 1],
10
+ separateSeries: true,
11
+ },
12
+ // container: {
13
+ // rowAmount: 1,
14
+ // columnAmount: 2,
15
+ // }
16
+ }
17
+ }
@@ -0,0 +1,20 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_LINE_AREAS_2_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
+ id: 'DF_LINE_AREAS_2_SERIES_SLOT',
5
+ chartType: 'grid',
6
+ description: 'LineAreas 2個Series Slot',
7
+ data: {
8
+ grid: {
9
+ // seriesSlotIndexes: [0, 1],
10
+ separateSeries: true,
11
+ groupAxis: {
12
+ scalePadding: 0
13
+ }
14
+ },
15
+ container: {
16
+ rowAmount: 1,
17
+ columnAmount: 2,
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,20 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_LINE_AREAS_3_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
+ id: 'DF_LINE_AREAS_3_SERIES_SLOT',
5
+ chartType: 'grid',
6
+ description: 'LineAreas 3個Series Slot',
7
+ data: {
8
+ grid: {
9
+ // seriesSlotIndexes: [0, 1, 2],
10
+ separateSeries: true,
11
+ groupAxis: {
12
+ scalePadding: 0
13
+ }
14
+ },
15
+ container: {
16
+ rowAmount: 1,
17
+ columnAmount: 3,
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,20 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_LINE_AREAS_4_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
+ id: 'DF_LINE_AREAS_4_SERIES_SLOT',
5
+ chartType: 'grid',
6
+ description: 'LineAreas 4個Series Slot',
7
+ data: {
8
+ grid: {
9
+ // seriesSlotIndexes: [0, 1, 2, 3],
10
+ separateSeries: true,
11
+ groupAxis: {
12
+ scalePadding: 0
13
+ }
14
+ },
15
+ container: {
16
+ rowAmount: 2,
17
+ columnAmount: 2,
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,20 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_LINE_AREAS_SEPARATE_SERIES: DataFormatterFile<'grid'> = {
4
+ id: 'DF_LINE_AREAS_SEPARATE_SERIES',
5
+ chartType: 'grid',
6
+ description: 'LineAreas 分開顯示Series',
7
+ data: {
8
+ grid: {
9
+ // seriesSlotIndexes: [0, 1],
10
+ separateSeries: true,
11
+ groupAxis: {
12
+ scalePadding: 0
13
+ }
14
+ },
15
+ // container: {
16
+ // rowAmount: 1,
17
+ // columnAmount: 2,
18
+ // }
19
+ }
20
+ }
@@ -1 +1,12 @@
1
- export { DF_BOTTOM_VALUE_AXIS } from './DF_BOTTOM_VALUE_AXIS'
1
+ export { DF_GRID_BOTTOM_VALUE_AXIS } from './DF_GRID_BOTTOM_VALUE_AXIS'
2
+ export { DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING } from './DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING'
3
+ // export { DF_GRID_2_SERIES_SLOT } from './DF_GRID_2_SERIES_SLOT'
4
+ // export { DF_GRID_3_SERIES_SLOT } from './DF_GRID_3_SERIES_SLOT'
5
+ // export { DF_GRID_4_SERIES_SLOT } from './DF_GRID_4_SERIES_SLOT'
6
+ export { DF_GRID_SEPARATE_SERIES } from './DF_GRID_SEPARATE_SERIES'
7
+ export { DF_GRID_PN_SCALE } from './DF_GRID_PN_SCALE'
8
+ export { DF_GRID_NONE_GROUP_SCALE_PADDING } from './DF_GRID_NONE_GROUP_SCALE_PADDING'
9
+ // export { DF_LINE_AREAS_2_SERIES_SLOT } from './DF_LINE_AREAS_2_SERIES_SLOT'
10
+ // export { DF_LINE_AREAS_3_SERIES_SLOT } from './DF_LINE_AREAS_3_SERIES_SLOT'
11
+ // export { DF_LINE_AREAS_4_SERIES_SLOT } from './DF_LINE_AREAS_4_SERIES_SLOT'
12
+ export { DF_LINE_AREAS_SEPARATE_SERIES } from './DF_LINE_AREAS_SEPARATE_SERIES'