@orbcharts/presets-basic 3.0.0-alpha.6 → 3.0.0-alpha.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/dist/orbcharts-presets-basic.es.js +424 -158
  2. package/dist/orbcharts-presets-basic.umd.js +1 -1
  3. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +4 -0
  4. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +1 -0
  5. package/dist/src/index.d.ts +4 -0
  6. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +4 -0
  7. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +4 -0
  8. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +4 -0
  9. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +3 -0
  10. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +4 -0
  11. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +4 -0
  12. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +4 -0
  13. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +4 -0
  14. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +4 -0
  15. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +4 -0
  16. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +4 -0
  17. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +4 -0
  18. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +3 -0
  19. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +4 -0
  20. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +4 -0
  21. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +2 -0
  22. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +4 -0
  23. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +4 -0
  24. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +4 -0
  25. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +3 -0
  26. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +4 -0
  27. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +4 -0
  28. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +4 -0
  29. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +4 -0
  30. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +4 -0
  31. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +4 -0
  32. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +4 -0
  33. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +4 -0
  34. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +3 -0
  35. package/dist/src/multiGridPluginParamsFiles/index.d.ts +6 -0
  36. package/package.json +3 -3
  37. package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +15 -0
  38. package/src/gridDataFormatterFiles/index.ts +2 -1
  39. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +15 -0
  40. package/src/gridPluginParamsFiles/GridLegend/index.ts +1 -0
  41. package/src/index.ts +51 -13
  42. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +1 -1
  43. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +12 -0
  44. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +12 -0
  45. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +12 -0
  46. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +4 -0
  47. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +12 -0
  48. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +12 -0
  49. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +12 -0
  50. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +15 -0
  51. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -0
  52. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +12 -0
  53. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +12 -0
  54. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +12 -0
  55. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +3 -0
  56. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +28 -0
  57. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +1 -1
  58. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +22 -0
  59. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +2 -0
  60. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +13 -0
  61. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +13 -0
  62. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +13 -0
  63. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +3 -0
  64. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +12 -0
  65. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +12 -0
  66. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +12 -0
  67. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +13 -0
  68. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +4 -0
  69. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +12 -0
  70. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +12 -0
  71. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +12 -0
  72. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -0
  73. package/src/multiGridPluginParamsFiles/index.ts +7 -1
  74. package/tsconfig.prod.json +1 -5
