@orbcharts/presets-basic 3.0.0-alpha.18 → 3.0.0-alpha.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/dist/orbcharts-presets-basic.es.js +329 -248
  2. package/dist/orbcharts-presets-basic.umd.js +1 -1
  3. package/dist/src/index.d.ts +3 -2
  4. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.d.ts +3 -0
  5. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.d.ts +3 -0
  6. package/dist/src/multiGridDataFormatterFiles/index.d.ts +1 -0
  7. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.d.ts +4 -0
  8. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +1 -0
  9. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.d.ts +0 -0
  10. package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +3 -0
  11. package/dist/src/seriesDataFormatterFiles/index.d.ts +1 -0
  12. package/dist/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
  13. package/dist/src/seriesPluginParamsFiles/Rose/index.d.ts +1 -0
  14. package/dist/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.d.ts +4 -0
  15. package/dist/src/seriesPluginParamsFiles/RoseLabels/index.d.ts +1 -0
  16. package/dist/src/seriesPluginParamsFiles/index.d.ts +2 -0
  17. package/package.json +3 -3
  18. package/src/index.ts +37 -11
  19. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.ts +36 -0
  20. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.ts +36 -0
  21. package/src/multiGridDataFormatterFiles/index.ts +1 -0
  22. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_DIVERGING.ts +13 -0
  23. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +1 -0
  24. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_PN.ts +0 -0
  25. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +11 -0
  26. package/src/seriesDataFormatterFiles/index.ts +1 -0
  27. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +1 -1
  28. package/src/seriesPluginParamsFiles/Rose/PP_ROSE_SCALING_BY_RADIUS.ts +12 -0
  29. package/src/seriesPluginParamsFiles/Rose/index.ts +2 -0
  30. package/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.ts +12 -0
  31. package/src/seriesPluginParamsFiles/RoseLabels/index.ts +1 -0
  32. package/src/seriesPluginParamsFiles/index.ts +2 -0
