@orbcharts/presets-basic 3.0.0-alpha.1 → 3.0.0-alpha.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. package/dist/orbcharts-presets-basic.es.js +789 -129
  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_TOP_AND_NO_BOTTOM_PADDING.d.ts +3 -0
  9. package/dist/src/chartParamsFiles/index.d.ts +6 -0
  10. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +3 -0
  11. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +3 -0
  12. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +3 -0
  13. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +3 -0
  14. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.d.ts +3 -0
  15. package/dist/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.d.ts +3 -0
  16. package/dist/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.d.ts +3 -0
  17. package/dist/src/gridDataFormatterFiles/index.d.ts +7 -1
  18. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +4 -0
  19. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +1 -0
  20. package/dist/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.d.ts +4 -0
  21. package/dist/src/gridPluginParamsFiles/LineAreas/index.d.ts +1 -0
  22. package/dist/src/gridPluginParamsFiles/index.d.ts +1 -0
  23. package/dist/src/index.d.ts +25 -0
  24. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +3 -0
  25. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +3 -0
  26. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +3 -0
  27. package/dist/src/multiGridDataFormatterFiles/index.d.ts +3 -1
  28. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +4 -0
  29. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +4 -0
  30. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +4 -0
  31. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +3 -0
  32. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +4 -0
  33. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +4 -0
  34. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +4 -0
  35. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +4 -0
  36. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +4 -0
  37. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +4 -0
  38. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +4 -0
  39. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +4 -0
  40. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +3 -0
  41. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +4 -0
  42. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +4 -0
  43. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +4 -0
  44. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +4 -0
  45. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +4 -0
  46. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +4 -0
  47. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +4 -0
  48. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +4 -0
  49. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +3 -0
  50. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +4 -0
  51. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +4 -0
  52. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +4 -0
  53. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +4 -0
  54. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +4 -0
  55. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +4 -0
  56. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +4 -0
  57. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +4 -0
  58. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +3 -0
  59. package/dist/src/multiGridPluginParamsFiles/index.d.ts +7 -1
  60. package/dist/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +4 -0
  61. package/dist/src/treePluginParamsFiles/TreeLegend/index.d.ts +1 -0
  62. package/dist/src/treePluginParamsFiles/index.d.ts +1 -1
  63. package/dist/src/types.d.ts +6 -2
  64. package/package.json +3 -3
  65. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +14 -0
  66. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  67. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +1 -1
  68. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  69. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  70. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +14 -0
  71. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +2 -2
  72. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +1 -1
  73. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +14 -0
  74. package/src/chartParamsFiles/index.ts +6 -0
  75. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +16 -0
  76. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +16 -0
  77. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +16 -0
  78. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +23 -0
  79. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +18 -0
  80. package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +15 -0
  81. package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +14 -0
  82. package/src/gridDataFormatterFiles/index.ts +7 -1
  83. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -2
  84. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +15 -0
  85. package/src/gridPluginParamsFiles/GridLegend/index.ts +1 -0
  86. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +2 -1
  87. package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +12 -0
  88. package/src/gridPluginParamsFiles/LineAreas/index.ts +1 -0
  89. package/src/gridPluginParamsFiles/index.ts +1 -0
  90. package/src/index.ts +169 -18
  91. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +21 -0
  92. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +24 -0
  93. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +27 -0
  94. package/src/multiGridDataFormatterFiles/index.ts +3 -1
  95. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +12 -0
  96. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +12 -0
  97. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +12 -0
  98. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +4 -0
  99. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +12 -0
  100. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +12 -0
  101. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +12 -0
  102. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +15 -0
  103. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -0
  104. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +12 -0
  105. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +12 -0
  106. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +12 -0
  107. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +3 -0
  108. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +14 -0
  109. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +28 -0
  110. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +21 -0
  111. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +22 -0
  112. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +4 -0
  113. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +13 -0
  114. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +13 -0
  115. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +13 -0
  116. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +3 -0
  117. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +12 -0
  118. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +12 -0
  119. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +12 -0
  120. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +13 -0
  121. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +4 -0
  122. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +12 -0
  123. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +12 -0
  124. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +12 -0
  125. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -0
  126. package/src/multiGridPluginParamsFiles/index.ts +7 -1
  127. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +14 -0
  128. package/src/treePluginParamsFiles/TreeLegend/index.ts +1 -0
  129. package/src/treePluginParamsFiles/index.ts +1 -1
  130. package/src/types.ts +5 -2
  131. package/tsconfig.dev.json +18 -0
  132. package/tsconfig.prod.json +14 -0
  133. package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
  134. package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
