@orbcharts/presets-basic 3.0.0-alpha.12 → 3.0.0-alpha.13
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +200 -200
- package/dist/orbcharts-presets-basic.es.js +384 -210
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/index.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/index.d.ts +3 -0
- package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiDots/index.d.ts +3 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/index.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/index.d.ts +2 -0
- package/package.json +43 -43
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
- package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +14 -14
- package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
- package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_LEFT_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +13 -13
- package/src/chartParamsFiles/index.ts +10 -10
- package/src/createPreset.ts +87 -87
- package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +15 -15
- package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +15 -15
- package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +15 -15
- package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +22 -22
- package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +17 -17
- package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +14 -14
- package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +13 -13
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +18 -18
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +18 -18
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +18 -18
- package/src/gridDataFormatterFiles/index.ts +9 -9
- package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +14 -14
- package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +14 -14
- package/src/gridPluginParamsFiles/Bars/index.ts +1 -1
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +12 -12
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +14 -14
- package/src/gridPluginParamsFiles/Dots/index.ts +1 -1
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +13 -13
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +14 -14
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +14 -14
- package/src/gridPluginParamsFiles/GridLegend/index.ts +2 -2
- package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +12 -12
- package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +11 -11
- package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +12 -12
- package/src/gridPluginParamsFiles/index.ts +6 -6
- package/src/index.ts +290 -271
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +20 -20
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +23 -23
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +26 -26
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +27 -0
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +33 -0
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +39 -0
- package/src/multiGridDataFormatterFiles/index.ts +6 -3
- package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +14 -14
- package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -5
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +2 -2
- package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiDots/index.ts +3 -0
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +13 -13
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +27 -27
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +20 -20
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +21 -21
- package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +12 -12
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +12 -12
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +12 -12
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLineAreas/index.ts +4 -0
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +12 -12
- package/src/multiGridPluginParamsFiles/MultiLines/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/index.ts +8 -6
- package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +11 -11
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +12 -12
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +14 -14
- package/src/seriesPluginParamsFiles/Pie/index.ts +1 -1
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +13 -13
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +13 -13
- package/src/seriesPluginParamsFiles/PieLabels/index.ts +1 -1
- package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +11 -11
- package/src/seriesPluginParamsFiles/index.ts +3 -3
- package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +13 -13
- package/src/types.ts +61 -61
- package/tsconfig.dev.json +17 -17
- package/tsconfig.json +13 -13
- package/tsconfig.prod.json +13 -13
- package/vite.config.js +44 -44
@@ -1 +1 @@
|
|
1
|
-
(function(_,E){typeof exports=="object"&&typeof module<"u"?E(exports):typeof define=="function"&&define.amd?define(["exports"],E):(_=typeof globalThis<"u"?globalThis:_||self,E(_["orbcharts-presets-basic"]={}))})(this,function(_){"use strict";const r=Object.freeze(Object.defineProperty({__proto__:null,CP_BOTTOM_AND_LEFT_PADDING:{id:"CP_BOTTOM_AND_LEFT_PADDING",description:"間距下面及左邊留空",data:{padding:{top:60,right:60,bottom:120,left:160}}},CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",description:"間距下面及左邊留空",data:{padding:{top:60,right:60,bottom:120,left:160},highlightTarget:"series"}},CP_BOTTOM_LONG_PADDING:{id:"CP_BOTTOM_LONG_PADDING",description:"間距下面加長留空",data:{padding:{top:60,right:60,bottom:160,left:60}}},CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",description:"間距下面加長留空及highlight系列",data:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"}},CP_BOTTOM_PADDING:{id:"CP_BOTTOM_PADDING",description:"間距下面留空",data:{padding:{top:60,right:60,bottom:120,left:60}}},CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight群組",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"}},CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight系列",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"}},CP_BOTTOM_SLIGHT_PADDING:{id:"CP_BOTTOM_SLIGHT_PADDING",description:"間距下面些微留空",data:{padding:{top:40,right:40,bottom:60,left:40}}},CP_LEFT_PADDING:{id:"CP_LEFT_PADDING",description:"間距左邊留空",data:{padding:{top:60,right:60,bottom:60,left:160}}},CP_RIGHT_PADDING:{id:"CP_RIGHT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:120,bottom:60,left:60}}},CP_TOP_AND_NO_BOTTOM_PADDING:{id:"CP_TOP_AND_NO_BOTTOM_PADDING",description:"間距上面留空下面不留空",data:{padding:{top:120,right:120,bottom:0,left:60}}}},Symbol.toStringTag,{value:"Module"})),D=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"}}}},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_LINE_AREAS_2_SERIES_SLOT:{id:"DF_LINE_AREAS_2_SERIES_SLOT",chartType:"grid",description:"LineAreas 2個Series Slot",data:{grid:{seriesSlotIndexes:[0,1],groupAxis:{scalePadding:0}},container:{rowAmount:1,columnAmount:2}}},DF_LINE_AREAS_3_SERIES_SLOT:{id:"DF_LINE_AREAS_3_SERIES_SLOT",chartType:"grid",description:"LineAreas 3個Series Slot",data:{grid:{seriesSlotIndexes:[0,1,2],groupAxis:{scalePadding:0}},container:{rowAmount:1,columnAmount:3}}},DF_LINE_AREAS_4_SERIES_SLOT:{id:"DF_LINE_AREAS_4_SERIES_SLOT",chartType:"grid",description:"LineAreas 4個Series Slot",data:{grid:{seriesSlotIndexes:[0,1,2,3],groupAxis:{scalePadding:0}},container:{rowAmount:2,columnAmount:2}}}},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,PP_BARS_ROUND:{id:"PP_BARS_ROUND",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_BARS_THIN:{id:"PP_BARS_THIN",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:20,barPadding:1,barGroupPadding:10}},PP_DOTS_ONLY_SHOW_HIGHLIGHTED:{id:"PP_DOTS_ONLY_SHOW_HIGHLIGHTED",chartType:"grid",pluginName:"Dots",description:"顯示highlight圓點",data:{onlyShowHighlighted:!1}},PP_DOTS_SOLID:{id:"PP_DOTS_SOLID",chartType:"grid",pluginName:"Dots",description:"實心圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_GRID_LEGEND_BOTTOM:{id:"PP_GRID_LEGEND_BOTTOM",chartType:"grid",pluginName:"GridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及線條列點",data:{position:"bottom",justify:"center",padding:14,listRectHeight:2}},PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及圓弧列點",data:{position:"bottom",justify:"center",padding:14,listRectRadius:7}},PP_GROUP_AXIS_ROTATE_LABEL:{id:"PP_GROUP_AXIS_ROTATE_LABEL",chartType:"grid",pluginName:"GroupAxis",description:"群組圖軸標籤文字傾斜",data:{tickPadding:15,tickTextRotate:-30}},PP_LINES_CURVE:{id:"PP_LINES_CURVE",chartType:"grid",pluginName:"Lines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}},PP_LINE_AREAS_CURVE:{id:"PP_LINE_AREAS_CURVE",chartType:"grid",pluginName:"LineAreas",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX"}}},Symbol.toStringTag,{value:"Module"})),N=Object.freeze(Object.defineProperty({__proto__:null,DF_MULTI_GRID_2_GRID_SLOT:{id:"DF_MULTI_GRID_2_GRID_SLOT",chartType:"multiGrid",description:"2個Grid Slot",data:{gridList:[{},{slotIndex:1}],container:{rowAmount:1,columnAmount:2}}},DF_MULTI_GRID_3_GRID_SLOT:{id:"DF_MULTI_GRID_3_GRID_SLOT",chartType:"multiGrid",description:"3個Grid Slot",data:{gridList:[{slotIndex:0},{slotIndex:1},{slotIndex:2}],container:{rowAmount:1,columnAmount:3}}},DF_MULTI_GRID_4_GRID_SLOT:{id:"DF_MULTI_GRID_4_GRID_SLOT",chartType:"multiGrid",description:"4個Grid Slot",data:{gridList:[{slotIndex:0},{slotIndex:1},{slotIndex:2},{slotIndex:3}],container:{rowAmount:2,columnAmount:2}}}},Symbol.toStringTag,{value:"Module"})),l=Object.freeze(Object.defineProperty({__proto__:null,PP_MULTI_BARS_2_GRID_SLOT:{id:"PP_MULTI_BARS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBars",description:"2組群組長條圖",data:{gridIndexes:[0,1]}},PP_MULTI_BARS_3_GRID_SLOT:{id:"PP_MULTI_BARS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBars",description:"3組群組長條圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_BARS_4_GRID_SLOT:{id:"PP_MULTI_BARS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBars",description:"4組群組長條圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_BARS_ROUND:{id:"PP_MULTI_BARS_ROUND",chartType:"multiGrid",pluginName:"MultiBars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT:{id:"PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarsTriangle",description:"2組群組三角長條圖",data:{gridIndexes:[0,1]}},PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT:{id:"PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarsTriangle",description:"3組群組三角長條圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT:{id:"PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarsTriangle",description:"4組群組三角長條圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_BAR_STACK_2_GRID_SLOT:{id:"PP_MULTI_BAR_STACK_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarStack",description:"2組堆疊長條圖",data:{gridIndexes:[0,1]}},PP_MULTI_BAR_STACK_3_GRID_SLOT:{id:"PP_MULTI_BAR_STACK_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarStack",description:"3組堆疊長條圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_BAR_STACK_4_GRID_SLOT:{id:"PP_MULTI_BAR_STACK_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarStack",description:"4組堆疊長條圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_GRID_LEGEND_BOTTOM:{id:"PP_MULTI_GRID_LEGEND_BOTTOM",chartType:"multiGrid",pluginName:"MultiGridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"multiGrid",pluginName:"MultiGridLegend",description:"底部圖例線條列點",data:{position:"bottom",justify:"center",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}},PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST:{id:"PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST",chartType:"multiGrid",pluginName:"MultiGridLegend",description:"底部圖例矩型及線條列點",data:{position:"bottom",justify:"center",padding:14,gridList:[{},{listRectHeight:2}]}},PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST:{id:"PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST",chartType:"multiGrid",pluginName:"MultiGridLegend",description:"底部圖例圓型及線條列點",data:{position:"bottom",justify:"center",padding:14,gridList:[{listRectRadius:7},{listRectHeight:2}]}},PP_MULTI_GROUP_AXIS_2_GRID_SLOT:{id:"PP_MULTI_GROUP_AXIS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiGroupAxis",description:"2個群組圖軸",data:{tickTextRotate:-30,gridIndexes:[0,1]}},PP_MULTI_GROUP_AXIS_3_GRID_SLOT:{id:"PP_MULTI_GROUP_AXIS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiGroupAxis",description:"3個群組圖軸",data:{tickTextRotate:-30,gridIndexes:[0,1,2]}},PP_MULTI_GROUP_AXIS_4_GRID_SLOT:{id:"PP_MULTI_GROUP_AXIS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiGroupAxis",description:"4個群組圖軸",data:{tickTextRotate:-30,gridIndexes:[0,1,2,3]}},PP_MULTI_LINES_2_GRID_SLOT:{id:"PP_MULTI_LINES_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLines",description:"2組折線圖",data:{gridIndexes:[0,1]}},PP_MULTI_LINES_3_GRID_SLOT:{id:"PP_MULTI_LINES_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLines",description:"3組折線圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_LINES_4_GRID_SLOT:{id:"PP_MULTI_LINES_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiLines",description:"4組折線圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_LINES_CURVE:{id:"PP_MULTI_LINES_CURVE",chartType:"multiGrid",pluginName:"MultiLines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}},PP_MULTI_VALUE_AXIS_2_GRID_SLOT:{id:"PP_MULTI_VALUE_AXIS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiValueAxis",description:"2個資料圖軸",data:{gridIndexes:[0,1]}},PP_MULTI_VALUE_AXIS_3_GRID_SLOT:{id:"PP_MULTI_VALUE_AXIS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiValueAxis",description:"3個資料圖軸",data:{gridIndexes:[0,1,2]}},PP_MULTI_VALUE_AXIS_4_GRID_SLOT:{id:"PP_MULTI_VALUE_AXIS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiValueAxis",description:"4個資料圖軸",data:{gridIndexes:[0,1,2,3]}}},Symbol.toStringTag,{value:"Module"})),c=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),M=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),U=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),m=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"})),e={series:D,grid:o,multiGrid:N,multiValue:c,relationship:U,tree:m},a={series:s,grid:A,multiGrid:l,multiValue:M,relationship:u,tree:B},L=(T,i)=>{const G_=i.chartParamsId?r[i.chartParamsId].data:void 0,n_=e[T][i.dataFormatterId]?e[T][i.dataFormatterId].data:void 0,s_=i.allPluginParamsIds?i.allPluginParamsIds.reduce((R,S)=>{if(a[T][S]){const o_=a[T][S].pluginName;R[o_]=a[T][S].data}return R},{}):void 0;return{chartParams:G_,dataFormatter:n_,allPluginParams:s_}},t=T=>L("series",T),I=T=>L("grid",T),P=T=>L("multiGrid",T),g=T=>L("tree",T),p=t({allPluginParamsIds:[],description:"基本Series參數"}),H=t({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本泡泡圖"}),h=t({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),C=t({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本圓餅圖"}),F=t({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),y=t({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),b=t({chartParamsId:"CP_TOP_AND_NO_BOTTOM_PADDING",allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),W=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),X=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),f=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圖"}),V=I({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_GRID_DIVERGING_SCALE",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"正負值分向圖"}),j=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_2_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"2組Series圖表"}),v=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_3_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM","PP_GROUP_AXIS_ROTATE_LABEL"],description:"3組Series圖表"}),x=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圖表"}),K=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],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:"橫向圓角長條圖"}),Y=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),w=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:"橫向圓角長條圖"}),Z=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),$=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:"橫向折線圖"}),q=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),J=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),Q=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),__=I({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"傾斜標籤"}),I_=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"橫向折線圖"}),T_=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_LINES_CURVE","PP_LINE_AREAS_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),P_=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),t_=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_LINE_AREAS_2_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"2組Series圖表"}),i_=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_LINE_AREAS_3_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM","PP_GROUP_AXIS_ROTATE_LABEL"],description:"3組Series圖表"}),E_=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_LINE_AREAS_4_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"4組Series圖表"}),L_=P({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],description:"基本MultiGrid參數"}),a_=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圓弧風格"}),S_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_2_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM","PP_MULTI_GROUP_AXIS_2_GRID_SLOT","PP_MULTI_VALUE_AXIS_2_GRID_SLOT","PP_MULTI_BARS_2_GRID_SLOT","PP_MULTI_BAR_STACK_2_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT","PP_MULTI_LINES_2_GRID_SLOT"],description:"2組Grid圖表"}),e_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_3_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM","PP_MULTI_GROUP_AXIS_3_GRID_SLOT","PP_MULTI_VALUE_AXIS_3_GRID_SLOT","PP_MULTI_BARS_3_GRID_SLOT","PP_MULTI_BAR_STACK_3_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT","PP_MULTI_LINES_3_GRID_SLOT"],description:"3組Grid圖表"}),R_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_4_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM","PP_MULTI_GROUP_AXIS_4_GRID_SLOT","PP_MULTI_VALUE_AXIS_4_GRID_SLOT","PP_MULTI_BARS_4_GRID_SLOT","PP_MULTI_BAR_STACK_4_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT","PP_MULTI_LINES_4_GRID_SLOT"],description:"4組Grid圖表"}),r_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_2_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST","PP_MULTI_GROUP_AXIS_2_GRID_SLOT","PP_MULTI_VALUE_AXIS_2_GRID_SLOT","PP_MULTI_BARS_2_GRID_SLOT","PP_MULTI_BAR_STACK_2_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT","PP_MULTI_LINES_2_GRID_SLOT"],description:"2組折線圖表"}),D_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_3_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST","PP_MULTI_GROUP_AXIS_3_GRID_SLOT","PP_MULTI_VALUE_AXIS_3_GRID_SLOT","PP_MULTI_BARS_3_GRID_SLOT","PP_MULTI_BAR_STACK_3_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT","PP_MULTI_LINES_3_GRID_SLOT"],description:"3組折線圖表"}),d_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_4_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST","PP_MULTI_GROUP_AXIS_4_GRID_SLOT","PP_MULTI_VALUE_AXIS_4_GRID_SLOT","PP_MULTI_BARS_4_GRID_SLOT","PP_MULTI_BAR_STACK_4_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT","PP_MULTI_LINES_4_GRID_SLOT"],description:"4組折線圖表"}),O_=g({chartParamsId:"CP_BOTTOM_SLIGHT_PADDING",allPluginParamsIds:["PP_TREE_LEGEND_BOTTOM"],description:"基本Tree參數"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=z,_.PRESET_BARS_HORIZONTAL_AND_THIN=w,_.PRESET_BARS_ROUND=K,_.PRESET_BARS_THIN=Y,_.PRESET_BUBBLES_BASIC=H,_.PRESET_BUBBLES_SCALING_BY_RADIUS=h,_.PRESET_GRID_2_SERIES_SLOT=j,_.PRESET_GRID_3_SERIES_SLOT=v,_.PRESET_GRID_4_SERIES_SLOT=x,_.PRESET_GRID_BASIC=W,_.PRESET_GRID_DIVERGING_SCALE=V,_.PRESET_GRID_HORIZONTAL=f,_.PRESET_GRID_ROTATE_AXIS_LABEL=X,_.PRESET_LINES_BASIC=Z,_.PRESET_LINES_CURVE=q,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=J,_.PRESET_LINES_HORIZONTAL=k,_.PRESET_LINES_ROTATE_AXIS_LABEL=$,_.PRESET_LINE_AREAS_2_SERIES_SLOT=t_,_.PRESET_LINE_AREAS_3_SERIES_SLOT=i_,_.PRESET_LINE_AREAS_4_SERIES_SLOT=E_,_.PRESET_LINE_AREAS_BASIC=Q,_.PRESET_LINE_AREAS_CURVE=T_,_.PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS=P_,_.PRESET_LINE_AREAS_HORIZONTAL=I_,_.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=__,_.PRESET_MULTI_GRID_2_GRID_SLOT=S_,_.PRESET_MULTI_GRID_3_GRID_SLOT=e_,_.PRESET_MULTI_GRID_4_GRID_SLOT=R_,_.PRESET_MULTI_GRID_BASIC=L_,_.PRESET_MULTI_GRID_ROUND_STYLE=a_,_.PRESET_MULTI_LINES_2_GRID_SLOT=r_,_.PRESET_MULTI_LINES_3_GRID_SLOT=D_,_.PRESET_MULTI_LINES_4_GRID_SLOT=d_,_.PRESET_PIE_BASIC=C,_.PRESET_PIE_DONUT=y,_.PRESET_PIE_HALF_DONUT=b,_.PRESET_PIE_WITH_INNER_LABELS=F,_.PRESET_SERIES_BASIC=p,_.PRESET_TREE_BASIC=O_,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
|
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 D=Object.freeze(Object.defineProperty({__proto__:null,CP_BOTTOM_AND_LEFT_PADDING:{id:"CP_BOTTOM_AND_LEFT_PADDING",description:"間距下面及左邊留空",data:{padding:{top:60,right:60,bottom:120,left:160}}},CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",description:"間距下面及左邊留空",data:{padding:{top:60,right:60,bottom:120,left:160},highlightTarget:"series"}},CP_BOTTOM_LONG_PADDING:{id:"CP_BOTTOM_LONG_PADDING",description:"間距下面加長留空",data:{padding:{top:60,right:60,bottom:160,left:60}}},CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",description:"間距下面加長留空及highlight系列",data:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"}},CP_BOTTOM_PADDING:{id:"CP_BOTTOM_PADDING",description:"間距下面留空",data:{padding:{top:60,right:60,bottom:120,left:60}}},CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight群組",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"}},CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight系列",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"}},CP_BOTTOM_SLIGHT_PADDING:{id:"CP_BOTTOM_SLIGHT_PADDING",description:"間距下面些微留空",data:{padding:{top:40,right:40,bottom:60,left:40}}},CP_LEFT_PADDING:{id:"CP_LEFT_PADDING",description:"間距左邊留空",data:{padding:{top:60,right:60,bottom:60,left:160}}},CP_RIGHT_PADDING:{id:"CP_RIGHT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:120,bottom:60,left:60}}},CP_TOP_AND_NO_BOTTOM_PADDING:{id:"CP_TOP_AND_NO_BOTTOM_PADDING",description:"間距上面留空下面不留空",data:{padding:{top:120,right:120,bottom:0,left:60}}}},Symbol.toStringTag,{value:"Module"})),O=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"}},r={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}},A=Object.freeze(Object.defineProperty({__proto__:null,PP_BUBBLES_SCALING_BY_RADIUS:d,PP_PIE_DONUT:r,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"})),s=Object.freeze(Object.defineProperty({__proto__:null,DF_GRID_2_SERIES_SLOT:{id:"DF_GRID_2_SERIES_SLOT",chartType:"grid",description:"2個Series Slot",data:{grid:{seriesSlotIndexes:[0,1]},container:{rowAmount:1,columnAmount:2}}},DF_GRID_3_SERIES_SLOT:{id:"DF_GRID_3_SERIES_SLOT",chartType:"grid",description:"3個Series Slot",data:{grid:{seriesSlotIndexes:[0,1,2]},container:{rowAmount:1,columnAmount:3}}},DF_GRID_4_SERIES_SLOT:{id:"DF_GRID_4_SERIES_SLOT",chartType:"grid",description:"4個Series Slot",data:{grid:{seriesSlotIndexes:[0,1,2,3]},container:{rowAmount:2,columnAmount:2}}},DF_GRID_BOTTOM_VALUE_AXIS:{id:"DF_GRID_BOTTOM_VALUE_AXIS",chartType:"grid",description:"底部橫向資料圖軸",data:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}}},DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING:{id:"DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING",chartType:"grid",description:"底部橫向資料圖軸及無群組圖軸的左右間距",data:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left",scalePadding:0}}}},DF_GRID_DIVERGING_SCALE:{id:"DF_GRID_DIVERGING_SCALE",chartType:"grid",description:"分向資料圖軸",data:{grid:{valueAxis:{scaleDomain:["auto","auto"],scaleRange:[.05,.95]}}}},DF_GRID_NONE_GROUP_SCALE_PADDING:{id:"DF_GRID_NONE_GROUP_SCALE_PADDING",chartType:"grid",description:"無群組圖軸的左右間距",data:{grid:{groupAxis:{scalePadding:0}}}},DF_LINE_AREAS_2_SERIES_SLOT:{id:"DF_LINE_AREAS_2_SERIES_SLOT",chartType:"grid",description:"LineAreas 2個Series Slot",data:{grid:{seriesSlotIndexes:[0,1],groupAxis:{scalePadding:0}},container:{rowAmount:1,columnAmount:2}}},DF_LINE_AREAS_3_SERIES_SLOT:{id:"DF_LINE_AREAS_3_SERIES_SLOT",chartType:"grid",description:"LineAreas 3個Series Slot",data:{grid:{seriesSlotIndexes:[0,1,2],groupAxis:{scalePadding:0}},container:{rowAmount:1,columnAmount:3}}},DF_LINE_AREAS_4_SERIES_SLOT:{id:"DF_LINE_AREAS_4_SERIES_SLOT",chartType:"grid",description:"LineAreas 4個Series Slot",data:{grid:{seriesSlotIndexes:[0,1,2,3],groupAxis:{scalePadding:0}},container:{rowAmount:2,columnAmount:2}}}},Symbol.toStringTag,{value:"Module"})),o=Object.freeze(Object.defineProperty({__proto__:null,PP_BARS_ROUND:{id:"PP_BARS_ROUND",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_BARS_THIN:{id:"PP_BARS_THIN",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:20,barPadding:1,barGroupPadding:10}},PP_DOTS_ONLY_SHOW_HIGHLIGHTED:{id:"PP_DOTS_ONLY_SHOW_HIGHLIGHTED",chartType:"grid",pluginName:"Dots",description:"顯示highlight圓點",data:{onlyShowHighlighted:!1}},PP_DOTS_SOLID:{id:"PP_DOTS_SOLID",chartType:"grid",pluginName:"Dots",description:"實心圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_GRID_LEGEND_BOTTOM:{id:"PP_GRID_LEGEND_BOTTOM",chartType:"grid",pluginName:"GridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及線條列點",data:{position:"bottom",justify:"center",padding:14,listRectHeight:2}},PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及圓弧列點",data:{position:"bottom",justify:"center",padding:14,listRectRadius:7}},PP_GROUP_AXIS_ROTATE_LABEL:{id:"PP_GROUP_AXIS_ROTATE_LABEL",chartType:"grid",pluginName:"GroupAxis",description:"群組圖軸標籤文字傾斜",data:{tickPadding:15,tickTextRotate:-30}},PP_LINES_CURVE:{id:"PP_LINES_CURVE",chartType:"grid",pluginName:"Lines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}},PP_LINE_AREAS_CURVE:{id:"PP_LINE_AREAS_CURVE",chartType:"grid",pluginName:"LineAreas",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX"}}},Symbol.toStringTag,{value:"Module"})),N=Object.freeze(Object.defineProperty({__proto__:null,DF_MULTI_GRID_2_GRID_SLOT:{id:"DF_MULTI_GRID_2_GRID_SLOT",chartType:"multiGrid",description:"2個Grid Slot",data:{gridList:[{},{slotIndex:1}],container:{rowAmount:1,columnAmount:2}}},DF_MULTI_GRID_3_GRID_SLOT:{id:"DF_MULTI_GRID_3_GRID_SLOT",chartType:"multiGrid",description:"3個Grid Slot",data:{gridList:[{slotIndex:0},{slotIndex:1},{slotIndex:2}],container:{rowAmount:1,columnAmount:3}}},DF_MULTI_GRID_4_GRID_SLOT:{id:"DF_MULTI_GRID_4_GRID_SLOT",chartType:"multiGrid",description:"4個Grid Slot",data:{gridList:[{slotIndex:0},{slotIndex:1},{slotIndex:2},{slotIndex:3}],container:{rowAmount:2,columnAmount:2}}},DF_MULTI_LINE_AREAS_2_GRID_SLOT:{id:"DF_MULTI_LINE_AREAS_2_GRID_SLOT",chartType:"multiGrid",description:"MultiLineAreas 2個Grid Slot",data:{gridList:[{groupAxis:{scalePadding:0}},{slotIndex:1,groupAxis:{scalePadding:0}}],container:{rowAmount:1,columnAmount:2}}},DF_MULTI_LINE_AREAS_3_GRID_SLOT:{id:"DF_MULTI_LINE_AREAS_3_GRID_SLOT",chartType:"multiGrid",description:"MultiLineAreas 3個Grid Slot",data:{gridList:[{slotIndex:0,groupAxis:{scalePadding:0}},{slotIndex:1,groupAxis:{scalePadding:0}},{slotIndex:2,groupAxis:{scalePadding:0}}],container:{rowAmount:1,columnAmount:3}}},DF_MULTI_LINE_AREAS_4_GRID_SLOT:{id:"DF_MULTI_LINE_AREAS_4_GRID_SLOT",chartType:"multiGrid",description:"MultiLineAreas 4個Grid Slot",data:{gridList:[{slotIndex:0,groupAxis:{scalePadding:0}},{slotIndex:1,groupAxis:{scalePadding:0}},{slotIndex:2,groupAxis:{scalePadding:0}},{slotIndex:3,groupAxis:{scalePadding:0}}],container:{rowAmount:2,columnAmount:2}}}},Symbol.toStringTag,{value:"Module"})),l=Object.freeze(Object.defineProperty({__proto__:null,PP_MULTI_BARS_2_GRID_SLOT:{id:"PP_MULTI_BARS_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBars",description:"2組群組長條圖",data:{gridIndexes:[0,1]}},PP_MULTI_BARS_3_GRID_SLOT:{id:"PP_MULTI_BARS_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBars",description:"3組群組長條圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_BARS_4_GRID_SLOT:{id:"PP_MULTI_BARS_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBars",description:"4組群組長條圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_BARS_ROUND:{id:"PP_MULTI_BARS_ROUND",chartType:"multiGrid",pluginName:"MultiBars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT:{id:"PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarsTriangle",description:"2組群組三角長條圖",data:{gridIndexes:[0,1]}},PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT:{id:"PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarsTriangle",description:"3組群組三角長條圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT:{id:"PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarsTriangle",description:"4組群組三角長條圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_BAR_STACK_2_GRID_SLOT:{id:"PP_MULTI_BAR_STACK_2_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarStack",description:"2組堆疊長條圖",data:{gridIndexes:[0,1]}},PP_MULTI_BAR_STACK_3_GRID_SLOT:{id:"PP_MULTI_BAR_STACK_3_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarStack",description:"3組堆疊長條圖",data:{gridIndexes:[0,1,2]}},PP_MULTI_BAR_STACK_4_GRID_SLOT:{id:"PP_MULTI_BAR_STACK_4_GRID_SLOT",chartType:"multiGrid",pluginName:"MultiBarStack",description:"4組堆疊長條圖",data:{gridIndexes:[0,1,2,3]}},PP_MULTI_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"})),g=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),m=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"})),R={series:O,grid:s,multiGrid:N,multiValue:c,relationship:U,tree:g},E={series:A,grid:o,multiGrid:l,multiValue:M,relationship:u,tree:m},S=(T,L)=>{const s_=L.chartParamsId?D[L.chartParamsId].data:void 0,o_=R[T][L.dataFormatterId]?R[T][L.dataFormatterId].data:void 0,N_=L.allPluginParamsIds?L.allPluginParamsIds.reduce((e,a)=>{if(E[T][a]){const l_=E[T][a].pluginName;e[l_]=E[T][a].data}return e},{}):void 0;return{chartParams:s_,dataFormatter:o_,allPluginParams:N_}},t=T=>S("series",T),I=T=>S("grid",T),P=T=>S("multiGrid",T),p=T=>S("tree",T),B=t({allPluginParamsIds:[],description:"基本Series參數"}),H=t({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本泡泡圖"}),h=t({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),C=t({allPluginParamsIds:["PP_SERIES_LEGEND_ROUND"],description:"基本圓餅圖"}),F=t({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),y=t({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),b=t({chartParamsId:"CP_TOP_AND_NO_BOTTOM_PADDING",allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),W=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),X=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),f=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圖"}),V=I({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_GRID_DIVERGING_SCALE",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"正負值分向圖"}),j=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_GRID_2_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"2組Series圖表"}),x=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圖表"}),v=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圖表"}),K=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],description:"圓角長條圖"}),w=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:"橫向圓角長條圖"}),z=I({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),Y=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:"橫向圓角長條圖"}),Z=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),$=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:"橫向折線圖"}),q=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),J=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),Q=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),__=I({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"傾斜標籤"}),I_=I({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"橫向折線圖"}),T_=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_LINES_CURVE","PP_LINE_AREAS_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),P_=I({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",dataFormatterId:"DF_GRID_NONE_GROUP_SCALE_PADDING",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),t_=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_LINE_AREAS_2_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"2組Series圖表"}),L_=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_LINE_AREAS_3_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM","PP_GROUP_AXIS_ROTATE_LABEL"],description:"3組Series圖表"}),i_=I({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_LINE_AREAS_4_SERIES_SLOT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"4組Series圖表"}),S_=P({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],description:"基本MultiGrid參數"}),E_=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_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","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"2組Grid圖表"}),R_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_3_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM","PP_MULTI_GROUP_AXIS_3_GRID_SLOT","PP_MULTI_VALUE_AXIS_3_GRID_SLOT","PP_MULTI_BARS_3_GRID_SLOT","PP_MULTI_BAR_STACK_3_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT","PP_MULTI_LINES_3_GRID_SLOT","PP_MULTI_LINE_AREAS_3_GRID_SLOT","PP_MULTI_DOTS_3_GRID_SLOT"],description:"3組Grid圖表"}),e_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_4_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM","PP_MULTI_GROUP_AXIS_4_GRID_SLOT","PP_MULTI_VALUE_AXIS_4_GRID_SLOT","PP_MULTI_BARS_4_GRID_SLOT","PP_MULTI_BAR_STACK_4_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT","PP_MULTI_LINES_4_GRID_SLOT","PP_MULTI_LINE_AREAS_4_GRID_SLOT","PP_MULTI_DOTS_4_GRID_SLOT"],description:"4組Grid圖表"}),D_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_2_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST","PP_MULTI_GROUP_AXIS_2_GRID_SLOT","PP_MULTI_VALUE_AXIS_2_GRID_SLOT","PP_MULTI_BARS_2_GRID_SLOT","PP_MULTI_BAR_STACK_2_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT","PP_MULTI_LINES_2_GRID_SLOT","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"2組折線圖表"}),O_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_3_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST","PP_MULTI_GROUP_AXIS_3_GRID_SLOT","PP_MULTI_VALUE_AXIS_3_GRID_SLOT","PP_MULTI_BARS_3_GRID_SLOT","PP_MULTI_BAR_STACK_3_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT","PP_MULTI_LINES_3_GRID_SLOT","PP_MULTI_LINE_AREAS_3_GRID_SLOT","PP_MULTI_DOTS_3_GRID_SLOT"],description:"3組折線圖表"}),d_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_GRID_4_GRID_SLOT",allPluginParamsIds:["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST","PP_MULTI_GROUP_AXIS_4_GRID_SLOT","PP_MULTI_VALUE_AXIS_4_GRID_SLOT","PP_MULTI_BARS_4_GRID_SLOT","PP_MULTI_BAR_STACK_4_GRID_SLOT","PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT","PP_MULTI_LINES_4_GRID_SLOT","PP_MULTI_LINE_AREAS_4_GRID_SLOT","PP_MULTI_DOTS_4_GRID_SLOT"],description:"4組折線圖表"}),r_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_LINE_AREAS_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","PP_MULTI_LINE_AREAS_2_GRID_SLOT","PP_MULTI_DOTS_2_GRID_SLOT"],description:"2組折線圖表"}),G_=P({chartParamsId:"CP_BOTTOM_LONG_PADDING",dataFormatterId:"DF_MULTI_LINE_AREAS_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","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_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","PP_MULTI_LINE_AREAS_4_GRID_SLOT","PP_MULTI_DOTS_4_GRID_SLOT"],description:"4組折線圖表"}),A_=p({chartParamsId:"CP_BOTTOM_SLIGHT_PADDING",allPluginParamsIds:["PP_TREE_LEGEND_BOTTOM"],description:"基本Tree參數"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=w,_.PRESET_BARS_HORIZONTAL_AND_THIN=Y,_.PRESET_BARS_ROUND=K,_.PRESET_BARS_THIN=z,_.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=W,_.PRESET_GRID_DIVERGING_SCALE=V,_.PRESET_GRID_HORIZONTAL=f,_.PRESET_GRID_ROTATE_AXIS_LABEL=X,_.PRESET_LINES_BASIC=Z,_.PRESET_LINES_CURVE=q,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=J,_.PRESET_LINES_HORIZONTAL=k,_.PRESET_LINES_ROTATE_AXIS_LABEL=$,_.PRESET_LINE_AREAS_2_SERIES_SLOT=t_,_.PRESET_LINE_AREAS_3_SERIES_SLOT=L_,_.PRESET_LINE_AREAS_4_SERIES_SLOT=i_,_.PRESET_LINE_AREAS_BASIC=Q,_.PRESET_LINE_AREAS_CURVE=T_,_.PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS=P_,_.PRESET_LINE_AREAS_HORIZONTAL=I_,_.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=__,_.PRESET_MULTI_GRID_2_GRID_SLOT=a_,_.PRESET_MULTI_GRID_3_GRID_SLOT=R_,_.PRESET_MULTI_GRID_4_GRID_SLOT=e_,_.PRESET_MULTI_GRID_BASIC=S_,_.PRESET_MULTI_GRID_ROUND_STYLE=E_,_.PRESET_MULTI_LINES_2_GRID_SLOT=D_,_.PRESET_MULTI_LINES_3_GRID_SLOT=O_,_.PRESET_MULTI_LINES_4_GRID_SLOT=d_,_.PRESET_MULTI_LINE_AREAS_2_GRID_SLOT=r_,_.PRESET_MULTI_LINE_AREAS_3_GRID_SLOT=G_,_.PRESET_MULTI_LINE_AREAS_4_GRID_SLOT=n_,_.PRESET_PIE_BASIC=C,_.PRESET_PIE_DONUT=y,_.PRESET_PIE_HALF_DONUT=b,_.PRESET_PIE_WITH_INNER_LABELS=F,_.PRESET_SERIES_BASIC=B,_.PRESET_TREE_BASIC=A_,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
|
package/dist/src/index.d.ts
CHANGED
@@ -37,4 +37,7 @@ export declare const PRESET_MULTI_GRID_4_GRID_SLOT: import('@orbcharts/core').Pr
|
|
37
37
|
export declare const PRESET_MULTI_LINES_2_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
|
38
38
|
export declare const PRESET_MULTI_LINES_3_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
|
39
39
|
export declare const PRESET_MULTI_LINES_4_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
|
40
|
+
export declare const PRESET_MULTI_LINE_AREAS_2_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
|
41
|
+
export declare const PRESET_MULTI_LINE_AREAS_3_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
|
42
|
+
export declare const PRESET_MULTI_LINE_AREAS_4_GRID_SLOT: import('@orbcharts/core').PresetPartial<"multiGrid">;
|
40
43
|
export declare const PRESET_TREE_BASIC: import('@orbcharts/core').PresetPartial<"tree">;
|
@@ -1,3 +1,6 @@
|
|
1
1
|
export { DF_MULTI_GRID_2_GRID_SLOT } from './DF_MULTI_GRID_2_GRID_SLOT';
|
2
2
|
export { DF_MULTI_GRID_3_GRID_SLOT } from './DF_MULTI_GRID_3_GRID_SLOT';
|
3
3
|
export { DF_MULTI_GRID_4_GRID_SLOT } from './DF_MULTI_GRID_4_GRID_SLOT';
|
4
|
+
export { DF_MULTI_LINE_AREAS_2_GRID_SLOT } from './DF_MULTI_LINE_AREAS_2_GRID_SLOT';
|
5
|
+
export { DF_MULTI_LINE_AREAS_3_GRID_SLOT } from './DF_MULTI_LINE_AREAS_3_GRID_SLOT';
|
6
|
+
export { DF_MULTI_LINE_AREAS_4_GRID_SLOT } from './DF_MULTI_LINE_AREAS_4_GRID_SLOT';
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { PP_MULTI_LINE_AREAS_2_GRID_SLOT } from './PP_MULTI_LINE_AREAS_2_GRID_SLOT';
|
2
|
+
export { PP_MULTI_LINE_AREAS_3_GRID_SLOT } from './PP_MULTI_LINE_AREAS_3_GRID_SLOT';
|
3
|
+
export { PP_MULTI_LINE_AREAS_4_GRID_SLOT } from './PP_MULTI_LINE_AREAS_4_GRID_SLOT';
|
4
|
+
export { PP_MULTI_LINE_AREAS_CURVE } from './PP_MULTI_LINE_AREAS_CURVE';
|
@@ -1,7 +1,9 @@
|
|
1
1
|
export * from './MultiBars';
|
2
2
|
export * from './MultiBarStack';
|
3
3
|
export * from './MultiBarsTriangle';
|
4
|
+
export * from './MultiDots';
|
4
5
|
export * from './MultiLines';
|
6
|
+
export * from './MultiLineAreas';
|
5
7
|
export * from './MultiGridLegend';
|
6
8
|
export * from './MultiGroupAxis';
|
7
9
|
export * from './MultiValueAxis';
|
package/package.json
CHANGED
@@ -1,43 +1,43 @@
|
|
1
|
-
{
|
2
|
-
"name": "@orbcharts/presets-basic",
|
3
|
-
"version": "3.0.0-alpha.
|
4
|
-
"description": "presets for OrbCharts",
|
5
|
-
"author": "Blue Planet Inc.",
|
6
|
-
"license": "Apache-2.0",
|
7
|
-
"keywords": [
|
8
|
-
"d3",
|
9
|
-
"rxjs",
|
10
|
-
"svg",
|
11
|
-
"visualization",
|
12
|
-
"infographic",
|
13
|
-
"graph",
|
14
|
-
"chart"
|
15
|
-
],
|
16
|
-
"private": false,
|
17
|
-
"publishConfig": {
|
18
|
-
"access": "public",
|
19
|
-
"registry": "https://registry.npmjs.org/"
|
20
|
-
},
|
21
|
-
"files": [
|
22
|
-
"*"
|
23
|
-
],
|
24
|
-
"module": "./dist/orbcharts-presets-basic.es.js",
|
25
|
-
"types": "./dist/src/index.d.ts",
|
26
|
-
"scripts": {
|
27
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
28
|
-
"build": "vite build --mode release"
|
29
|
-
},
|
30
|
-
"devDependencies": {
|
31
|
-
"@types/d3": "^7.4.0",
|
32
|
-
"ts-loader": "^9.4.2",
|
33
|
-
"typescript": "^5.0.4",
|
34
|
-
"vite": "^5.3.5",
|
35
|
-
"vite-plugin-dts": "^3.7.3"
|
36
|
-
},
|
37
|
-
"dependencies": {
|
38
|
-
"@orbcharts/core": "^3.0.0-alpha.
|
39
|
-
"@orbcharts/plugins-basic": "^3.0.0-alpha.
|
40
|
-
"d3": "^7.8.5",
|
41
|
-
"rxjs": "^7.8.1"
|
42
|
-
}
|
43
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@orbcharts/presets-basic",
|
3
|
+
"version": "3.0.0-alpha.13",
|
4
|
+
"description": "presets for OrbCharts",
|
5
|
+
"author": "Blue Planet Inc.",
|
6
|
+
"license": "Apache-2.0",
|
7
|
+
"keywords": [
|
8
|
+
"d3",
|
9
|
+
"rxjs",
|
10
|
+
"svg",
|
11
|
+
"visualization",
|
12
|
+
"infographic",
|
13
|
+
"graph",
|
14
|
+
"chart"
|
15
|
+
],
|
16
|
+
"private": false,
|
17
|
+
"publishConfig": {
|
18
|
+
"access": "public",
|
19
|
+
"registry": "https://registry.npmjs.org/"
|
20
|
+
},
|
21
|
+
"files": [
|
22
|
+
"*"
|
23
|
+
],
|
24
|
+
"module": "./dist/orbcharts-presets-basic.es.js",
|
25
|
+
"types": "./dist/src/index.d.ts",
|
26
|
+
"scripts": {
|
27
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
28
|
+
"build": "vite build --mode release"
|
29
|
+
},
|
30
|
+
"devDependencies": {
|
31
|
+
"@types/d3": "^7.4.0",
|
32
|
+
"ts-loader": "^9.4.2",
|
33
|
+
"typescript": "^5.0.4",
|
34
|
+
"vite": "^5.3.5",
|
35
|
+
"vite-plugin-dts": "^3.7.3"
|
36
|
+
},
|
37
|
+
"dependencies": {
|
38
|
+
"@orbcharts/core": "^3.0.0-alpha.40",
|
39
|
+
"@orbcharts/plugins-basic": "^3.0.0-alpha.43",
|
40
|
+
"d3": "^7.8.5",
|
41
|
+
"rxjs": "^7.8.1"
|
42
|
+
}
|
43
|
+
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_BOTTOM_AND_LEFT_PADDING: ChartParamsFile = {
|
4
|
-
id: 'CP_BOTTOM_AND_LEFT_PADDING',
|
5
|
-
description: '間距下面及左邊留空',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 60,
|
9
|
-
right: 60,
|
10
|
-
bottom: 120,
|
11
|
-
left: 160
|
12
|
-
},
|
13
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_BOTTOM_AND_LEFT_PADDING: ChartParamsFile = {
|
4
|
+
id: 'CP_BOTTOM_AND_LEFT_PADDING',
|
5
|
+
description: '間距下面及左邊留空',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 60,
|
9
|
+
right: 60,
|
10
|
+
bottom: 120,
|
11
|
+
left: 160
|
12
|
+
},
|
13
|
+
}
|
14
14
|
}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile = {
|
4
|
-
id: 'CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT',
|
5
|
-
description: '間距下面及左邊留空',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 60,
|
9
|
-
right: 60,
|
10
|
-
bottom: 120,
|
11
|
-
left: 160
|
12
|
-
},
|
13
|
-
highlightTarget: 'series'
|
14
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile = {
|
4
|
+
id: 'CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT',
|
5
|
+
description: '間距下面及左邊留空',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 60,
|
9
|
+
right: 60,
|
10
|
+
bottom: 120,
|
11
|
+
left: 160
|
12
|
+
},
|
13
|
+
highlightTarget: 'series'
|
14
|
+
}
|
15
15
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_BOTTOM_LONG_PADDING: ChartParamsFile = {
|
4
|
-
id: 'CP_BOTTOM_LONG_PADDING',
|
5
|
-
description: '間距下面加長留空',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 60,
|
9
|
-
right: 60,
|
10
|
-
bottom: 160,
|
11
|
-
left: 60
|
12
|
-
},
|
13
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_BOTTOM_LONG_PADDING: ChartParamsFile = {
|
4
|
+
id: 'CP_BOTTOM_LONG_PADDING',
|
5
|
+
description: '間距下面加長留空',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 60,
|
9
|
+
right: 60,
|
10
|
+
bottom: 160,
|
11
|
+
left: 60
|
12
|
+
},
|
13
|
+
}
|
14
14
|
}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile = {
|
4
|
-
id: 'CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT',
|
5
|
-
description: '間距下面加長留空及highlight系列',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 60,
|
9
|
-
right: 60,
|
10
|
-
bottom: 160,
|
11
|
-
left: 60
|
12
|
-
},
|
13
|
-
highlightTarget: 'series'
|
14
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile = {
|
4
|
+
id: 'CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT',
|
5
|
+
description: '間距下面加長留空及highlight系列',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 60,
|
9
|
+
right: 60,
|
10
|
+
bottom: 160,
|
11
|
+
left: 60
|
12
|
+
},
|
13
|
+
highlightTarget: 'series'
|
14
|
+
}
|
15
15
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_BOTTOM_PADDING: ChartParamsFile = {
|
4
|
-
id: 'CP_BOTTOM_PADDING',
|
5
|
-
description: '間距下面留空',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 60,
|
9
|
-
right: 60,
|
10
|
-
bottom: 120,
|
11
|
-
left: 60
|
12
|
-
},
|
13
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_BOTTOM_PADDING: ChartParamsFile = {
|
4
|
+
id: 'CP_BOTTOM_PADDING',
|
5
|
+
description: '間距下面留空',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 60,
|
9
|
+
right: 60,
|
10
|
+
bottom: 120,
|
11
|
+
left: 60
|
12
|
+
},
|
13
|
+
}
|
14
14
|
}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: ChartParamsFile = {
|
4
|
-
id: 'CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT',
|
5
|
-
description: '間距下面留空及highlight群組',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 60,
|
9
|
-
right: 60,
|
10
|
-
bottom: 120,
|
11
|
-
left: 60
|
12
|
-
},
|
13
|
-
highlightTarget: 'group'
|
14
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: ChartParamsFile = {
|
4
|
+
id: 'CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT',
|
5
|
+
description: '間距下面留空及highlight群組',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 60,
|
9
|
+
right: 60,
|
10
|
+
bottom: 120,
|
11
|
+
left: 60
|
12
|
+
},
|
13
|
+
highlightTarget: 'group'
|
14
|
+
}
|
15
15
|
}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile = {
|
4
|
-
id: 'CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT',
|
5
|
-
description: '間距下面留空及highlight系列',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 60,
|
9
|
-
right: 60,
|
10
|
-
bottom: 120,
|
11
|
-
left: 60
|
12
|
-
},
|
13
|
-
highlightTarget: 'series'
|
14
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile = {
|
4
|
+
id: 'CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT',
|
5
|
+
description: '間距下面留空及highlight系列',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 60,
|
9
|
+
right: 60,
|
10
|
+
bottom: 120,
|
11
|
+
left: 60
|
12
|
+
},
|
13
|
+
highlightTarget: 'series'
|
14
|
+
}
|
15
15
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_BOTTOM_SLIGHT_PADDING: ChartParamsFile = {
|
4
|
-
id: 'CP_BOTTOM_SLIGHT_PADDING',
|
5
|
-
description: '間距下面些微留空',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 40,
|
9
|
-
right: 40,
|
10
|
-
bottom: 60,
|
11
|
-
left: 40
|
12
|
-
},
|
13
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_BOTTOM_SLIGHT_PADDING: ChartParamsFile = {
|
4
|
+
id: 'CP_BOTTOM_SLIGHT_PADDING',
|
5
|
+
description: '間距下面些微留空',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 40,
|
9
|
+
right: 40,
|
10
|
+
bottom: 60,
|
11
|
+
left: 40
|
12
|
+
},
|
13
|
+
}
|
14
14
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_LEFT_PADDING: ChartParamsFile = {
|
4
|
-
id: 'CP_LEFT_PADDING',
|
5
|
-
description: '間距左邊留空',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 60,
|
9
|
-
right: 60,
|
10
|
-
bottom: 60,
|
11
|
-
left: 160
|
12
|
-
},
|
13
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_LEFT_PADDING: ChartParamsFile = {
|
4
|
+
id: 'CP_LEFT_PADDING',
|
5
|
+
description: '間距左邊留空',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 60,
|
9
|
+
right: 60,
|
10
|
+
bottom: 60,
|
11
|
+
left: 160
|
12
|
+
},
|
13
|
+
}
|
14
14
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { ChartParamsFile } from '../types'
|
2
|
-
|
3
|
-
export const CP_RIGHT_PADDING: ChartParamsFile = {
|
4
|
-
id: 'CP_RIGHT_PADDING',
|
5
|
-
description: '間距右邊留空',
|
6
|
-
data: {
|
7
|
-
padding: {
|
8
|
-
top: 60,
|
9
|
-
right: 120,
|
10
|
-
bottom: 60,
|
11
|
-
left: 60
|
12
|
-
},
|
13
|
-
}
|
1
|
+
import type { ChartParamsFile } from '../types'
|
2
|
+
|
3
|
+
export const CP_RIGHT_PADDING: ChartParamsFile = {
|
4
|
+
id: 'CP_RIGHT_PADDING',
|
5
|
+
description: '間距右邊留空',
|
6
|
+
data: {
|
7
|
+
padding: {
|
8
|
+
top: 60,
|
9
|
+
right: 120,
|
10
|
+
bottom: 60,
|
11
|
+
left: 60
|
12
|
+
},
|
13
|
+
}
|
14
14
|
}
|