@@ -1 +1 @@
1
- (function(_,S){typeof exports=="object"&&typeof module<"u"?S(exports):typeof define=="function"&&define.amd?define(["exports"],S):(_=typeof globalThis<"u"?globalThis:_||self,S(_["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_LONG_PADDING:{id:"CP_LONG_PADDING",description:"加長留空",data:{padding:{top:160,right:160,bottom:160,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"})),r=Object.freeze(Object.defineProperty({__proto__:null,DF_SERIES_DESC:{id:"DF_SERIES_DESC",chartType:"series",description:"資料由大到小排序",data:{sort:(T,P)=>P.value-T.value}},DF_SERIES_SEPARATE_SERIES:{id:"DF_SERIES_SEPARATE_SERIES",chartType:"series",description:"分開顯示Series",data:{separateSeries:!0}},DF_SERIES_SEPARATE_SERIES_AND_DESC:{id:"DF_SERIES_SEPARATE_SERIES_AND_DESC",chartType:"series",description:"分開顯示Series並排序",data:{separateSeries:!0,sort:(T,P)=>P.value-T.value}},DF_SERIES_SUM_SERIES:{id:"DF_SERIES_SUM_SERIES",chartType:"series",description:"合併Series資料",data:{sumSeries:!0}},DF_SERIES_SUM_SERIES_AND_DESC:{id:"DF_SERIES_SUM_SERIES_AND_DESC",chartType:"series",description:"合併Series資料並排序",data:{sumSeries:!0,sort:(T,P)=>P.value-T.value}}},Symbol.toStringTag,{value:"Module"})),G={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}},A={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:G,PP_PIE_DONUT:d,PP_PIE_HALF_DONUT:O,PP_PIE_LABELS_HALF_ANGLE:A,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"})),n=Object.freeze(Object.defineProperty({__proto__:null,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}}}},DF_GRID_SEPARATE_SERIES:{id:"DF_GRID_SEPARATE_SERIES",chartType:"grid",description:"分開顯示Series",data:{grid:{separateSeries:!0}}},DF_LINE_AREAS_SEPARATE_SERIES:{id:"DF_LINE_AREAS_SEPARATE_SERIES",chartType:"grid",description:"LineAreas 分開顯示Series",data:{grid:{separateSeries:!0,groupAxis:{scalePadding:0}}}}},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:{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"})),o=Object.freeze(Object.defineProperty({__proto__:null,DF_MULTI_GRID_SEPARATE_GRID:{id:"DF_MULTI_GRID_SEPARATE_GRID",chartType:"multiGrid",description:"分開顯示Gird",data:{separateGrid:!0}},DF_MULTI_LINE_AREAS_SEPARATE_GRID:{id:"DF_MULTI_LINE_AREAS_SEPARATE_GRID",chartType:"multiGrid",description:"MultiLineAreas 分開顯示Gird",data:{gridList:[{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}}],separateGrid:!0}}},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_DOTS_2_GRID_SLOT:{id:"PP_MULTI_DOTS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiDots",description:"2組圓點",data:{gridIndexes:[0,1]}},PP_MULTI_DOTS_3_GRID_SLOT:{id:"PP_MULTI_DOTS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiDots",description:"3組圓點",data:{gridIndexes:[0,1,2]}},PP_MULTI_DOTS_4_GRID_SLOT:{id:"PP_MULTI_DOTS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiDots",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_LINE_AREAS_2_GRID_SLOT:{id:"PP_MULTI_LINE_AREAS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLineAreas",description:"2組折線圖",data:{gridIndexes:[0,1]}},PP_MULTI_LINE_AREAS_3_GRID_SLOT:{id:"PP_MULTI_LINE_AREAS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLineAreas",description:"3組折線圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_LINE_AREAS_4_GRID_SLOT:{id:"PP_MULTI_LINE_AREAS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLineAreas",description:"4組折線圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_LINE_AREAS_CURVE:{id:"PP_MULTI_LINE_AREAS_CURVE",chartType:"multiGrid",pluginName:"MultiLineAreas",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX"}},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"})),B=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"})),a={series:r,grid:n,multiGrid:o,multiValue:c,relationship:U,tree:p},L={series:s,grid:N,multiGrid:l,multiValue:M,relationship:u,tree:B},i=(T,P)=>{const N_=P.chartParamsId?D[P.chartParamsId].data:void 0,o_=a[T][P.dataFormatterId]?a[T][P.dataFormatterId].data:void 0,l_=P.allPluginParamsIds?P.allPluginParamsIds.reduce((e,R)=>{if(L[T][R]){const c_=L[T][R].pluginName;e[c_]=L[T][R].data}return e},{}):void 0;return{chartParams:N_,dataFormatter:o_,allPluginParams:l_}},E=T=>i("series",T),I=T=>i("grid",T),t=T=>i("multiGrid",T),g=T=>i("tree",T),m=E({allPluginParamsIds:[],description:"基本Series參數"}),H=E({dataFormatterId:"DF_SERIES_DESC",allPluginParamsIds:[],description:"資料由大到小排序"}),C=E({dataFormatterId:"DF_SERIES_SEPARATE_SERIES",allPluginParamsIds:[],description:"分開顯示Series"}),h=E({dataFormatterId:"DF_SERIES_SUM_SERIES",allPluginParamsIds:[],description:"合併Series資料"}),F=E({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本泡泡圖"}),y=E({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),b=E({chartParamsId:"CP_LONG_PADDING",dataFormatterId:"DF_SERIES_SEPARATE_SERIES",allPluginParamsIds:[],description:"分開顯示Series泡泡"}),W=E({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本圓餅圖"}),X=E({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),f=E({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),V=E({chartParamsId:"CP_TOP_AND_NO_BOTTOM_PADDING",allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),j=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),v=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),K=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圖"}),z=I({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_GRID_DIVERGING_SCALE",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"正負值分向圖"}),Y=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_SEPARATE_SERIES",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"分開顯示Series"}),Z=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],description:"圓角長條圖"}),k=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",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],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:"橫向圓角長條圖"}),w=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),q=I({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"傾斜標籤"}),J=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_DOTS_SOLID","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及實心圓點"}),__=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),I_=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),T_=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參數"}),P_=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:"傾斜標籤"}),E_=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:"弧線折線圖"}),S_=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圓點"}),i_=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_LINE_AREAS_SEPARATE_SERIES",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"LineAreas 分開顯示Series"}),L_=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],description:"基本MultiGrid參數"}),R_=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圓弧風格"}),a_=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"2組Grid圖表"}),e_=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_3_GRID_SLOT","PP_MULTI_DOTS_3_GRID_SLOT"],description:"3組Grid圖表"}),D_=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_4_GRID_SLOT","PP_MULTI_DOTS_4_GRID_SLOT"],description:"4組Grid圖表"}),r_=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"2組折線圖表"}),G_=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_3_GRID_SLOT","PP_MULTI_DOTS_3_GRID_SLOT"],description:"3組折線圖表"}),d_=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_4_GRID_SLOT","PP_MULTI_DOTS_4_GRID_SLOT"],description:"4組折線圖表"}),O_=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_LINE_AREAS_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"2組折線圖表"}),A_=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_LINE_AREAS_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_3_GRID_SLOT","PP_MULTI_DOTS_3_GRID_SLOT"],description:"3組折線圖表"}),s_=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_LINE_AREAS_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_4_GRID_SLOT","PP_MULTI_DOTS_4_GRID_SLOT"],description:"4組折線圖表"}),n_=g({chartParamsId:"CP_BOTTOM_SLIGHT_PADDING",allPluginParamsIds:["PP_TREE_LEGEND_BOTTOM"],description:"基本Tree參數"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=k,_.PRESET_BARS_HORIZONTAL_AND_THIN=x,_.PRESET_BARS_ROUND=Z,_.PRESET_BARS_THIN=$,_.PRESET_BUBBLES_BASIC=F,_.PRESET_BUBBLES_SCALING_BY_RADIUS=y,_.PRESET_BUBBLES_SEPARATE_SERIES=b,_.PRESET_GRID_BASIC=j,_.PRESET_GRID_DIVERGING_SCALE=z,_.PRESET_GRID_HORIZONTAL=K,_.PRESET_GRID_ROTATE_AXIS_LABEL=v,_.PRESET_GRID_SEPARATE_SERIES=Y,_.PRESET_LINES_BASIC=w,_.PRESET_LINES_CURVE=__,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=I_,_.PRESET_LINES_HORIZONTAL=J,_.PRESET_LINES_ROTATE_AXIS_LABEL=q,_.PRESET_LINES_WITH_SOLID_DOTS=Q,_.PRESET_LINE_AREAS_BASIC=T_,_.PRESET_LINE_AREAS_CURVE=t_,_.PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS=S_,_.PRESET_LINE_AREAS_HORIZONTAL=E_,_.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=P_,_.PRESET_LINE_AREAS_SEPARATE_GRID=i_,_.PRESET_MULTI_GRID_2_GRID_SLOT=a_,_.PRESET_MULTI_GRID_3_GRID_SLOT=e_,_.PRESET_MULTI_GRID_4_GRID_SLOT=D_,_.PRESET_MULTI_GRID_BASIC=L_,_.PRESET_MULTI_GRID_ROUND_STYLE=R_,_.PRESET_MULTI_LINES_2_GRID_SLOT=r_,_.PRESET_MULTI_LINES_3_GRID_SLOT=G_,_.PRESET_MULTI_LINES_4_GRID_SLOT=d_,_.PRESET_MULTI_LINE_AREAS_2_GRID_SLOT=O_,_.PRESET_MULTI_LINE_AREAS_3_GRID_SLOT=A_,_.PRESET_MULTI_LINE_AREAS_4_GRID_SLOT=s_,_.PRESET_PIE_BASIC=W,_.PRESET_PIE_DONUT=f,_.PRESET_PIE_HALF_DONUT=V,_.PRESET_PIE_WITH_INNER_LABELS=X,_.PRESET_SERIES_BASIC=m,_.PRESET_SERIES_DESC=H,_.PRESET_SERIES_SEPARATE_SERIES=C,_.PRESET_SERIES_SUM_SERIES=h,_.PRESET_TREE_BASIC=n_,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
1
+ (function(_,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(_=typeof globalThis<"u"?globalThis:_||self,t(_["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_LONG_PADDING:{id:"CP_LONG_PADDING",description:"加長留空",data:{padding:{top:160,right:160,bottom:160,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"})),r=Object.freeze(Object.defineProperty({__proto__:null,DF_SERIES_DESC:{id:"DF_SERIES_DESC",chartType:"series",description:"資料由大到小排序",data:{sort:(T,E)=>E.value-T.value}},DF_SERIES_SEPARATE_SERIES:{id:"DF_SERIES_SEPARATE_SERIES",chartType:"series",description:"分開顯示Series",data:{separateSeries:!0}},DF_SERIES_SEPARATE_SERIES_AND_DESC:{id:"DF_SERIES_SEPARATE_SERIES_AND_DESC",chartType:"series",description:"分開顯示Series並排序",data:{separateSeries:!0,sort:(T,E)=>E.value-T.value}},DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES:{id:"DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",chartType:"series",description:"分開顯示Series並合併Series資料",data:{separateSeries:!0,sumSeries:!0}},DF_SERIES_SUM_SERIES:{id:"DF_SERIES_SUM_SERIES",chartType:"series",description:"合併Series資料",data:{sumSeries:!0}},DF_SERIES_SUM_SERIES_AND_DESC:{id:"DF_SERIES_SUM_SERIES_AND_DESC",chartType:"series",description:"合併Series資料並排序",data:{sumSeries:!0,sort:(T,E)=>E.value-T.value}}},Symbol.toStringTag,{value:"Module"})),G={id:"PP_BUBBLES_SCALING_BY_RADIUS",chartType:"series",pluginName:"Bubbles",description:"以半徑尺寸為比例的泡泡圖",data:{arcScaleType:"radius"}},d={id:"PP_PIE_DONUT",chartType:"series",pluginName:"Pie",description:"甜甜圈圖",data:{innerRadius:.5}},A={id:"PP_PIE_HALF_DONUT",chartType:"series",pluginName:"Pie",description:"半圓甜甜圈圖",data:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2}},O={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:G,PP_PIE_DONUT:d,PP_PIE_HALF_DONUT:A,PP_PIE_LABELS_HALF_ANGLE:O,PP_PIE_LABELS_INNER:{id:"PP_PIE_LABELS_INNER",chartType:"series",pluginName:"PieLabels",description:"圖內資料標籤",data:{labelCentroid:1.3,labelColorType:"primary"}},PP_ROSE_LABELS_SCALING_BY_RADIUS:{id:"PP_ROSE_LABELS_SCALING_BY_RADIUS",chartType:"series",pluginName:"RoseLabels",description:"以半徑尺寸為比例的玫瑰圖標籤",data:{arcScaleType:"radius"}},PP_ROSE_SCALING_BY_RADIUS:{id:"PP_ROSE_SCALING_BY_RADIUS",chartType:"series",pluginName:"Rose",description:"以半徑尺寸為比例的玫瑰圖",data:{arcScaleType:"radius"}},PP_SERIES_LEGEND_ROUND:{id:"PP_SERIES_LEGEND_BOTTOM",chartType:"series",pluginName:"SeriesLegend",description:"圓型圖例列點",data:{listRectRadius:7}}},Symbol.toStringTag,{value:"Module"})),n=Object.freeze(Object.defineProperty({__proto__:null,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}}}},DF_GRID_SEPARATE_SERIES:{id:"DF_GRID_SEPARATE_SERIES",chartType:"grid",description:"分開顯示Series",data:{grid:{separateSeries:!0}}},DF_LINE_AREAS_SEPARATE_SERIES:{id:"DF_LINE_AREAS_SEPARATE_SERIES",chartType:"grid",description:"LineAreas 分開顯示Series",data:{grid:{separateSeries:!0,groupAxis:{scalePadding:0}}}}},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:{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"})),o=Object.freeze(Object.defineProperty({__proto__:null,DF_MULTI_GRID_DIVERGING:{id:"DF_MULTI_GRID_DIVERGING",chartType:"multiGrid",description:"分向Gird",data:{gridList:[{groupAxis:{position:"right"},valueAxis:{position:"bottom"}},{groupAxis:{position:"left"},valueAxis:{position:"bottom"}}],container:{gap:200,rowAmount:1,columnAmount:2},separateGrid:!0}},DF_MULTI_GRID_SEPARATE_GRID:{id:"DF_MULTI_GRID_SEPARATE_GRID",chartType:"multiGrid",description:"分開顯示Gird",data:{separateGrid:!0}},DF_MULTI_LINE_AREAS_SEPARATE_GRID:{id:"DF_MULTI_LINE_AREAS_SEPARATE_GRID",chartType:"multiGrid",description:"MultiLineAreas 分開顯示Gird",data:{gridList:[{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}}],separateGrid:!0}}},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_DOTS_2_GRID_SLOT:{id:"PP_MULTI_DOTS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiDots",description:"2組圓點",data:{gridIndexes:[0,1]}},PP_MULTI_DOTS_3_GRID_SLOT:{id:"PP_MULTI_DOTS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiDots",description:"3組圓點",data:{gridIndexes:[0,1,2]}},PP_MULTI_DOTS_4_GRID_SLOT:{id:"PP_MULTI_DOTS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiDots",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_GROUP_AXIS_DIVERGING:{id:"PP_MULTI_GROUP_AXIS_DIVERGING",chartType:"multiGrid",pluginName:"MultiGroupAxis",description:"分向Gird群組圖軸",data:{tickPadding:60,gridIndexes:[0]}},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_LINE_AREAS_2_GRID_SLOT:{id:"PP_MULTI_LINE_AREAS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLineAreas",description:"2組折線圖",data:{gridIndexes:[0,1]}},PP_MULTI_LINE_AREAS_3_GRID_SLOT:{id:"PP_MULTI_LINE_AREAS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLineAreas",description:"3組折線圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_LINE_AREAS_4_GRID_SLOT:{id:"PP_MULTI_LINE_AREAS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLineAreas",description:"4組折線圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_LINE_AREAS_CURVE:{id:"PP_MULTI_LINE_AREAS_CURVE",chartType:"multiGrid",pluginName:"MultiLineAreas",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX"}},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"})),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,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"})),a={series:r,grid:n,multiGrid:o,multiValue:c,relationship:U,tree:u},L={series:s,grid:N,multiGrid:l,multiValue:M,relationship:p,tree:B},i=(T,E)=>{const o_=E.chartParamsId?D[E.chartParamsId].data:void 0,l_=a[T][E.dataFormatterId]?a[T][E.dataFormatterId].data:void 0,c_=E.allPluginParamsIds?E.allPluginParamsIds.reduce((e,R)=>{if(L[T][R]){const M_=L[T][R].pluginName;e[M_]=L[T][R].data}return e},{}):void 0;return{chartParams:o_,dataFormatter:l_,allPluginParams:c_}},S=T=>i("series",T),I=T=>i("grid",T),P=T=>i("multiGrid",T),g=T=>i("tree",T),m=S({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本Series參數"}),H=S({dataFormatterId:"DF_SERIES_DESC",allPluginParamsIds:[],description:"資料由大到小排序"}),C=S({dataFormatterId:"DF_SERIES_SEPARATE_SERIES",allPluginParamsIds:[],description:"分開顯示Series"}),h=S({dataFormatterId:"DF_SERIES_SUM_SERIES",allPluginParamsIds:[],description:"合併Series資料"}),F=S({dataFormatterId:"DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",allPluginParamsIds:[],description:"分開顯示Series並合併Series資料"}),y=S({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),b=S({chartParamsId:"CP_LONG_PADDING",dataFormatterId:"DF_SERIES_SEPARATE_SERIES",allPluginParamsIds:[],description:"分開顯示Series泡泡"}),W=S({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),V=S({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),X=S({chartParamsId:"CP_TOP_AND_NO_BOTTOM_PADDING",allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),f=S({chartParamsId:"CP_RIGHT_PADDING",allPluginParamsIds:["PP_ROSE_SCALING_BY_RADIUS","PP_ROSE_LABELS_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的玫瑰圖"}),j=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),v=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),Y=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圖"}),K=I({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_GRID_DIVERGING_SCALE",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"正負值分向圖"}),z=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_SEPARATE_SERIES",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"分開顯示Series"}),Z=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],description:"圓角長條圖"}),k=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:"橫向圓角長條圖"}),x=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),$=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:"橫向圓角長條圖"}),w=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),q=I({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"傾斜標籤"}),J=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_DOTS_SOLID","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及實心圓點"}),__=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),I_=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),T_=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參數"}),P_=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:"傾斜標籤"}),E_=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:"橫向折線圖"}),S_=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:"弧線折線圖"}),t_=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圓點"}),i_=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_LINE_AREAS_SEPARATE_SERIES",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"LineAreas 分開顯示Series"}),L_=P({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],description:"基本MultiGrid參數"}),R_=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圓弧風格"}),a_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"2組Grid圖表"}),e_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_3_GRID_SLOT","PP_MULTI_DOTS_3_GRID_SLOT"],description:"3組Grid圖表"}),D_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_4_GRID_SLOT","PP_MULTI_DOTS_4_GRID_SLOT"],description:"4組Grid圖表"}),r_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_DIVERGING",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM","PP_MULTI_GROUP_AXIS_DIVERGING","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","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"正負值折線圖"}),G_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"2組折線圖表"}),d_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_3_GRID_SLOT","PP_MULTI_DOTS_3_GRID_SLOT"],description:"3組折線圖表"}),A_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_4_GRID_SLOT","PP_MULTI_DOTS_4_GRID_SLOT"],description:"4組折線圖表"}),O_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_LINE_AREAS_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"2組折線圖表"}),s_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_LINE_AREAS_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_3_GRID_SLOT","PP_MULTI_DOTS_3_GRID_SLOT"],description:"3組折線圖表"}),n_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_LINE_AREAS_SEPARATE_GRID",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","PP_MULTI_LINE_AREAS_4_GRID_SLOT","PP_MULTI_DOTS_4_GRID_SLOT"],description:"4組折線圖表"}),N_=g({chartParamsId:"CP_BOTTOM_SLIGHT_PADDING",allPluginParamsIds:["PP_TREE_LEGEND_BOTTOM"],description:"基本Tree參數"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=k,_.PRESET_BARS_HORIZONTAL_AND_THIN=$,_.PRESET_BARS_ROUND=Z,_.PRESET_BARS_THIN=x,_.PRESET_BUBBLES_SCALING_BY_RADIUS=y,_.PRESET_BUBBLES_SEPARATE_SERIES=b,_.PRESET_GRID_BASIC=j,_.PRESET_GRID_DIVERGING_SCALE=K,_.PRESET_GRID_HORIZONTAL=Y,_.PRESET_GRID_ROTATE_AXIS_LABEL=v,_.PRESET_GRID_SEPARATE_SERIES=z,_.PRESET_LINES_BASIC=w,_.PRESET_LINES_CURVE=__,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=I_,_.PRESET_LINES_HORIZONTAL=J,_.PRESET_LINES_ROTATE_AXIS_LABEL=q,_.PRESET_LINES_WITH_SOLID_DOTS=Q,_.PRESET_LINE_AREAS_BASIC=T_,_.PRESET_LINE_AREAS_CURVE=S_,_.PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS=t_,_.PRESET_LINE_AREAS_HORIZONTAL=E_,_.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=P_,_.PRESET_LINE_AREAS_SEPARATE_GRID=i_,_.PRESET_MULTI_BARS_DIVERGING=r_,_.PRESET_MULTI_GRID_2_GRID_SLOT=a_,_.PRESET_MULTI_GRID_3_GRID_SLOT=e_,_.PRESET_MULTI_GRID_4_GRID_SLOT=D_,_.PRESET_MULTI_GRID_BASIC=L_,_.PRESET_MULTI_GRID_ROUND_STYLE=R_,_.PRESET_MULTI_LINES_2_GRID_SLOT=G_,_.PRESET_MULTI_LINES_3_GRID_SLOT=d_,_.PRESET_MULTI_LINES_4_GRID_SLOT=A_,_.PRESET_MULTI_LINE_AREAS_2_GRID_SLOT=O_,_.PRESET_MULTI_LINE_AREAS_3_GRID_SLOT=s_,_.PRESET_MULTI_LINE_AREAS_4_GRID_SLOT=n_,_.PRESET_PIE_DONUT=V,_.PRESET_PIE_HALF_DONUT=X,_.PRESET_PIE_WITH_INNER_LABELS=W,_.PRESET_ROSE_SCALING_BY_RADIUS=f,_.PRESET_SERIES_BASIC=m,_.PRESET_SERIES_DESC=H,_.PRESET_SERIES_SEPARATE_SERIES=C,_.PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES=F,_.PRESET_SERIES_SUM_SERIES=h,_.PRESET_TREE_BASIC=N_,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
@@ -2,13 +2,13 @@ export declare const PRESET_SERIES_BASIC: import('@orbcharts/core').PresetPartia
2
2
  export declare const PRESET_SERIES_DESC: import('@orbcharts/core').PresetPartial<"series">;