@@ -1 +1 @@
1
- (function(_,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(_=typeof globalThis<"u"?globalThis:_||self,i(_["orbcharts-presets-basic"]={}))})(this,function(_){"use strict";const n=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_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"})),D=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),O={id:"PP_BUBBLES_SCALING_BY_RADIUS",chartType:"series",pluginName:"Bubbles",description:"以半徑尺寸為比例的泡泡圖",data:{bubbleScaleType:"radius"}},s={id:"PP_PIE_DONUT",chartType:"series",pluginName:"Pie",description:"甜甜圈圖",data:{innerRadius:.5}},S={id:"PP_PIE_HALF_DONUT",chartType:"series",pluginName:"Pie",description:"半圓甜甜圈圖",data:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2}},G={id:"PP_PIE_LABELS_HALF_ANGLE",chartType:"series",pluginName:"PieLabels",description:"半圓甜甜圈資料標籤",data:{startAngle:-Math.PI/2,endAngle:Math.PI/2}},R=Object.freeze(Object.defineProperty({__proto__:null,PP_BUBBLES_SCALING_BY_RADIUS:O,PP_PIE_DONUT:s,PP_PIE_HALF_DONUT:S,PP_PIE_LABELS_HALF_ANGLE:G,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"})),L=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"}}}}},Symbol.toStringTag,{value:"Module"})),l=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_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}}},Symbol.toStringTag,{value:"Module"})),c=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:0},{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"})),N=Object.freeze(Object.defineProperty({__proto__:null,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_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}]}}},Symbol.toStringTag,{value:"Module"})),A=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"})),p=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"})),d={series:D,grid:L,multiGrid:c,multiValue:A,relationship:g,tree:u},a={series:R,grid:l,multiGrid:N,multiValue:m,relationship:p,tree:B},r=(I,T)=>{const t_=T.chartParamsId?n[T.chartParamsId].data:void 0,I_=d[I][T.dataFormatterId]?d[I][T.dataFormatterId].data:void 0,P_=T.allPluginParamsIds?T.allPluginParamsIds.reduce((o,E)=>{if(a[I][E]){const T_=a[I][E].pluginName;o[T_]=a[I][E].data}return o},{}):void 0;return{chartParams:t_,dataFormatter:I_,allPluginParams:P_}},P=I=>r("series",I),t=I=>r("grid",I),e=I=>r("multiGrid",I),M=P({allPluginParamsIds:[],description:"基本Series參數"}),H=P({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本泡泡圖"}),h=P({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),U=P({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本圓餅圖"}),F=P({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),C=P({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),b=P({chartParamsId:"CP_TOP_AND_NO_BOTTOM_PADDING",allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),y=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),f=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),W=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圖"}),j=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_2_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"2組Series圖表"}),X=t({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圖表"}),v=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_4_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"4組Series圖表"}),V=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"圓角長條圖"}),z=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),$=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),Y=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),w=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),Z=t({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"傾斜標籤"}),k=t({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=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),J=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),K=e({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],description:"基本MultiGrid參數"}),Q=e({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_MULTI_GRID_2_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM"],description:"2組Grid圖表"}),x=e({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_MULTI_GRID_3_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM"],description:"3組Grid圖表"}),__=e({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_MULTI_GRID_4_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM"],description:"4組Grid圖表"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=z,_.PRESET_BARS_HORIZONTAL_AND_THIN=Y,_.PRESET_BARS_ROUND=V,_.PRESET_BARS_THIN=$,_.PRESET_BUBBLES_BASIC=H,_.PRESET_BUBBLES_SCALING_BY_RADIUS=h,_.PRESET_GRID_2_SERIES_SLOT=j,_.PRESET_GRID_3_SERIES_SLOT=X,_.PRESET_GRID_4_SERIES_SLOT=v,_.PRESET_GRID_BASIC=y,_.PRESET_GRID_HORIZONTAL=W,_.PRESET_GRID_ROTATE_AXIS_LABEL=f,_.PRESET_LINES_BASIC=w,_.PRESET_LINES_CURVE=q,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=J,_.PRESET_LINES_HORIZONTAL=k,_.PRESET_LINES_ROTATE_AXIS_LABEL=Z,_.PRESET_MULTI_GRID_2_GRID_SLOT=Q,_.PRESET_MULTI_GRID_3_GRID_SLOT=x,_.PRESET_MULTI_GRID_4_GRID_SLOT=__,_.PRESET_MULTI_GRID_BASIC=K,_.PRESET_PIE_BASIC=U,_.PRESET_PIE_DONUT=C,_.PRESET_PIE_HALF_DONUT=b,_.PRESET_PIE_WITH_INNER_LABELS=F,_.PRESET_SERIES_BASIC=M,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_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"})),E=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),D={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}},G={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:D,PP_PIE_DONUT:O,PP_PIE_HALF_DONUT:G,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"}}}}},Symbol.toStringTag,{value:"Module"})),l=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}}},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"})),A=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"})),p=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),m=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),r={series:E,grid:o,multiGrid:N,multiValue:c,relationship:U,tree:p},e={series:s,grid:l,multiGrid:A,multiValue:M,relationship:u,tree:m},a=(T,i)=>{const i_=i.chartParamsId?d[i.chartParamsId].data:void 0,L_=r[T][i.dataFormatterId]?r[T][i.dataFormatterId].data:void 0,e_=i.allPluginParamsIds?i.allPluginParamsIds.reduce((R,S)=>{if(e[T][S]){const a_=e[T][S].pluginName;R[a_]=e[T][S].data}return R},{}):void 0;return{chartParams:i_,dataFormatter:L_,allPluginParams:e_}},P=T=>a("series",T),I=T=>a("grid",T),t=T=>a("multiGrid",T),B=P({allPluginParamsIds:[],description:"基本Series參數"}),g=P({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本泡泡圖"}),H=P({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),h=P({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本圓餅圖"}),C=P({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),F=P({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),y=P({chartParamsId:"CP_TOP_AND_NO_BOTTOM_PADDING",allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),b=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:"傾斜標籤"}),W=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圖"}),X=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圖表"}),j=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圖表"}),v=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:"橫向圓角長條圖"}),K=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參數"}),Y=I({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"傾斜標籤"}),k=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:"橫向圓角長條圖"}),w=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),Z=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=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],description:"基本MultiGrid參數"}),J=t({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圓弧風格"}),Q=t({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圖表"}),__=t({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圖表"}),I_=t({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圖表"}),T_=t({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組折線圖表"}),t_=t({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組折線圖表"}),P_=t({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組折線圖表"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=x,_.PRESET_BARS_HORIZONTAL_AND_THIN=z,_.PRESET_BARS_ROUND=v,_.PRESET_BARS_THIN=K,_.PRESET_BUBBLES_BASIC=g,_.PRESET_BUBBLES_SCALING_BY_RADIUS=H,_.PRESET_GRID_2_SERIES_SLOT=X,_.PRESET_GRID_3_SERIES_SLOT=V,_.PRESET_GRID_4_SERIES_SLOT=j,_.PRESET_GRID_BASIC=b,_.PRESET_GRID_HORIZONTAL=W,_.PRESET_GRID_ROTATE_AXIS_LABEL=f,_.PRESET_LINES_BASIC=$,_.PRESET_LINES_CURVE=w,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=Z,_.PRESET_LINES_HORIZONTAL=k,_.PRESET_LINES_ROTATE_AXIS_LABEL=Y,_.PRESET_MULTI_GRID_2_GRID_SLOT=Q,_.PRESET_MULTI_GRID_3_GRID_SLOT=__,_.PRESET_MULTI_GRID_4_GRID_SLOT=I_,_.PRESET_MULTI_GRID_BASIC=q,_.PRESET_MULTI_GRID_ROUND_STYLE=J,_.PRESET_MULTI_LINES_2_GRID_SLOT=T_,_.PRESET_MULTI_LINES_3_GRID_SLOT=t_,_.PRESET_MULTI_LINES_4_GRID_SLOT=P_,_.PRESET_PIE_BASIC=h,_.PRESET_PIE_DONUT=F,_.PRESET_PIE_HALF_DONUT=y,_.PRESET_PIE_WITH_INNER_LABELS=C,_.PRESET_SERIES_BASIC=B,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
@@ -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';
@@ -21,6 +21,10 @@ export declare const PRESET_LINES_HORIZONTAL: import('@orbcharts/core').PresetPa
21
21
  export declare const PRESET_LINES_CURVE: import('@orbcharts/core').PresetPartial<"grid">;
22
22
  export declare const PRESET_LINES_HIGHLIGHT_GROUP_DOTS: import('@orbcharts/core').PresetPartial<"grid">;
23
23
  export declare const PRESET_MULTI_GRID_BASIC: import('@orbcharts/core').PresetPartial<"multiGrid">;
24
+ export declare const PRESET_MULTI_GRID_ROUND_STYLE: import('@orbcharts/core').PresetPartial<"multiGrid">;
24
25
  export declare const PRESET_MULTI_GRID_2_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
25
26
  export declare const PRESET_MULTI_GRID_3_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
26
27
  export declare const PRESET_MULTI_GRID_4_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
28
+ export declare const PRESET_MULTI_LINES_2_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
29
+ export declare const PRESET_MULTI_LINES_3_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
30
+ export declare const PRESET_MULTI_LINES_4_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
@@ -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 { 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_ROUND_AND_LINE_LIST: PluginParamsFile<MultiGridLegendParams>;
@@ -1,2 +1,4 @@
1
+ export { PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST } from './PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST';
1
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';
2
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 * from './MultiBars';
2
+ export * from './MultiBarStack';
3
+ export * from './MultiBarsTriangle';
4
+ export * from './MultiLines';
1
5
  export * from './MultiGridLegend';
6
+ export * from './MultiGroupAxis';
7
+ export * from './MultiValueAxis';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbcharts/presets-basic",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-alpha.8",
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.33",
39
- "@orbcharts/plugins-basic": "^3.0.0-alpha.35",
38
+ "@orbcharts/core": "^3.0.0-alpha.36",
39
+ "@orbcharts/plugins-basic": "^3.0.0-alpha.37",
40
40
  "d3": "^7.8.5",
41
41
  "rxjs": "^7.8.1"
42
42
  }
@@ -0,0 +1,15 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_GRID_DIVERGING_SCALE: DataFormatterFile<'grid'> = {
4
+ id: 'DF_GRID_DIVERGING_SCALE',
5
+ chartType: 'grid',
6
+ description: '分向資料圖軸',
7
+ data: {
8
+ grid: {
9
+ valueAxis: {
10
+ scaleDomain: ['auto', 'auto'],
11
+ scaleRange: [0.05, 0.95],
12
+ },
13
+ }
14
+ }
15
+ }
@@ -1,4 +1,5 @@
1
1
  export { DF_GRID_BOTTOM_VALUE_AXIS } from './DF_GRID_BOTTOM_VALUE_AXIS'
2
2
  export { DF_GRID_2_SERIES_SLOT } from './DF_GRID_2_SERIES_SLOT'
3
3
  export { DF_GRID_3_SERIES_SLOT } from './DF_GRID_3_SERIES_SLOT'
4
- export { DF_GRID_4_SERIES_SLOT } from './DF_GRID_4_SERIES_SLOT'
4
+ export { DF_GRID_4_SERIES_SLOT } from './DF_GRID_4_SERIES_SLOT'
5
+ export { DF_GRID_DIVERGING_SCALE } from './DF_GRID_DIVERGING_SCALE'
@@ -0,0 +1,15 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST: PluginParamsFile<GridLegendParams> = {
5
+ id: 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST',
6
+ chartType: 'grid',
7
+ pluginName: 'GridLegend',
8
+ description: '底部圖例及圓弧列點',
9
+ data: {
10
+ position: 'bottom',
11
+ justify: 'center',
12
+ padding: 14,
13
+ listRectRadius: 7,
14
+ }
15
+ }
@@ -1,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'
package/src/index.ts CHANGED
@@ -64,6 +64,12 @@ export const PRESET_GRID_HORIZONTAL = createGridPreset({
64
64
  allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM'],
65
65
  description: '橫向圖'
66
66
  })
67
+ export const PRESET_GRID_DIVERGING_SCALE = createGridPreset({
68
+ chartParamsId: 'CP_BOTTOM_PADDING',
69
+ dataFormatterId: 'DF_GRID_DIVERGING_SCALE',
70
+ allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM'],
71
+ description: '正負值分向圖'
72
+ })
67
73
  export const PRESET_GRID_2_SERIES_SLOT = createGridPreset({
68
74
  chartParamsId: 'CP_BOTTOM_LONG_PADDING',
69
75
  dataFormatterId: 'DF_GRID_2_SERIES_SLOT',
@@ -85,13 +91,13 @@ export const PRESET_GRID_4_SERIES_SLOT = createGridPreset({
85
91
  // Bars - PRESET_BARS_[name]
86
92
  export const PRESET_BARS_ROUND = createGridPreset({
87
93
  chartParamsId: 'CP_BOTTOM_PADDING',
88
- allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM'],
94
+ allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'],
89
95
  description: '圓角長條圖'
90
96
  })
91
97
  export const PRESET_BARS_HORIZONTAL_AND_ROUND = createGridPreset({
92
98
  chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING',
93
99
  dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
94
- allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM'],
100
+ allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'],
95
101
  description: '橫向圓角長條圖'
96
102
  })
97
103
  export const PRESET_BARS_THIN = createGridPreset({
@@ -102,7 +108,7 @@ export const PRESET_BARS_THIN = createGridPreset({
102
108
  export const PRESET_BARS_HORIZONTAL_AND_THIN = createGridPreset({
103
109
  chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING',
104
110
  dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
105
- allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM'],
111
+ allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'],
106
112
  description: '橫向圓角長條圖'
107
113
  })
108
114
  // Lines - PRESET_LINES_[name]
@@ -146,31 +152,63 @@ export const PRESET_LINES_HIGHLIGHT_GROUP_DOTS = createGridPreset({
146
152
  // -- multi-grid --
147
153
  // 通用 - PRESET_MULTI_GRID_[name]
148
154
  export const PRESET_MULTI_GRID_BASIC = createMultiGridPreset({
149
- chartParamsId: 'CP_BOTTOM_PADDING',
155
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
150
156
  allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST'],
151
157
  description: '基本MultiGrid參數'
152
158
  })
159
+ export const PRESET_MULTI_GRID_ROUND_STYLE = createMultiGridPreset({
160
+ chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
161
+ allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST', 'PP_MULTI_BARS_ROUND', 'PP_MULTI_LINES_CURVE'],
162
+ description: 'MultiGrid圓弧風格'
163
+ })
153
164
  export const PRESET_MULTI_GRID_2_GRID_SLOT = createMultiGridPreset({
154
- chartParamsId: 'CP_BOTTOM_PADDING',
165
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
155
166
  dataFormatterId: 'DF_MULTI_GRID_2_GRID_SLOT',
156
- allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM'],
167
+ 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'],
157
168
  description: '2組Grid圖表'
158
169
  })
159
170
  export const PRESET_MULTI_GRID_3_GRID_SLOT = createMultiGridPreset({
160
- chartParamsId: 'CP_BOTTOM_PADDING',
171
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
161
172
  dataFormatterId: 'DF_MULTI_GRID_3_GRID_SLOT',
162
- allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM'],
173
+ 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'],
163
174
  description: '3組Grid圖表'
164
175
  })
165
176
  export const PRESET_MULTI_GRID_4_GRID_SLOT = createMultiGridPreset({
166
- chartParamsId: 'CP_BOTTOM_PADDING',
177
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
167
178
  dataFormatterId: 'DF_MULTI_GRID_4_GRID_SLOT',
168
- allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM'],
179
+ 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'],
169
180
  description: '4組Grid圖表'
170
181
  })
171
- // MultiBars, MultiLines - PRESET_BARS_AND_LINES_[name]
172
-
173
-
182
+ // // MultiBars, MultiLines - PRESET_MULTI_BARS_MULTI_LINES_[name]
183
+ // export const PRESET_MULTI_BARS_MULTI_LINES_BASIC = createMultiGridPreset({
184
+ // chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
185
+ // allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST'],
186
+ // description: '基本MultiGrid參數'
187
+ // })
188
+ // MultiLines - PRESET_MULTI_LINES_[name]
189
+ // export const PRESET_MULTI_LINES_BASIC = createMultiGridPreset({
190
+ // chartParamsId: 'CP_BOTTOM_PADDING',
191
+ // allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
192
+ // description: '基本MultiGrid參數'
193
+ // })
194
+ export const PRESET_MULTI_LINES_2_GRID_SLOT = createMultiGridPreset({
195
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
196
+ dataFormatterId: 'DF_MULTI_GRID_2_GRID_SLOT',
197
+ 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'],
198
+ description: '2組折線圖表'
199
+ })
200
+ export const PRESET_MULTI_LINES_3_GRID_SLOT = createMultiGridPreset({
201
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
202
+ dataFormatterId: 'DF_MULTI_GRID_3_GRID_SLOT',
203
+ 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'],
204
+ description: '3組折線圖表'
205
+ })
206
+ export const PRESET_MULTI_LINES_4_GRID_SLOT = createMultiGridPreset({
207
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
208
+ dataFormatterId: 'DF_MULTI_GRID_4_GRID_SLOT',
209
+ 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'],
210
+ description: '4組折線圖表'
211
+ })
174
212
 
175
213
  // -- multi-value --
176
214
 
@@ -7,7 +7,7 @@ export const DF_MULTI_GRID_2_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
7
7
  data: {
8
8
  gridList: [
9
9
  {
10
- slotIndex: 0
10
+ // slotIndex: 0
11
11
  },
12
12
  {
13
13
  slotIndex: 1
@@ -0,0 +1,12 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BAR_STACK_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BAR_STACK_2_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBarStack',
8
+ description: '2組堆疊長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1]
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BAR_STACK_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BAR_STACK_3_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBarStack',
8
+ description: '3組堆疊長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1, 2]
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BAR_STACK_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BAR_STACK_4_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBarStack',
8
+ description: '4組堆疊長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1, 2, 3]
11
+ }
12
+ }
@@ -0,0 +1,4 @@
1
+ export { PP_MULTI_BAR_STACK_2_GRID_SLOT } from './PP_MULTI_BAR_STACK_2_GRID_SLOT'
2
+ export { PP_MULTI_BAR_STACK_3_GRID_SLOT } from './PP_MULTI_BAR_STACK_3_GRID_SLOT'
3
+ export { PP_MULTI_BAR_STACK_4_GRID_SLOT } from './PP_MULTI_BAR_STACK_4_GRID_SLOT'
4
+ // export { PP_MULTI_BAR_STACK_ROUND } from './PP_MULTI_BAR_STACK_ROUND'
@@ -0,0 +1,12 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BARS_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BARS_2_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBars',
8
+ description: '2組群組長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1]
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BARS_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BARS_3_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBars',
8
+ description: '3組群組長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1, 2]
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BARS_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BARS_4_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBars',
8
+ description: '4組群組長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1, 2, 3]
11
+ }
12
+ }
@@ -0,0 +1,15 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BARS_ROUND: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BARS_ROUND',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBars',
8
+ description: '圓角長條圖',
9
+ data: {
10
+ barWidth: 0,
11
+ barPadding: 1,
12
+ barGroupPadding: 10,
13
+ barRadius: true,
14
+ }
15
+ }
@@ -0,0 +1,5 @@
1
+ export { PP_MULTI_BARS_2_GRID_SLOT } from './PP_MULTI_BARS_2_GRID_SLOT'
2
+ export { PP_MULTI_BARS_3_GRID_SLOT } from './PP_MULTI_BARS_3_GRID_SLOT'
3
+ export { PP_MULTI_BARS_4_GRID_SLOT } from './PP_MULTI_BARS_4_GRID_SLOT'
4
+ export { PP_MULTI_BARS_ROUND } from './PP_MULTI_BARS_ROUND'
5
+