@@ -1 +1 @@
1
- (function(_,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(_=typeof globalThis<"u"?globalThis:_||self,a(_["orbcharts-presets-basic"]={}))})(this,function(_){"use strict";const T=Object.freeze(Object.defineProperty({__proto__:null,CP_BOTTOM_LONG_PADDING:{id:"CP_BOTTOM_LONG_PADDING",description:"間距下面加長留空",data:{padding:{top:60,right:60,bottom:180,left:60}}},CP_BOTTOM_PADDING:{id:"CP_BOTTOM_PADDING",description:"間距下面留空",data:{padding:{top:60,right:60,bottom:120,left:60}}},CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight群組",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"}},CP_LEFT_PADDING:{id:"CP_LEFT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:60,bottom:60,left:180}}},CP_RIGHT_PADDING:{id:"CP_RIGHT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:180,bottom:60,left:60}}}},Symbol.toStringTag,{value:"Module"})),E=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),I={id:"PP_BUBBLES_SCALING_BY_RADIUS",chartType:"series",pluginName:"Bubbles",description:"以半徑尺寸為比例的泡泡圖",data:{bubbleScaleType:"radius"}},O={id:"PP_PIE_DONUT",chartType:"series",pluginName:"Pie",description:"甜甜圈圖",data:{innerRadius:.5}},c={id:"PP_PIE_HALF_DONUT",chartType:"series",pluginName:"Pie",description:"半圓甜甜圈圖",data:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2}},S={id:"PP_PIE_LABELS_HALF_ANGLE",chartType:"series",pluginName:"PieLabels",description:"半圓甜甜圈資料標籤",data:{startAngle:-Math.PI/2,endAngle:Math.PI/2}},D=Object.freeze(Object.defineProperty({__proto__:null,PP_BUBBLES_SCALING_BY_RADIUS:I,PP_PIE_DONUT:O,PP_PIE_HALF_DONUT:c,PP_PIE_LABELS_HALF_ANGLE:S,PP_PIE_LABELS_INNER:{id:"PP_PIE_LABELS_INNER",chartType:"series",pluginName:"PieLabels",description:"圖內資料標籤",data:{labelCentroid:1.3,labelColorType:"primary"}},PP_SERIES_LEGEND_ROUND:{id:"PP_SERIES_LEGEND_BOTTOM",chartType:"series",pluginName:"SeriesLegend",description:"圓型圖例列點",data:{listRectRadius:7}}},Symbol.toStringTag,{value:"Module"})),p=Object.freeze(Object.defineProperty({__proto__:null,DF_BOTTOM_VALUE_AXIS:{id:"DF_BOTTOM_VALUE_AXIS",chartType:"grid",description:"底部橫向資料圖軸",data:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}}},Symbol.toStringTag,{value:"Module"})),N=Object.freeze(Object.defineProperty({__proto__:null,PP_BARS_ROUND:{id:"PP_BARS_ROUND",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_BARS_THIN:{id:"PP_BARS_THIN",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:20,barPadding:1,barGroupPadding:10}},PP_DOTS_ONLY_SHOW_HIGHLIGHTED:{id:"PP_DOTS_ONLY_SHOW_HIGHLIGHTED",chartType:"grid",pluginName:"Dots",description:"顯示highlight圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_DOTS_SOLID:{id:"PP_DOTS_SOLID",chartType:"grid",pluginName:"Dots",description:"實心圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_GRID_LEGEND_BOTTOM:{id:"PP_GRID_LEGEND_BOTTOM",chartType:"grid",pluginName:"GridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及線條列點",data:{position:"bottom",justify:"center",padding:14,listRectHeight:2}},PP_GROUP_AXIS_ROTATE_LABEL:{id:"PP_GROUP_AXIS_ROTATE_LABEL",chartType:"grid",pluginName:"GroupAxis",description:"群組圖軸標籤文字傾斜",data:{tickTextRotate:40}},PP_LINES_CURVE:{id:"PP_LINES_CURVE",chartType:"grid",pluginName:"Lines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}}},Symbol.toStringTag,{value:"Module"})),L=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),R=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),g=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),m=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),B=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),n={series:E,grid:p,multiGrid:L,multiValue:u,relationship:m,tree:A},r={series:D,grid:N,multiGrid:R,multiValue:g,relationship:G,tree:B},s=(t,P)=>{const W=P.chartParamsId?T[P.chartParamsId].data:void 0,$=n[t][P.dataFormatterId]?n[t][P.dataFormatterId].data:void 0,V=P.allPluginParamsIds?P.allPluginParamsIds.reduce((l,o)=>{if(r[t][o]){const z=r[t][o].pluginName;l[z]=r[t][o].data}return l},{}):void 0;return{chartParams:W,dataFormatter:$,allPluginParams:V}},i=t=>s("series",t),e=t=>s("grid",t),b=i({allPluginParamsIds:[],description:"基本Series參數"}),H=i({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),h=i({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),M=i({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),U=i({allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),y=e({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),f=e({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),d=e({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"圓角長條圖"});console.log(d);const C=e({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),F=e({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),j=e({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),v=e({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=C,_.PRESET_BARS_ROUND=d,_.PRESET_BARS_THIN=F,_.PRESET_BUBBLES_SCALING_BY_RADIUS=H,_.PRESET_GRID_BASIC=y,_.PRESET_GRID_ROTATE_AXIS_LABEL=f,_.PRESET_LINES_CURVE=j,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=v,_.PRESET_PIE_DONUT=M,_.PRESET_PIE_HALF_DONUT=U,_.PRESET_PIE_WITH_INNER_LABELS=h,_.PRESET_SERIES_BASIC=b,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
1
+ (function(_,L){typeof exports=="object"&&typeof module<"u"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(_=typeof globalThis<"u"?globalThis:_||self,L(_["orbcharts-presets-basic"]={}))})(this,function(_){"use strict";const D=Object.freeze(Object.defineProperty({__proto__:null,CP_BOTTOM_AND_LEFT_PADDING:{id:"CP_BOTTOM_AND_LEFT_PADDING",description:"間距下面及左邊留空",data:{padding:{top:60,right:60,bottom:120,left:160}}},CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",description:"間距下面及左邊留空",data:{padding:{top:60,right:60,bottom:120,left:160},highlightTarget:"series"}},CP_BOTTOM_LONG_PADDING:{id:"CP_BOTTOM_LONG_PADDING",description:"間距下面加長留空",data:{padding:{top:60,right:60,bottom:160,left:60}}},CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",description:"間距下面加長留空及highlight系列",data:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"}},CP_BOTTOM_PADDING:{id:"CP_BOTTOM_PADDING",description:"間距下面留空",data:{padding:{top:60,right:60,bottom:120,left:60}}},CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight群組",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"}},CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight系列",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"}},CP_BOTTOM_SLIGHT_PADDING:{id:"CP_BOTTOM_SLIGHT_PADDING",description:"間距下面些微留空",data:{padding:{top:40,right:40,bottom:60,left:40}}},CP_LEFT_PADDING:{id:"CP_LEFT_PADDING",description:"間距左邊留空",data:{padding:{top:60,right:60,bottom:60,left:160}}},CP_RIGHT_PADDING:{id:"CP_RIGHT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:120,bottom:60,left:60}}},CP_TOP_AND_NO_BOTTOM_PADDING:{id:"CP_TOP_AND_NO_BOTTOM_PADDING",description:"間距上面留空下面不留空",data:{padding:{top:120,right:120,bottom:0,left:60}}}},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),r={id:"PP_BUBBLES_SCALING_BY_RADIUS",chartType:"series",pluginName:"Bubbles",description:"以半徑尺寸為比例的泡泡圖",data:{bubbleScaleType:"radius"}},d={id:"PP_PIE_DONUT",chartType:"series",pluginName:"Pie",description:"甜甜圈圖",data:{innerRadius:.5}},O={id:"PP_PIE_HALF_DONUT",chartType:"series",pluginName:"Pie",description:"半圓甜甜圈圖",data:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2}},n={id:"PP_PIE_LABELS_HALF_ANGLE",chartType:"series",pluginName:"PieLabels",description:"半圓甜甜圈資料標籤",data:{startAngle:-Math.PI/2,endAngle:Math.PI/2}},s=Object.freeze(Object.defineProperty({__proto__:null,PP_BUBBLES_SCALING_BY_RADIUS:r,PP_PIE_DONUT:d,PP_PIE_HALF_DONUT:O,PP_PIE_LABELS_HALF_ANGLE:n,PP_PIE_LABELS_INNER:{id:"PP_PIE_LABELS_INNER",chartType:"series",pluginName:"PieLabels",description:"圖內資料標籤",data:{labelCentroid:1.3,labelColorType:"primary"}},PP_SERIES_LEGEND_ROUND:{id:"PP_SERIES_LEGEND_BOTTOM",chartType:"series",pluginName:"SeriesLegend",description:"圓型圖例列點",data:{listRectRadius:7}}},Symbol.toStringTag,{value:"Module"})),o=Object.freeze(Object.defineProperty({__proto__:null,DF_GRID_2_SERIES_SLOT:{id:"DF_GRID_2_SERIES_SLOT",chartType:"grid",description:"2個Series Slot",data:{grid:{seriesSlotIndexes:[0,1]},container:{rowAmount:1,columnAmount:2}}},DF_GRID_3_SERIES_SLOT:{id:"DF_GRID_3_SERIES_SLOT",chartType:"grid",description:"3個Series Slot",data:{grid:{seriesSlotIndexes:[0,1,2]},container:{rowAmount:1,columnAmount:3}}},DF_GRID_4_SERIES_SLOT:{id:"DF_GRID_4_SERIES_SLOT",chartType:"grid",description:"4個Series Slot",data:{grid:{seriesSlotIndexes:[0,1,2,3]},container:{rowAmount:2,columnAmount:2}}},DF_GRID_BOTTOM_VALUE_AXIS:{id:"DF_GRID_BOTTOM_VALUE_AXIS",chartType:"grid",description:"底部橫向資料圖軸",data:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}}},DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING:{id:"DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING",chartType:"grid",description:"底部橫向資料圖軸及無群組圖軸的左右間距",data:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left",scalePadding:0}}}},DF_GRID_DIVERGING_SCALE:{id:"DF_GRID_DIVERGING_SCALE",chartType:"grid",description:"分向資料圖軸",data:{grid:{valueAxis:{scaleDomain:["auto","auto"],scaleRange:[.05,.95]}}}},DF_GRID_NONE_GROUP_SCALE_PADDING:{id:"DF_GRID_NONE_GROUP_SCALE_PADDING",chartType:"grid",description:"無群組圖軸的左右間距",data:{grid:{groupAxis:{scalePadding:0}}}}},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,PP_BARS_ROUND:{id:"PP_BARS_ROUND",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_BARS_THIN:{id:"PP_BARS_THIN",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:20,barPadding:1,barGroupPadding:10}},PP_DOTS_ONLY_SHOW_HIGHLIGHTED:{id:"PP_DOTS_ONLY_SHOW_HIGHLIGHTED",chartType:"grid",pluginName:"Dots",description:"顯示highlight圓點",data:{onlyShowHighlighted:!1}},PP_DOTS_SOLID:{id:"PP_DOTS_SOLID",chartType:"grid",pluginName:"Dots",description:"實心圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_GRID_LEGEND_BOTTOM:{id:"PP_GRID_LEGEND_BOTTOM",chartType:"grid",pluginName:"GridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及線條列點",data:{position:"bottom",justify:"center",padding:14,listRectHeight:2}},PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及圓弧列點",data:{position:"bottom",justify:"center",padding:14,listRectRadius:7}},PP_GROUP_AXIS_ROTATE_LABEL:{id:"PP_GROUP_AXIS_ROTATE_LABEL",chartType:"grid",pluginName:"GroupAxis",description:"群組圖軸標籤文字傾斜",data:{tickPadding:15,tickTextRotate:-30}},PP_LINES_CURVE:{id:"PP_LINES_CURVE",chartType:"grid",pluginName:"Lines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}},PP_LINE_AREAS_CURVE:{id:"PP_LINE_AREAS_CURVE",chartType:"grid",pluginName:"LineAreas",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX"}}},Symbol.toStringTag,{value:"Module"})),N=Object.freeze(Object.defineProperty({__proto__:null,DF_MULTI_GRID_2_GRID_SLOT:{id:"DF_MULTI_GRID_2_GRID_SLOT",chartType:"multiGrid",description:"2個Grid Slot",data:{gridList:[{},{slotIndex:1}],container:{rowAmount:1,columnAmount:2}}},DF_MULTI_GRID_3_GRID_SLOT:{id:"DF_MULTI_GRID_3_GRID_SLOT",chartType:"multiGrid",description:"3個Grid Slot",data:{gridList:[{slotIndex:0},{slotIndex:1},{slotIndex:2}],container:{rowAmount:1,columnAmount:3}}},DF_MULTI_GRID_4_GRID_SLOT:{id:"DF_MULTI_GRID_4_GRID_SLOT",chartType:"multiGrid",description:"4個Grid Slot",data:{gridList:[{slotIndex:0},{slotIndex:1},{slotIndex:2},{slotIndex:3}],container:{rowAmount:2,columnAmount:2}}}},Symbol.toStringTag,{value:"Module"})),l=Object.freeze(Object.defineProperty({__proto__:null,PP_MULTI_BARS_2_GRID_SLOT:{id:"PP_MULTI_BARS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBars",description:"2組群組長條圖",data:{gridIndexes:[0,1]}},PP_MULTI_BARS_3_GRID_SLOT:{id:"PP_MULTI_BARS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBars",description:"3組群組長條圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_BARS_4_GRID_SLOT:{id:"PP_MULTI_BARS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBars",description:"4組群組長條圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_BARS_ROUND:{id:"PP_MULTI_BARS_ROUND",chartType:"multiGrid",pluginName:"MultiBars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT:{id:"PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarsTriangle",description:"2組群組三角長條圖",data:{gridIndexes:[0,1]}},PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT:{id:"PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarsTriangle",description:"3組群組三角長條圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT:{id:"PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarsTriangle",description:"4組群組三角長條圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_BAR_STACK_2_GRID_SLOT:{id:"PP_MULTI_BAR_STACK_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarStack",description:"2組堆疊長條圖",data:{gridIndexes:[0,1]}},PP_MULTI_BAR_STACK_3_GRID_SLOT:{id:"PP_MULTI_BAR_STACK_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarStack",description:"3組堆疊長條圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_BAR_STACK_4_GRID_SLOT:{id:"PP_MULTI_BAR_STACK_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarStack",description:"4組堆疊長條圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_GRID_LEGEND_BOTTOM:{id:"PP_MULTI_GRID_LEGEND_BOTTOM",chartType:"multiGrid",pluginName:"MultiGridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"multiGrid",pluginName:"MultiGridLegend",description:"底部圖例線條列點",data:{position:"bottom",justify:"center",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}},PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST:{id:"PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST",chartType:"multiGrid",pluginName:"MultiGridLegend",description:"底部圖例矩型及線條列點",data:{position:"bottom",justify:"center",padding:14,gridList:[{},{listRectHeight:2}]}},PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST:{id:"PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST",chartType:"multiGrid",pluginName:"MultiGridLegend",description:"底部圖例圓型及線條列點",data:{position:"bottom",justify:"center",padding:14,gridList:[{listRectRadius:7},{listRectHeight:2}]}},PP_MULTI_GROUP_AXIS_2_GRID_SLOT:{id:"PP_MULTI_GROUP_AXIS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiGroupAxis",description:"2個群組圖軸",data:{tickTextRotate:-30,gridIndexes:[0,1]}},PP_MULTI_GROUP_AXIS_3_GRID_SLOT:{id:"PP_MULTI_GROUP_AXIS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiGroupAxis",description:"3個群組圖軸",data:{tickTextRotate:-30,gridIndexes:[0,1,2]}},PP_MULTI_GROUP_AXIS_4_GRID_SLOT:{id:"PP_MULTI_GROUP_AXIS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiGroupAxis",description:"4個群組圖軸",data:{tickTextRotate:-30,gridIndexes:[0,1,2,3]}},PP_MULTI_LINES_2_GRID_SLOT:{id:"PP_MULTI_LINES_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLines",description:"2組折線圖",data:{gridIndexes:[0,1]}},PP_MULTI_LINES_3_GRID_SLOT:{id:"PP_MULTI_LINES_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLines",description:"3組折線圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_LINES_4_GRID_SLOT:{id:"PP_MULTI_LINES_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLines",description:"4組折線圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_LINES_CURVE:{id:"PP_MULTI_LINES_CURVE",chartType:"multiGrid",pluginName:"MultiLines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}},PP_MULTI_VALUE_AXIS_2_GRID_SLOT:{id:"PP_MULTI_VALUE_AXIS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiValueAxis",description:"2個資料圖軸",data:{gridIndexes:[0,1]}},PP_MULTI_VALUE_AXIS_3_GRID_SLOT:{id:"PP_MULTI_VALUE_AXIS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiValueAxis",description:"3個資料圖軸",data:{gridIndexes:[0,1,2]}},PP_MULTI_VALUE_AXIS_4_GRID_SLOT:{id:"PP_MULTI_VALUE_AXIS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiValueAxis",description:"4個資料圖軸",data:{gridIndexes:[0,1,2,3]}}},Symbol.toStringTag,{value:"Module"})),c=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),M=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),U=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),B=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),g=Object.freeze(Object.defineProperty({__proto__:null,PP_TREE_LEGEND_BOTTOM:{id:"PP_TREE_LEGEND_BOTTOM",chartType:"tree",pluginName:"TreeLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}}},Symbol.toStringTag,{value:"Module"})),S={series:G,grid:o,multiGrid:N,multiValue:c,relationship:U,tree:B},E={series:s,grid:A,multiGrid:l,multiValue:M,relationship:u,tree:g},a=(T,i)=>{const G_=i.chartParamsId?D[i.chartParamsId].data:void 0,r_=S[T][i.dataFormatterId]?S[T][i.dataFormatterId].data:void 0,d_=i.allPluginParamsIds?i.allPluginParamsIds.reduce((R,e)=>{if(E[T][e]){const O_=E[T][e].pluginName;R[O_]=E[T][e].data}return R},{}):void 0;return{chartParams:G_,dataFormatter:r_,allPluginParams:d_}},t=T=>a("series",T),I=T=>a("grid",T),P=T=>a("multiGrid",T),p=T=>a("tree",T),m=t({allPluginParamsIds:[],description:"基本Series參數"}),H=t({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本泡泡圖"}),h=t({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),C=t({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本圓餅圖"}),F=t({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),y=t({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),b=t({chartParamsId:"CP_TOP_AND_NO_BOTTOM_PADDING",allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),W=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),f=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),X=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圖"}),V=I({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_GRID_DIVERGING_SCALE",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"正負值分向圖"}),j=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_2_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"2組Series圖表"}),v=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_3_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM","PP_GROUP_AXIS_ROTATE_LABEL"],description:"3組Series圖表"}),K=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_4_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"4組Series圖表"}),z=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],description:"圓角長條圖"}),x=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],description:"橫向圓角長條圖"}),Y=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),Z=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],description:"橫向圓角長條圖"}),$=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),k=I({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"傾斜標籤"}),w=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"橫向折線圖"}),q=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),J=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),Q=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),__=I({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"傾斜標籤"}),I_=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"橫向折線圖"}),T_=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_LINES_CURVE","PP_LINE_AREAS_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),P_=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),t_=P({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],description:"基本MultiGrid參數"}),i_=P({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST","PP_MULTI_BARS_ROUND","PP_MULTI_LINES_CURVE"],description:"MultiGrid圓弧風格"}),L_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_2_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM","PP_MULTI_GROUP_AXIS_2_GRID_SLOT","PP_MULTI_VALUE_AXIS_2_GRID_SLOT","PP_MULTI_BARS_2_GRID_SLOT","PP_MULTI_BAR_STACK_2_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT","PP_MULTI_LINES_2_GRID_SLOT"],description:"2組Grid圖表"}),a_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_3_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM","PP_MULTI_GROUP_AXIS_3_GRID_SLOT","PP_MULTI_VALUE_AXIS_3_GRID_SLOT","PP_MULTI_BARS_3_GRID_SLOT","PP_MULTI_BAR_STACK_3_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT","PP_MULTI_LINES_3_GRID_SLOT"],description:"3組Grid圖表"}),E_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_4_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM","PP_MULTI_GROUP_AXIS_4_GRID_SLOT","PP_MULTI_VALUE_AXIS_4_GRID_SLOT","PP_MULTI_BARS_4_GRID_SLOT","PP_MULTI_BAR_STACK_4_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT","PP_MULTI_LINES_4_GRID_SLOT"],description:"4組Grid圖表"}),e_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_2_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST","PP_MULTI_GROUP_AXIS_2_GRID_SLOT","PP_MULTI_VALUE_AXIS_2_GRID_SLOT","PP_MULTI_BARS_2_GRID_SLOT","PP_MULTI_BAR_STACK_2_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT","PP_MULTI_LINES_2_GRID_SLOT"],description:"2組折線圖表"}),S_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_3_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST","PP_MULTI_GROUP_AXIS_3_GRID_SLOT","PP_MULTI_VALUE_AXIS_3_GRID_SLOT","PP_MULTI_BARS_3_GRID_SLOT","PP_MULTI_BAR_STACK_3_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT","PP_MULTI_LINES_3_GRID_SLOT"],description:"3組折線圖表"}),R_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_4_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST","PP_MULTI_GROUP_AXIS_4_GRID_SLOT","PP_MULTI_VALUE_AXIS_4_GRID_SLOT","PP_MULTI_BARS_4_GRID_SLOT","PP_MULTI_BAR_STACK_4_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT","PP_MULTI_LINES_4_GRID_SLOT"],description:"4組折線圖表"}),D_=p({chartParamsId:"CP_BOTTOM_SLIGHT_PADDING",allPluginParamsIds:["PP_TREE_LEGEND_BOTTOM"],description:"基本Tree參數"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=x,_.PRESET_BARS_HORIZONTAL_AND_THIN=Z,_.PRESET_BARS_ROUND=z,_.PRESET_BARS_THIN=Y,_.PRESET_BUBBLES_BASIC=H,_.PRESET_BUBBLES_SCALING_BY_RADIUS=h,_.PRESET_GRID_2_SERIES_SLOT=j,_.PRESET_GRID_3_SERIES_SLOT=v,_.PRESET_GRID_4_SERIES_SLOT=K,_.PRESET_GRID_BASIC=W,_.PRESET_GRID_DIVERGING_SCALE=V,_.PRESET_GRID_HORIZONTAL=X,_.PRESET_GRID_ROTATE_AXIS_LABEL=f,_.PRESET_LINES_BASIC=$,_.PRESET_LINES_CURVE=q,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=J,_.PRESET_LINES_HORIZONTAL=w,_.PRESET_LINES_ROTATE_AXIS_LABEL=k,_.PRESET_LINE_AREAS_BASIC=Q,_.PRESET_LINE_AREAS_CURVE=T_,_.PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS=P_,_.PRESET_LINE_AREAS_HORIZONTAL=I_,_.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=__,_.PRESET_MULTI_GRID_2_GRID_SLOT=L_,_.PRESET_MULTI_GRID_3_GRID_SLOT=a_,_.PRESET_MULTI_GRID_4_GRID_SLOT=E_,_.PRESET_MULTI_GRID_BASIC=t_,_.PRESET_MULTI_GRID_ROUND_STYLE=i_,_.PRESET_MULTI_LINES_2_GRID_SLOT=e_,_.PRESET_MULTI_LINES_3_GRID_SLOT=S_,_.PRESET_MULTI_LINES_4_GRID_SLOT=R_,_.PRESET_PIE_BASIC=C,_.PRESET_PIE_DONUT=y,_.PRESET_PIE_HALF_DONUT=b,_.PRESET_PIE_WITH_INNER_LABELS=F,_.PRESET_SERIES_BASIC=m,_.PRESET_TREE_BASIC=D_,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_BOTTOM_AND_LEFT_PADDING: ChartParamsFile;
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile;
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile;
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile;
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_BOTTOM_SLIGHT_PADDING: ChartParamsFile;
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_TOP_AND_NO_BOTTOM_PADDING: ChartParamsFile;
@@ -1,5 +1,11 @@
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';
10
+ export { CP_TOP_AND_NO_BOTTOM_PADDING } from './CP_TOP_AND_NO_BOTTOM_PADDING';
5
11
  export { CP_RIGHT_PADDING } from './CP_RIGHT_PADDING';
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_GRID_2_SERIES_SLOT: DataFormatterFile<'grid'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_GRID_3_SERIES_SLOT: DataFormatterFile<'grid'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_GRID_4_SERIES_SLOT: DataFormatterFile<'grid'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_GRID_BOTTOM_VALUE_AXIS: DataFormatterFile<'grid'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING: DataFormatterFile<'grid'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_GRID_DIVERGING_SCALE: DataFormatterFile<'grid'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_GRID_NONE_GROUP_SCALE_PADDING: DataFormatterFile<'grid'>;
@@ -1 +1,7 @@
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_DIVERGING_SCALE } from './DF_GRID_DIVERGING_SCALE';
7
+ export { DF_GRID_NONE_GROUP_SCALE_PADDING } from './DF_GRID_NONE_GROUP_SCALE_PADDING';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { GridLegendParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST: PluginParamsFile<GridLegendParams>;
@@ -1,2 +1,3 @@
1
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';
2
3
  export { PP_GRID_LEGEND_BOTTOM } from './PP_GRID_LEGEND_BOTTOM';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { LineAreasParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_LINE_AREAS_CURVE: PluginParamsFile<LineAreasParams>;
@@ -0,0 +1 @@
1
+ export { PP_LINE_AREAS_CURVE } from './PP_LINE_AREAS_CURVE';
@@ -3,3 +3,4 @@ export * from './Dots';
3
3
  export * from './GridLegend';
4
4
  export * from './GroupAxis';
5
5
  export * from './Lines';
6
+ export * from './LineAreas';
@@ -1,12 +1,37 @@
1
1
  export declare const PRESET_SERIES_BASIC: import('@orbcharts/core').PresetPartial<"series">;
2
+ export declare const PRESET_BUBBLES_BASIC: import('@orbcharts/core').PresetPartial<"series">;
2
3
  export declare const PRESET_BUBBLES_SCALING_BY_RADIUS: import('@orbcharts/core').PresetPartial<"series">;
4
+ export declare const PRESET_PIE_BASIC: import('@orbcharts/core').PresetPartial<"series">;
3
5
  export declare const PRESET_PIE_WITH_INNER_LABELS: import('@orbcharts/core').PresetPartial<"series">;
4
6
  export declare const PRESET_PIE_DONUT: import('@orbcharts/core').PresetPartial<"series">;
5
7
  export declare const PRESET_PIE_HALF_DONUT: import('@orbcharts/core').PresetPartial<"series">;
6
8
  export declare const PRESET_GRID_BASIC: import('@orbcharts/core').PresetPartial<"grid">;
7
9
  export declare const PRESET_GRID_ROTATE_AXIS_LABEL: import('@orbcharts/core').PresetPartial<"grid">;
10
+ export declare const PRESET_GRID_HORIZONTAL: import('@orbcharts/core').PresetPartial<"grid">;
11
+ export declare const PRESET_GRID_DIVERGING_SCALE: import('@orbcharts/core').PresetPartial<"grid">;
12
+ export declare const PRESET_GRID_2_SERIES_SLOT: import('@orbcharts/core').PresetPartial<"grid">;
13
+ export declare const PRESET_GRID_3_SERIES_SLOT: import('@orbcharts/core').PresetPartial<"grid">;
14
+ export declare const PRESET_GRID_4_SERIES_SLOT: import('@orbcharts/core').PresetPartial<"grid">;
8
15
  export declare const PRESET_BARS_ROUND: import('@orbcharts/core').PresetPartial<"grid">;
9
16
  export declare const PRESET_BARS_HORIZONTAL_AND_ROUND: import('@orbcharts/core').PresetPartial<"grid">;
10
17
  export declare const PRESET_BARS_THIN: import('@orbcharts/core').PresetPartial<"grid">;
18
+ export declare const PRESET_BARS_HORIZONTAL_AND_THIN: import('@orbcharts/core').PresetPartial<"grid">;
19
+ export declare const PRESET_LINES_BASIC: import('@orbcharts/core').PresetPartial<"grid">;
20
+ export declare const PRESET_LINES_ROTATE_AXIS_LABEL: import('@orbcharts/core').PresetPartial<"grid">;
21
+ export declare const PRESET_LINES_HORIZONTAL: import('@orbcharts/core').PresetPartial<"grid">;
11
22
  export declare const PRESET_LINES_CURVE: import('@orbcharts/core').PresetPartial<"grid">;
12
23
  export declare const PRESET_LINES_HIGHLIGHT_GROUP_DOTS: import('@orbcharts/core').PresetPartial<"grid">;
24
+ export declare const PRESET_LINE_AREAS_BASIC: import('@orbcharts/core').PresetPartial<"grid">;
25
+ export declare const PRESET_LINE_AREAS_ROTATE_AXIS_LABEL: import('@orbcharts/core').PresetPartial<"grid">;
26
+ export declare const PRESET_LINE_AREAS_HORIZONTAL: import('@orbcharts/core').PresetPartial<"grid">;
27
+ export declare const PRESET_LINE_AREAS_CURVE: import('@orbcharts/core').PresetPartial<"grid">;
28
+ export declare const PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS: import('@orbcharts/core').PresetPartial<"grid">;
29
+ export declare const PRESET_MULTI_GRID_BASIC: import('@orbcharts/core').PresetPartial<"multiGrid">;
30
+ export declare const PRESET_MULTI_GRID_ROUND_STYLE: import('@orbcharts/core').PresetPartial<"multiGrid">;
31
+ export declare const PRESET_MULTI_GRID_2_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
32
+ export declare const PRESET_MULTI_GRID_3_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
33
+ export declare const PRESET_MULTI_GRID_4_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
34
+ export declare const PRESET_MULTI_LINES_2_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
35
+ export declare const PRESET_MULTI_LINES_3_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
36
+ export declare const PRESET_MULTI_LINES_4_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
37
+ export declare const PRESET_TREE_BASIC: import('@orbcharts/core').PresetPartial<"tree">;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_MULTI_GRID_2_GRID_SLOT: DataFormatterFile<'multiGrid'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_MULTI_GRID_3_GRID_SLOT: DataFormatterFile<'multiGrid'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_MULTI_GRID_4_GRID_SLOT: DataFormatterFile<'multiGrid'>;
@@ -1 +1,3 @@
1
- export declare const temp: {};
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';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BAR_STACK_2_GRID_SLOT: PluginParamsFile<MultiBarsParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BAR_STACK_3_GRID_SLOT: PluginParamsFile<MultiBarsParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BAR_STACK_4_GRID_SLOT: PluginParamsFile<MultiBarsParams>;
@@ -0,0 +1,3 @@
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';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BARS_2_GRID_SLOT: PluginParamsFile<MultiBarsParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BARS_3_GRID_SLOT: PluginParamsFile<MultiBarsParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BARS_4_GRID_SLOT: PluginParamsFile<MultiBarsParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BARS_ROUND: PluginParamsFile<MultiBarsParams>;
@@ -0,0 +1,4 @@
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';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsTriangleParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsTriangleParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiBarsTriangleParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams>;
@@ -0,0 +1,3 @@
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';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { GridLegendParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_GRID_LEGEND_BOTTOM: PluginParamsFile<GridLegendParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiGridLegendParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: PluginParamsFile<MultiGridLegendParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiGridLegendParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST: PluginParamsFile<MultiGridLegendParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiGridLegendParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST: PluginParamsFile<MultiGridLegendParams>;
@@ -0,0 +1,4 @@
1
+ export { PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST } from './PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST';
2
+ export { PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST } from './PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST';
3
+ export { PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST } from './PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST';
4
+ export { PP_MULTI_GRID_LEGEND_BOTTOM } from './PP_MULTI_GRID_LEGEND_BOTTOM';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiGroupAxisParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_GROUP_AXIS_2_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiGroupAxisParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_GROUP_AXIS_3_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams>;
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiGroupAxisParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_GROUP_AXIS_4_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams>;
@@ -0,0 +1,3 @@
1
+ export { PP_MULTI_GROUP_AXIS_2_GRID_SLOT } from './PP_MULTI_GROUP_AXIS_2_GRID_SLOT';
2
+ export { PP_MULTI_GROUP_AXIS_3_GRID_SLOT } from './PP_MULTI_GROUP_AXIS_3_GRID_SLOT';
3
+ export { PP_MULTI_GROUP_AXIS_4_GRID_SLOT } from './PP_MULTI_GROUP_AXIS_4_GRID_SLOT';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { MultiLinesParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_MULTI_LINES_2_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_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';
@@ -1 +1,7 @@
1
- export declare const temp: {};
1
+ export * from './MultiBars';
2
+ export * from './MultiBarStack';
3
+ export * from './MultiBarsTriangle';
4
+ export * from './MultiLines';
5
+ export * from './MultiGridLegend';
6
+ export * from './MultiGroupAxis';
7
+ export * from './MultiValueAxis';
@@ -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';
@@ -1,4 +1,4 @@
1
- import { ChartParamsPartial, DataFormatterPartialTypeMap, ChartType } from '@orbcharts/core';
1
+ import { ChartParamsPartial, DataFormatterPartialTypeMap, ChartType } from '@orbcharts/core/src/index';
2
2
 
3
3
  import * as chartParams from './chartParamsFiles';
4
4
  import * as seriesDataFormatters from './seriesDataFormatterFiles';
@@ -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.1",
3
+ "version": "3.0.0-alpha.11",
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.38",
39
+ "@orbcharts/plugins-basic": "^3.0.0-alpha.41",
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
+ }