3
3
  export declare const PRESET_SERIES_SEPARATE_SERIES: import('@orbcharts/core').PresetPartial<"series">;
4
4
  export declare const PRESET_SERIES_SUM_SERIES: import('@orbcharts/core').PresetPartial<"series">;
5
- export declare const PRESET_BUBBLES_BASIC: import('@orbcharts/core').PresetPartial<"series">;
5
+ export declare const PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES: import('@orbcharts/core').PresetPartial<"series">;
6
6
  export declare const PRESET_BUBBLES_SCALING_BY_RADIUS: import('@orbcharts/core').PresetPartial<"series">;
7
7
  export declare const PRESET_BUBBLES_SEPARATE_SERIES: import('@orbcharts/core').PresetPartial<"series">;
8
- export declare const PRESET_PIE_BASIC: import('@orbcharts/core').PresetPartial<"series">;
9
8
  export declare const PRESET_PIE_WITH_INNER_LABELS: import('@orbcharts/core').PresetPartial<"series">;
10
9
  export declare const PRESET_PIE_DONUT: import('@orbcharts/core').PresetPartial<"series">;
11
10
  export declare const PRESET_PIE_HALF_DONUT: import('@orbcharts/core').PresetPartial<"series">;
11
+ export declare const PRESET_ROSE_SCALING_BY_RADIUS: import('@orbcharts/core').PresetPartial<"series">;
12
12
  export declare const PRESET_GRID_BASIC: import('@orbcharts/core').PresetPartial<"grid">;
13
13
  export declare const PRESET_GRID_ROTATE_AXIS_LABEL: import('@orbcharts/core').PresetPartial<"grid">;
14
14
  export declare const PRESET_GRID_HORIZONTAL: import('@orbcharts/core').PresetPartial<"grid">;
@@ -35,6 +35,7 @@ export declare const PRESET_MULTI_GRID_ROUND_STYLE: import('@orbcharts/core').Pr
35
35
  export declare const PRESET_MULTI_GRID_2_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
36
36
  export declare const PRESET_MULTI_GRID_3_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
37
37
  export declare const PRESET_MULTI_GRID_4_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
38
+ export declare const PRESET_MULTI_BARS_DIVERGING: import('@orbcharts/core').PresetPartial<"multiGrid">;
38
39
  export declare const PRESET_MULTI_LINES_2_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
39
40
  export declare const PRESET_MULTI_LINES_3_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
40
41
  export declare const PRESET_MULTI_LINES_4_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_MULTI_GRID_DIVERGING: DataFormatterFile<'multiGrid'>;
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_MULTI_GRID_DIVERGING: DataFormatterFile<'multiGrid'>;
@@ -1,2 +1,3 @@
1
+ export { DF_MULTI_GRID_DIVERGING } from './DF_MULTI_GRID_DIVERGING';
1
2
  export { DF_MULTI_GRID_SEPARATE_GRID } from './DF_MULTI_GRID_SEPARATE_GRID';
2
3
  export { DF_MULTI_LINE_AREAS_SEPARATE_GRID } from './DF_MULTI_LINE_AREAS_SEPARATE_GRID';
@@ -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_DIVERGING: PluginParamsFile<MultiGroupAxisParams>;
@@ -1,3 +1,4 @@
1
1
  export { PP_MULTI_GROUP_AXIS_2_GRID_SLOT } from './PP_MULTI_GROUP_AXIS_2_GRID_SLOT';
2
2
  export { PP_MULTI_GROUP_AXIS_3_GRID_SLOT } from './PP_MULTI_GROUP_AXIS_3_GRID_SLOT';
3
3
  export { PP_MULTI_GROUP_AXIS_4_GRID_SLOT } from './PP_MULTI_GROUP_AXIS_4_GRID_SLOT';
4
+ export { PP_MULTI_GROUP_AXIS_DIVERGING } from './PP_MULTI_GROUP_AXIS_DIVERGING';
@@ -0,0 +1,3 @@
1
+ import { DataFormatterFile } from '../types';
2
+
3
+ export declare const DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES: DataFormatterFile<'series'>;
@@ -1,5 +1,6 @@
1
1
  export { DF_SERIES_DESC } from './DF_SERIES_DESC';
2
2
  export { DF_SERIES_SEPARATE_SERIES } from './DF_SERIES_SEPARATE_SERIES';
3
3
  export { DF_SERIES_SEPARATE_SERIES_AND_DESC } from './DF_SERIES_SEPARATE_SERIES_AND_DESC';
4
+ export { DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES } from './DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES';
4
5
  export { DF_SERIES_SUM_SERIES } from './DF_SERIES_SUM_SERIES';
5
6
  export { DF_SERIES_SUM_SERIES_AND_DESC } from './DF_SERIES_SUM_SERIES_AND_DESC';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { RoseParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_ROSE_SCALING_BY_RADIUS: PluginParamsFile<RoseParams>;
@@ -0,0 +1 @@
1
+ export { PP_ROSE_SCALING_BY_RADIUS } from './PP_ROSE_SCALING_BY_RADIUS';
@@ -0,0 +1,4 @@
1
+ import { PluginParamsFile } from '../../types';
2
+ import { RoseLabelsParams } from '@orbcharts/plugins-basic';
3
+
4
+ export declare const PP_ROSE_LABELS_SCALING_BY_RADIUS: PluginParamsFile<RoseLabelsParams>;
@@ -0,0 +1 @@
1
+ export { PP_ROSE_LABELS_SCALING_BY_RADIUS } from './PP_ROSE_LABELS_SCALING_BY_RADIUS';
@@ -1,4 +1,6 @@
1
1
  export * from './Bubbles';
2
2
  export * from './Pie';
3
3
  export * from './PieLabels';
4
+ export * from './Rose';
5
+ export * from './RoseLabels';
4
6
  export * from './SeriesLegend';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbcharts/presets-basic",
3
- "version": "3.0.0-alpha.18",
3
+ "version": "3.0.0-alpha.19",
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.46",
39
- "@orbcharts/plugins-basic": "^3.0.0-alpha.48",
38
+ "@orbcharts/core": "^3.0.0-alpha.47",
39
+ "@orbcharts/plugins-basic": "^3.0.0-alpha.49",
40
40
  "d3": "^7.8.5",
41
41
  "rxjs": "^7.8.1"
42
42
  }
package/src/index.ts CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  // 通用 - PRESET_SERIES_[name]
11
11
  export const PRESET_SERIES_BASIC = createSeriesPreset({
12
12
  // chartParamsId: 'CP_RIGHT_PADDING',
13
- allPluginParamsIds: [],
13
+ allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
14
14
  description: '基本Series參數'
15
15
  })
16
16
  export const PRESET_SERIES_DESC = createSeriesPreset({
@@ -37,6 +37,12 @@ export const PRESET_SERIES_SUM_SERIES = createSeriesPreset({
37
37
  allPluginParamsIds: [],
38
38
  description: '合併Series資料'
39
39
  })
40
+ export const PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES = createSeriesPreset({
41
+ // chartParamsId: 'CP_RIGHT_PADDING',
42
+ dataFormatterId: 'DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES',
43
+ allPluginParamsIds: [],
44
+ description: '分開顯示Series並合併Series資料'
45
+ })
40
46
  // export const PRESET_SERIES_SUM_SERIES_AND_DESC = createSeriesPreset({
41
47
  // // chartParamsId: 'CP_RIGHT_PADDING',
42
48
  // dataFormatterId: 'DF_SERIES_SUM_SERIES_AND_DESC',
@@ -44,11 +50,11 @@ export const PRESET_SERIES_SUM_SERIES = createSeriesPreset({
44
50
  // description: '合併Series資料並排序'
45
51
  // })
46
52
  // Bubbles - PRESET_BUBBLES_[name]
47
- export const PRESET_BUBBLES_BASIC = createSeriesPreset({
48
- // chartParamsId: 'CP_RIGHT_PADDING',
49
- allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
50
- description: '基本泡泡圖'
51
- })
53
+ // export const PRESET_BUBBLES_BASIC = createSeriesPreset({
54
+ // // chartParamsId: 'CP_RIGHT_PADDING',
55
+ // allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
56
+ // description: '基本泡泡圖'
57
+ // })
52
58
  export const PRESET_BUBBLES_SCALING_BY_RADIUS = createSeriesPreset({
53
59
  // chartParamsId: 'CP_RIGHT_PADDING',
54
60
  allPluginParamsIds: ['PP_BUBBLES_SCALING_BY_RADIUS', 'PP_SERIES_LEGEND_ROUND'],
@@ -61,11 +67,11 @@ export const PRESET_BUBBLES_SEPARATE_SERIES = createSeriesPreset({
61
67
  description: '分開顯示Series泡泡'
62
68
  })
63
69
  // Pie - PRESET_PIE_[name]
64
- export const PRESET_PIE_BASIC = createSeriesPreset({
65
- // chartParamsId: 'CP_RIGHT_PADDING',
66
- allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
67
- description: '基本圓餅圖'
68
- })
70
+ // export const PRESET_PIE_BASIC = createSeriesPreset({
71
+ // // chartParamsId: 'CP_RIGHT_PADDING',
72
+ // allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
73
+ // description: '基本圓餅圖'
74
+ // })
69
75
  export const PRESET_PIE_WITH_INNER_LABELS = createSeriesPreset({
70
76
  // chartParamsId: 'CP_RIGHT_PADDING',
71
77
  allPluginParamsIds: ['PP_PIE_LABELS_INNER', 'PP_SERIES_LEGEND_ROUND'],
@@ -81,6 +87,12 @@ export const PRESET_PIE_HALF_DONUT = createSeriesPreset({
81
87
  allPluginParamsIds: ['PP_PIE_HALF_DONUT', 'PP_PIE_LABELS_HALF_ANGLE', 'PP_SERIES_LEGEND_ROUND'],
82
88
  description: '半圓甜甜圈圖'
83
89
  })
90
+ // Rose - PRESET_ROSE_[name]
91
+ export const PRESET_ROSE_SCALING_BY_RADIUS = createSeriesPreset({
92
+ chartParamsId: 'CP_RIGHT_PADDING',
93
+ allPluginParamsIds: ['PP_ROSE_SCALING_BY_RADIUS', 'PP_ROSE_LABELS_SCALING_BY_RADIUS', 'PP_SERIES_LEGEND_ROUND'],
94
+ description: '以半徑尺寸為比例的玫瑰圖'
95
+ })
84
96
 
85
97
  // -- grid --
86
98
  // 通用 - PRESET_GRID_[name]
@@ -100,6 +112,7 @@ export const PRESET_GRID_HORIZONTAL = createGridPreset({
100
112
  allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM'],
101
113
  description: '橫向圖'
102
114
  })
115
+ // @Q@ legacy 待刪
103
116
  export const PRESET_GRID_DIVERGING_SCALE = createGridPreset({
104
117
  chartParamsId: 'CP_BOTTOM_PADDING',
105
118
  dataFormatterId: 'DF_GRID_DIVERGING_SCALE',
@@ -288,6 +301,19 @@ export const PRESET_MULTI_GRID_4_GRID_SLOT = createMultiGridPreset({
288
301
  // allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST'],
289
302
  // description: '基本MultiGrid參數'
290
303
  // })
304
+ // MultiBars - PRESET_MULTI_BARS_[name]
305
+ // export const PRESET_MULTI_BARS_PN = createMultiGridPreset({
306
+ // chartParamsId: 'CP_BOTTOM_LONG_PADDING',
307
+ // dataFormatterId: 'DF_MULTI_GRID_SEPARATE_GRID',
308
+ // 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', 'PP_MULTI_LINE_AREAS_2_GRID_SLOT', 'PP_MULTI_DOTS_2_GRID_SLOT'],
309
+ // description: '正負值折線圖'
310
+ // })
311
+ export const PRESET_MULTI_BARS_DIVERGING = createMultiGridPreset({
312
+ chartParamsId: 'CP_BOTTOM_LONG_PADDING',
313
+ dataFormatterId: 'DF_MULTI_GRID_DIVERGING',
314
+ allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM', 'PP_MULTI_GROUP_AXIS_DIVERGING', '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', 'PP_MULTI_LINE_AREAS_2_GRID_SLOT', 'PP_MULTI_DOTS_2_GRID_SLOT'],
315
+ description: '正負值折線圖'
316
+ })
291
317
  // MultiLines - PRESET_MULTI_LINES_[name]
292
318
  // export const PRESET_MULTI_LINES_BASIC = createMultiGridPreset({
293
319
  // chartParamsId: 'CP_BOTTOM_PADDING',
@@ -0,0 +1,36 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_GRID_DIVERGING: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_GRID_DIVERGING',
5
+ chartType: 'multiGrid',
6
+ description: '分向Gird',
7
+ data: {
8
+ gridList: [
9
+ // 第一個grid
10
+ {
11
+ groupAxis: {
12
+ position: 'right'
13
+ },
14
+ valueAxis: {
15
+ position: 'bottom'
16
+ },
17
+ },
18
+ // 第二個grid
19
+ {
20
+ groupAxis: {
21
+ position: 'left'
22
+ },
23
+ valueAxis: {
24
+ position: 'bottom'
25
+ },
26
+ }
27
+ ],
28
+ // 設定排版方式
29
+ container: {
30
+ gap: 200,
31
+ rowAmount: 1,
32
+ columnAmount: 2
33
+ },
34
+ separateGrid: true // 將兩個grid拆分
35
+ }
36
+ }
@@ -0,0 +1,36 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_GRID_DIVERGING: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_GRID_DIVERGING',
5
+ chartType: 'multiGrid',
6
+ description: '分向Gird',
7
+ data: {
8
+ gridList: [
9
+ // 第一個grid
10
+ {
11
+ groupAxis: {
12
+ position: 'bottom'
13
+ },
14
+ valueAxis: {
15
+ position: 'left'
16
+ },
17
+ },
18
+ // 第二個grid
19
+ {
20
+ groupAxis: {
21
+ position: 'top'
22
+ },
23
+ valueAxis: {
24
+ position: 'left'
25
+ },
26
+ }
27
+ ],
28
+ // 設定排版方式
29
+ container: {
30
+ gap: 0,
31
+ rowAmount: 2,
32
+ columnAmount: 1
33
+ },
34
+ separateGrid: true // 將兩個grid拆分
35
+ }
36
+ }
@@ -1,3 +1,4 @@
1
+ export { DF_MULTI_GRID_DIVERGING } from './DF_MULTI_GRID_DIVERGING'
1
2
  // export { DF_MULTI_GRID_2_GRID_SLOT } from './DF_MULTI_GRID_2_GRID_SLOT'
2
3
  // export { DF_MULTI_GRID_3_GRID_SLOT } from './DF_MULTI_GRID_3_GRID_SLOT'
3
4
  // export { DF_MULTI_GRID_4_GRID_SLOT } from './DF_MULTI_GRID_4_GRID_SLOT'
@@ -0,0 +1,13 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiGroupAxisParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_GROUP_AXIS_DIVERGING: PluginParamsFile<MultiGroupAxisParams> = {
5
+ id: 'PP_MULTI_GROUP_AXIS_DIVERGING',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiGroupAxis',
8
+ description: '分向Gird群組圖軸',
9
+ data: {
10
+ tickPadding: 60, // 加長間距
11
+ gridIndexes: [0] // 只顯示一個
12
+ }
13
+ }
@@ -1,3 +1,4 @@
1
1
  export { PP_MULTI_GROUP_AXIS_2_GRID_SLOT } from './PP_MULTI_GROUP_AXIS_2_GRID_SLOT'
2
2
  export { PP_MULTI_GROUP_AXIS_3_GRID_SLOT } from './PP_MULTI_GROUP_AXIS_3_GRID_SLOT'
3
3
  export { PP_MULTI_GROUP_AXIS_4_GRID_SLOT } from './PP_MULTI_GROUP_AXIS_4_GRID_SLOT'
4
+ export { PP_MULTI_GROUP_AXIS_DIVERGING } from './PP_MULTI_GROUP_AXIS_DIVERGING'
@@ -0,0 +1,11 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES: DataFormatterFile<'series'> = {
4
+ id: 'DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES',
5
+ chartType: 'series',
6
+ description: '分開顯示Series並合併Series資料',
7
+ data: {
8
+ separateSeries: true,
9
+ sumSeries: true,
10
+ }
11
+ }
@@ -1,6 +1,7 @@
1
1
  export { DF_SERIES_DESC } from './DF_SERIES_DESC'
2
2
  export { DF_SERIES_SEPARATE_SERIES } from './DF_SERIES_SEPARATE_SERIES'
3
3
  export { DF_SERIES_SEPARATE_SERIES_AND_DESC } from './DF_SERIES_SEPARATE_SERIES_AND_DESC'
4
+ export { DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES } from './DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES'
4
5
  export { DF_SERIES_SUM_SERIES } from './DF_SERIES_SUM_SERIES'
5
6
  export { DF_SERIES_SUM_SERIES_AND_DESC } from './DF_SERIES_SUM_SERIES_AND_DESC'
6
7
 
@@ -7,6 +7,6 @@ export const PP_BUBBLES_SCALING_BY_RADIUS: PluginParamsFile<BubblesParams> = {
7
7
  pluginName: 'Bubbles',
8
8
  description: '以半徑尺寸為比例的泡泡圖',
9
9
  data: {
10
- bubbleScaleType: 'radius'
10
+ arcScaleType: 'radius'
11
11
  }
12
12
  }
@@ -0,0 +1,12 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { RoseParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_ROSE_SCALING_BY_RADIUS: PluginParamsFile<RoseParams> = {
5
+ id: 'PP_ROSE_SCALING_BY_RADIUS',
6
+ chartType: 'series',
7
+ pluginName: 'Rose',
8
+ description: '以半徑尺寸為比例的玫瑰圖',
9
+ data: {
10
+ arcScaleType: 'radius'
11
+ }
12
+ }
@@ -0,0 +1,2 @@
1
+ export { PP_ROSE_SCALING_BY_RADIUS } from './PP_ROSE_SCALING_BY_RADIUS'
2
+
@@ -0,0 +1,12 @@
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { RoseLabelsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_ROSE_LABELS_SCALING_BY_RADIUS: PluginParamsFile<RoseLabelsParams> = {
5
+ id: 'PP_ROSE_LABELS_SCALING_BY_RADIUS',
6
+ chartType: 'series',
7
+ pluginName: 'RoseLabels',
8
+ description: '以半徑尺寸為比例的玫瑰圖標籤',
9
+ data: {
10
+ arcScaleType: 'radius',
11
+ }
12
+ }
@@ -0,0 +1 @@
1
+ export { PP_ROSE_LABELS_SCALING_BY_RADIUS } from './PP_ROSE_LABELS_SCALING_BY_RADIUS'
@@ -1,4 +1,6 @@
1
1
  export * from './Bubbles'
2
2
  export * from './Pie'
3
3
  export * from './PieLabels'
4
+ export * from './Rose'
5
+ export * from './RoseLabels'
4
6
  export * from './SeriesLegend'