@orbcharts/presets-basic 3.0.0-alpha.4 → 3.0.0-alpha.41
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 +1383 -362
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.d.ts +4 -0
- package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.d.ts +4 -0
- package/dist/src/grid/PRESET_BARS_ROUND.d.ts +4 -0
- package/dist/src/grid/PRESET_BARS_THIN.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_BASIC.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_HORIZONTAL.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_PN_SCALE.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_BASIC.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_CURVE.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_HORIZONTAL.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_LOOSE_TICKS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_WITH_SOLID_DOTS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_BASIC.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_CURVE.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_HORIZONTAL.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/grid/index.d.ts +23 -0
- package/dist/src/index.d.ts +4 -18
- package/dist/src/multiGrid/PRESET_MULTI_GRID_BASIC.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +6 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +4 -0
- package/dist/src/multiGrid/index.d.ts +6 -0
- package/dist/src/params.d.ts +7 -0
- package/dist/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
- package/dist/src/series/PRESET_BUBBLES_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_BASIC.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_DONUT.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_HALF_DONUT.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_WITH_INNER_LABELS.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_BASIC.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
- package/dist/src/series/PRESET_SERIES_BASIC.d.ts +4 -0
- package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_SERIES_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/index.d.ts +12 -0
- package/dist/src/tree/PRESET_TREE_BASIC.d.ts +4 -0
- package/dist/src/tree/index.d.ts +1 -0
- package/dist/src/types.d.ts +116 -37
- package/dist/vite.config.d.ts +1 -1
- package/package.json +43 -43
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +62 -0
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +59 -0
- package/src/grid/PRESET_BARS_ROUND.ts +46 -0
- package/src/grid/PRESET_BARS_THIN.ts +43 -0
- package/src/grid/PRESET_GRID_BASIC.ts +25 -0
- package/src/grid/PRESET_GRID_HORIZONTAL.ts +42 -0
- package/src/grid/PRESET_GRID_PN_SCALE.ts +33 -0
- package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +33 -0
- package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +38 -0
- package/src/grid/PRESET_LINES_BASIC.ts +44 -0
- package/src/grid/PRESET_LINES_CURVE.ts +47 -0
- package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +46 -0
- package/src/grid/PRESET_LINES_HORIZONTAL.ts +60 -0
- package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +46 -0
- package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +49 -0
- package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +48 -0
- package/src/grid/PRESET_LINE_AREAS_BASIC.ts +54 -0
- package/src/grid/PRESET_LINE_AREAS_CURVE.ts +59 -0
- package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +58 -0
- package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +58 -0
- package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +56 -0
- package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +59 -0
- package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +61 -0
- package/src/grid/index.ts +23 -0
- package/src/index.ts +4 -133
- package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +36 -0
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +85 -0
- package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +57 -0
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +59 -0
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +103 -0
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +121 -0
- package/src/multiGrid/index.ts +6 -0
- package/src/params.ts +57 -0
- package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +19 -0
- package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -0
- package/src/series/PRESET_PIE_BASIC.ts +19 -0
- package/src/series/PRESET_PIE_DONUT.ts +27 -0
- package/src/series/PRESET_PIE_HALF_DONUT.ts +40 -0
- package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +28 -0
- package/src/series/PRESET_ROSE_BASIC.ts +19 -0
- package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +27 -0
- package/src/series/PRESET_SERIES_BASIC.ts +15 -0
- package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +17 -0
- package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +18 -0
- package/src/series/PRESET_SERIES_SUM_SERIES.ts +17 -0
- package/src/series/index.ts +13 -0
- package/src/tree/PRESET_TREE_BASIC.ts +25 -0
- package/src/tree/index.ts +1 -0
- package/src/types.ts +242 -58
- package/tsconfig.base.json +14 -0
- package/tsconfig.json +2 -13
- package/vite.config.js +22 -44
- package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/index.d.ts +0 -10
- package/dist/src/createPreset.d.ts +0 -9
- package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
- package/dist/src/gridDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Bars/index.d.ts +0 -2
- package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Dots/index.d.ts +0 -2
- package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +0 -2
- package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -1
- package/dist/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Lines/index.d.ts +0 -1
- package/dist/src/gridPluginParamsFiles/index.d.ts +0 -5
- package/dist/src/multiGridDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/multiGridPluginParamsFiles/index.d.ts +0 -1
- package/dist/src/multiValueDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/multiValuePluginParamsFiles/index.d.ts +0 -1
- package/dist/src/relationshipDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/relationshipPluginParamsFiles/index.d.ts +0 -1
- package/dist/src/seriesDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -1
- package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
- package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/Pie/index.d.ts +0 -2
- package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -2
- package/dist/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -1
- package/dist/src/seriesPluginParamsFiles/index.d.ts +0 -4
- package/dist/src/treeDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/treePluginParamsFiles/index.d.ts +0 -1
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
- package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +0 -15
- package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
- package/src/chartParamsFiles/CP_LEFT_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +0 -14
- package/src/chartParamsFiles/index.ts +0 -10
- package/src/createPreset.ts +0 -88
- package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
- package/src/gridDataFormatterFiles/index.ts +0 -1
- package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +0 -15
- package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +0 -14
- package/src/gridPluginParamsFiles/Bars/index.ts +0 -2
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -12
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +0 -14
- package/src/gridPluginParamsFiles/Dots/index.ts +0 -2
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +0 -14
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -15
- package/src/gridPluginParamsFiles/GridLegend/index.ts +0 -2
- package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +0 -12
- package/src/gridPluginParamsFiles/GroupAxis/index.ts +0 -1
- package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +0 -13
- package/src/gridPluginParamsFiles/Lines/index.ts +0 -1
- package/src/gridPluginParamsFiles/index.ts +0 -6
- package/src/multiGridDataFormatterFiles/index.ts +0 -1
- package/src/multiGridPluginParamsFiles/index.ts +0 -1
- package/src/multiValueDataFormatterFiles/index.ts +0 -1
- package/src/multiValuePluginParamsFiles/index.ts +0 -1
- package/src/relationshipDataFormatterFiles/index.ts +0 -1
- package/src/relationshipPluginParamsFiles/index.ts +0 -1
- package/src/seriesDataFormatterFiles/index.ts +0 -1
- package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +0 -12
- package/src/seriesPluginParamsFiles/Bubbles/index.ts +0 -1
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.ts +0 -0
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +0 -12
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +0 -14
- package/src/seriesPluginParamsFiles/Pie/index.ts +0 -2
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +0 -13
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +0 -13
- package/src/seriesPluginParamsFiles/PieLabels/index.ts +0 -2
- package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +0 -12
- package/src/seriesPluginParamsFiles/SeriesLegend/index.ts +0 -1
- package/src/seriesPluginParamsFiles/index.ts +0 -4
- package/src/treeDataFormatterFiles/index.ts +0 -1
- package/src/treePluginParamsFiles/index.ts +0 -1
@@ -1 +1 @@
|
|
1
|
-
(function(_,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(_=typeof globalThis<"u"?globalThis:_||self,a(_["orbcharts-presets-basic"]={}))})(this,function(_){"use strict";const n=Object.freeze(Object.defineProperty({__proto__:null,CP_BOTTOM_AND_LEFT_PADDING:{id:"CP_BOTTOM_AND_LEFT_PADDING",description:"間距下面及左邊留空",data:{padding:{top:60,right:60,bottom:120,left:120}}},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:120},highlightTarget:"series"}},CP_BOTTOM_LONG_PADDING:{id:"CP_BOTTOM_LONG_PADDING",description:"間距下面加長留空",data:{padding:{top:60,right:60,bottom:140,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:140,left:60},highlightTarget:"series"}},CP_BOTTOM_PADDING:{id:"CP_BOTTOM_PADDING",description:"間距下面留空",data:{padding:{top:60,right:60,bottom:120,left:60}}},CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight群組",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"}},CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight系列",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"}},CP_LEFT_PADDING:{id:"CP_LEFT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:60,bottom:60,left:120}}},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:140,right:120,bottom:0,left:60}}}},Symbol.toStringTag,{value:"Module"})),d=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),s={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}},l={id:"PP_PIE_HALF_DONUT",chartType:"series",pluginName:"Pie",description:"半圓甜甜圈圖",data:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2}},D={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:s,PP_PIE_DONUT:O,PP_PIE_HALF_DONUT:l,PP_PIE_LABELS_HALF_ANGLE:D,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_BOTTOM_VALUE_AXIS:{id:"DF_BOTTOM_VALUE_AXIS",chartType:"grid",description:"底部橫向資料圖軸",data:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}}},Symbol.toStringTag,{value:"Module"})),c=Object.freeze(Object.defineProperty({__proto__:null,PP_BARS_ROUND:{id:"PP_BARS_ROUND",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_BARS_THIN:{id:"PP_BARS_THIN",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:20,barPadding:1,barGroupPadding:10}},PP_DOTS_ONLY_SHOW_HIGHLIGHTED:{id:"PP_DOTS_ONLY_SHOW_HIGHLIGHTED",chartType:"grid",pluginName:"Dots",description:"顯示highlight圓點",data:{onlyShowHighlighted:!1}},PP_DOTS_SOLID:{id:"PP_DOTS_SOLID",chartType:"grid",pluginName:"Dots",description:"實心圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_GRID_LEGEND_BOTTOM:{id:"PP_GRID_LEGEND_BOTTOM",chartType:"grid",pluginName:"GridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及線條列點",data:{position:"bottom",justify:"center",padding:14,listRectHeight:2}},PP_GROUP_AXIS_ROTATE_LABEL:{id:"PP_GROUP_AXIS_ROTATE_LABEL",chartType:"grid",pluginName:"GroupAxis",description:"群組圖軸標籤文字傾斜",data:{tickTextRotate:40}},PP_LINES_CURVE:{id:"PP_LINES_CURVE",chartType:"grid",pluginName:"Lines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}}},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),L=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),R=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),p=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),g=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),m=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),o={series:d,grid:N,multiGrid:G,multiValue:A,relationship:p,tree:m},T={series:S,grid:c,multiGrid:L,multiValue:R,relationship:g,tree:u},I=(P,e)=>{const w=e.chartParamsId?n[e.chartParamsId].data:void 0,k=o[P][e.dataFormatterId]?o[P][e.dataFormatterId].data:void 0,q=e.allPluginParamsIds?e.allPluginParamsIds.reduce((E,r)=>{if(T[P][r]){const J=T[P][r].pluginName;E[J]=T[P][r].data}return E},{}):void 0;return{chartParams:w,dataFormatter:k,allPluginParams:q}},i=P=>I("series",P),t=P=>I("grid",P),B=P=>I("multiGrid",P),H=i({allPluginParamsIds:[],description:"基本Series參數"}),M=i({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),h=i({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),b=i({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),C=i({chartParamsId:"CP_TOP_AND_NO_BOTTOM_PADDING",allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),U=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),f=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),F=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),y=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"圓角長條圖"}),W=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),j=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),v=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),V=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"基本Grid參數"}),X=t({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"傾斜標籤"}),$=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"橫向圓角長條圖"}),z=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),Y=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"}),Z=B({allPluginParamsIds:[],description:"基本MultiGrid參數"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=W,_.PRESET_BARS_HORIZONTAL_AND_THIN=v,_.PRESET_BARS_ROUND=y,_.PRESET_BARS_THIN=j,_.PRESET_BUBBLES_SCALING_BY_RADIUS=M,_.PRESET_GRID_BASIC=U,_.PRESET_GRID_HORIZONTAL=F,_.PRESET_GRID_ROTATE_AXIS_LABEL=f,_.PRESET_LINES_BASIC=V,_.PRESET_LINES_CURVE=z,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=Y,_.PRESET_LINES_HORIZONTAL=$,_.PRESET_LINES_ROTATE_AXIS_LABEL=X,_.PRESET_MULTI_GRID_BASIC=Z,_.PRESET_PIE_DONUT=b,_.PRESET_PIE_HALF_DONUT=C,_.PRESET_PIE_WITH_INNER_LABELS=h,_.PRESET_SERIES_BASIC=H,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
|
1
|
+
(function(t,r){typeof exports=="object"&&typeof module<"u"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(t=typeof globalThis<"u"?globalThis:t||self,r(t["orbcharts-presets-basic"]={}))})(this,function(t){"use strict";const r={Bubbles:{},Pie:{},PieEventTexts:{},PieLabels:{},Rose:{},RoseLabels:{},SeriesLegend:{}},s={Bars:{},BarsPN:{},BarStack:{},BarsTriangle:{},Dots:{},GridLegend:{},GroupAux:{},GroupAxis:{},LineAreas:{},Lines:{},ScalingArea:{},ValueAxis:{},ValueStackAxis:{}},u={MultiBars:{},MultiBarStack:{},MultiBarsTriangle:{},MultiDots:{},MultiGridLegend:{},MultiGroupAxis:{},MultiLineAreas:{},MultiLines:{},MultiValueAxis:{},MultiValueStackAxis:{},OverlappingValueAxes:{},OverlappingValueStackAxes:{}},i={Tooltip:{}},A={name:"PRESET_BUBBLES_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的泡泡圖",allPluginParams:{...i,Bubbles:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}},P={name:"PRESET_BUBBLES_SEPARATE_SERIES",description:"分開顯示Series泡泡",chartParams:{padding:{top:160,right:160,bottom:160,left:160}},dataFormatter:{separateSeries:!0},allPluginParams:{...i,Bubbles:{},SeriesLegend:{listRectRadius:7}}},o={name:"PRESET_PIE_BASIC",description:"基本Pie參數",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{...r,...i,SeriesLegend:{listRectRadius:7}}};o.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const n={name:"PRESET_PIE_DONUT",description:"甜甜圈圖",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{...i,Pie:{innerRadius:.5},PieLabels:{},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}};n.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const E={name:"PRESET_PIE_HALF_DONUT",description:"半圓甜甜圈圖",chartParams:{padding:{top:120,right:120,bottom:0,left:60}},dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{...i,Pie:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2},PieLabels:{startAngle:-Math.PI/2,endAngle:Math.PI/2},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}};E.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const l={name:"PRESET_PIE_WITH_INNER_LABELS",description:"圓餅圖及內部資料標籤",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{...i,Pie:{},PieLabels:{labelCentroid:1.3,labelColorType:"primary"},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}};l.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const d={name:"PRESET_ROSE_BASIC",description:"基本Rose參數",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{...r,...i,SeriesLegend:{listRectRadius:7}}};d.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const S={name:"PRESET_ROSE_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的玫瑰圖",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{...i,Rose:{arcScaleType:"radius"},RoseLabels:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}};S.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const I={name:"PRESET_SERIES_BASIC",description:"基本Series參數",allPluginParams:{...r,...i,SeriesLegend:{listRectRadius:7}}},_={name:"PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",description:"分開顯示Series並合併Series資料",dataFormatter:{sort:(e,a)=>a.value-e.value,separateSeries:!0,sumSeries:!0},allPluginParams:{...r,...i}};_.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const R={name:"PRESET_SERIES_SEPARATE_SERIES",description:"分開顯示Series",dataFormatter:{sort:(e,a)=>a.value-e.value,separateSeries:!0},allPluginParams:{...r,...i}};R.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const g={name:"PRESET_SERIES_SUM_SERIES",description:"合併Series資料",dataFormatter:{sort:(e,a)=>a.value-e.value,sumSeries:!0},allPluginParams:{...r,...i}};g.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const T={name:"PRESET_BARS_HORIZONTAL_AND_ROUND",description:"橫向圓角長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160}},dataFormatter:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}},allPluginParams:{...i,Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectRadius:7}}},c={name:"PRESET_BARS_HORIZONTAL_AND_THIN",description:"橫向細長長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160}},dataFormatter:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}},allPluginParams:{...i,Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14}}},L={name:"PRESET_BARS_ROUND",description:"圓角長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{...i,Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectRadius:7}}},p={name:"PRESET_BARS_THIN",description:"細長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{...i,Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14}}},m={name:"PRESET_GRID_BASIC",description:"基本Grid參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{...s,...i,GridLegend:{position:"bottom",justify:"center",padding:14}}},h={name:"PRESET_GRID_HORIZONTAL",description:"橫向圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160}},dataFormatter:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}},allPluginParams:{...s,...i,GridLegend:{position:"bottom",justify:"center",padding:14}}},G={name:"PRESET_GRID_PN_SCALE",description:"正負值分向圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},dataFormatter:{grid:{valueAxis:{scaleDomain:["auto","auto"],scaleRange:[.05,.95]}}},allPluginParams:{...s,...i,GridLegend:{position:"bottom",justify:"center",padding:14}}},b={name:"PRESET_GRID_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},allPluginParams:{...s,...i,GroupAux:{labelRotate:-30},GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{position:"bottom",justify:"center",padding:14}}},N={name:"PRESET_GRID_SEPARATE_SERIES",description:"分開顯示Series",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{grid:{separateSeries:!0}},allPluginParams:{...s,...i,GroupAux:{labelRotate:-30},GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{position:"bottom",justify:"center",padding:14}}},x={name:"PRESET_LINE_AREAS_BASIC",description:"基本LineArea參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},dataFormatter:{grid:{groupAxis:{scalePadding:0}}},allPluginParams:{...i,Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},D={name:"PRESET_LINE_AREAS_CURVE",description:"弧線折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},dataFormatter:{grid:{groupAxis:{scalePadding:0}}},allPluginParams:{...i,Lines:{lineCurve:"curveMonotoneX",lineWidth:3},LineAreas:{lineCurve:"curveMonotoneX"},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},M={name:"PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS",description:"折線圖及Highlight Group圓點",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"},dataFormatter:{grid:{groupAxis:{scalePadding:0}}},allPluginParams:{...i,Lines:{lineWidth:3},LineAreas:{},Dots:{onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},B={name:"PRESET_LINE_AREAS_HORIZONTAL",description:"橫向折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160},highlightTarget:"series"},dataFormatter:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left",scalePadding:0}}},allPluginParams:{...i,Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},O={name:"PRESET_LINE_AREAS_LOOSE_TICKS",description:"寬鬆標籤",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},dataFormatter:{grid:{groupAxis:{scalePadding:0}}},allPluginParams:{...i,Lines:{},LineAreas:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},H={name:"PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"},dataFormatter:{grid:{groupAxis:{scalePadding:0}}},allPluginParams:{...i,Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{labelRotate:-30},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},f={name:"PRESET_LINE_AREAS_SEPARATE_SERIES",description:"LineAreas 分開顯示Series",chartParams:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"},dataFormatter:{grid:{separateSeries:!0,groupAxis:{scalePadding:0}}},allPluginParams:{...i,Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{labelRotate:-30},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},U={name:"PRESET_LINES_BASIC",description:"基本Lines參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...i,Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},v={name:"PRESET_LINES_CURVE",description:"弧線折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...i,Lines:{lineCurve:"curveMonotoneX",lineWidth:3},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},C={name:"PRESET_LINES_HIGHLIGHT_GROUP_DOTS",description:"折線圖及Highlight Group圓點",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"},allPluginParams:{...i,Lines:{},Dots:{onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},V={name:"PRESET_LINES_HORIZONTAL",description:"橫向折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160},highlightTarget:"series"},dataFormatter:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}},allPluginParams:{...i,Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},y={name:"PRESET_LINES_LOOSE_TICKS",description:"寬鬆標籤",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...i,Lines:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},F={name:"PRESET_LINES_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"},allPluginParams:{...i,Lines:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{labelRotate:-30},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},j={name:"PRESET_LINES_WITH_SOLID_DOTS",description:"折線圖及實心圓點",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...i,Lines:{},Dots:{radius:3,fillColorType:"series",onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},k={name:"PRESET_MULTI_GRID_BASIC",description:"基本MultiGrid參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...u,...i,MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{},{listRectHeight:2}]}}},W={name:"PRESET_MULTI_GRID_DIVERGING",description:"雙向折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},dataFormatter:{gridList:[{groupAxis:{position:"right"},valueAxis:{position:"bottom"}},{groupAxis:{position:"left"},valueAxis:{position:"bottom"}}],container:{gap:200,rowAmount:1,columnAmount:2},separateGrid:!0},allPluginParams:{...i,MultiGroupAxis:{tickPadding:60,gridIndexes:[0]},MultiValueAxis:{gridIndexes:[0,1]},MultiValueStackAxis:{gridIndexes:[0,1]},MultiBars:{gridIndexes:[0,1]},MultiBarStack:{gridIndexes:[0,1]},MultiBarsTriangle:{gridIndexes:[0,1]},MultiLines:{gridIndexes:[0,1]},MultiLineAreas:{gridIndexes:[0,1]},MultiDots:{gridIndexes:[0,1]},MultiGridLegend:{position:"bottom",justify:"center",padding:14}}},Z={name:"PRESET_MULTI_GRID_ROUND_STYLE",description:"MultiGrid圓弧風格",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...i,MultiBars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},MultiBarStack:{},MultiDots:{},MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{listRectRadius:7},{listRectHeight:2}]},MultiGroupAxis:{},MultiLineAreas:{},MultiLines:{lineCurve:"curveMonotoneX",lineWidth:3},MultiValueAxis:{},MultiValueStackAxis:{},OverlappingValueAxes:{},OverlappingValueStackAxes:{}}},X={name:"PRESET_MULTI_GRID_SEPARATE_GRID",description:"2組Grid圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...i,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:"all"},MultiValueAxis:{gridIndexes:"all"},MultiValueStackAxis:{gridIndexes:"all"},MultiBars:{gridIndexes:"all"},MultiBarStack:{gridIndexes:"all"},MultiBarsTriangle:{gridIndexes:"all"},MultiLines:{gridIndexes:"all"},MultiLineAreas:{gridIndexes:"all"},MultiDots:{gridIndexes:"all"},MultiGridLegend:{position:"bottom",justify:"center",padding:14}}},Y={name:"PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",description:"2組區域圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{gridList:[{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}}],separateGrid:!0},allPluginParams:{...i,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:"all"},MultiValueAxis:{gridIndexes:"all"},MultiValueStackAxis:{gridIndexes:"all"},MultiBars:{gridIndexes:"all"},MultiBarStack:{gridIndexes:"all"},MultiBarsTriangle:{gridIndexes:"all"},MultiLines:{gridIndexes:"all"},MultiLineAreas:{gridIndexes:"all"},MultiDots:{gridIndexes:"all"},MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},K={name:"PRESET_MULTI_LINES_SEPARATE_GRID",description:"多組分開折線圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...i,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:"all"},MultiValueAxis:{gridIndexes:"all"},MultiValueStackAxis:{gridIndexes:"all"},MultiBars:{gridIndexes:"all"},MultiBarStack:{gridIndexes:"all"},MultiBarsTriangle:{gridIndexes:"all"},MultiLines:{gridIndexes:"all"},MultiLineAreas:{gridIndexes:"all"},MultiDots:{gridIndexes:"all"},MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},w={name:"PRESET_TREE_BASIC",description:"基本Tree參數",chartParams:{padding:{top:40,right:40,bottom:60,left:40}},allPluginParams:{...i,TreeMap:{},TreeLegend:{position:"bottom",justify:"center",padding:14}}};t.PRESET_BARS_HORIZONTAL_AND_ROUND=T,t.PRESET_BARS_HORIZONTAL_AND_THIN=c,t.PRESET_BARS_ROUND=L,t.PRESET_BARS_THIN=p,t.PRESET_BUBBLES_SCALING_BY_RADIUS=A,t.PRESET_BUBBLES_SEPARATE_SERIES=P,t.PRESET_GRID_BASIC=m,t.PRESET_GRID_HORIZONTAL=h,t.PRESET_GRID_PN_SCALE=G,t.PRESET_GRID_ROTATE_AXIS_LABEL=b,t.PRESET_GRID_SEPARATE_SERIES=N,t.PRESET_LINES_BASIC=U,t.PRESET_LINES_CURVE=v,t.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=C,t.PRESET_LINES_HORIZONTAL=V,t.PRESET_LINES_LOOSE_TICKS=y,t.PRESET_LINES_ROTATE_AXIS_LABEL=F,t.PRESET_LINES_WITH_SOLID_DOTS=j,t.PRESET_LINE_AREAS_BASIC=x,t.PRESET_LINE_AREAS_CURVE=D,t.PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS=M,t.PRESET_LINE_AREAS_HORIZONTAL=B,t.PRESET_LINE_AREAS_LOOSE_TICKS=O,t.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=H,t.PRESET_LINE_AREAS_SEPARATE_SERIES=f,t.PRESET_MULTI_GRID_BASIC=k,t.PRESET_MULTI_GRID_DIVERGING=W,t.PRESET_MULTI_GRID_ROUND_STYLE=Z,t.PRESET_MULTI_GRID_SEPARATE_GRID=X,t.PRESET_MULTI_LINES_SEPARATE_GRID=K,t.PRESET_MULTI_LINE_AREAS_SEPARATE_GRID=Y,t.PRESET_PIE_BASIC=o,t.PRESET_PIE_DONUT=n,t.PRESET_PIE_HALF_DONUT=E,t.PRESET_PIE_WITH_INNER_LABELS=l,t.PRESET_ROSE_BASIC=d,t.PRESET_ROSE_SCALING_BY_RADIUS=S,t.PRESET_SERIES_BASIC=I,t.PRESET_SERIES_SEPARATE_SERIES=R,t.PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES=_,t.PRESET_SERIES_SUM_SERIES=g,t.PRESET_TREE_BASIC=w,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetBarsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_BARS_HORIZONTAL_AND_ROUND: PresetPartial<'grid', PresetBarsParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetBarsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_BARS_HORIZONTAL_AND_THIN: PresetPartial<'grid', PresetBarsParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetBarsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_BARS_ROUND: PresetPartial<'grid', PresetBarsParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetBarsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_BARS_THIN: PresetPartial<'grid', PresetBarsParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINES_BASIC: PresetPartial<'grid', PresetLinesParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINES_CURVE: PresetPartial<'grid', PresetLinesParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINES_HIGHLIGHT_GROUP_DOTS: PresetPartial<'grid', PresetLinesParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINES_HORIZONTAL: PresetPartial<'grid', PresetLinesParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINES_LOOSE_TICKS: PresetPartial<'grid', PresetLinesParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINES_ROTATE_AXIS_LABEL: PresetPartial<'grid', PresetLinesParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINES_WITH_SOLID_DOTS: PresetPartial<'grid', PresetLinesParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetLineAreasParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINE_AREAS_BASIC: PresetPartial<'grid', PresetLinesParams & PresetLineAreasParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetLineAreasParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINE_AREAS_CURVE: PresetPartial<'grid', PresetLinesParams & PresetLineAreasParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetLineAreasParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS: PresetPartial<'grid', PresetLinesParams & PresetLineAreasParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetLineAreasParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINE_AREAS_HORIZONTAL: PresetPartial<'grid', PresetLinesParams & PresetLineAreasParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetLineAreasParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINE_AREAS_LOOSE_TICKS: PresetPartial<'grid', PresetLinesParams & PresetLineAreasParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetLineAreasParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINE_AREAS_ROTATE_AXIS_LABEL: PresetPartial<'grid', PresetLinesParams & PresetLineAreasParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetLinesParams, PresetLineAreasParams, PresetDotsParams, PresetGroupAxisParams, PresetValueAxisParams, PresetGroupAuxParams, PresetGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_LINE_AREAS_SEPARATE_SERIES: PresetPartial<'grid', PresetLinesParams & PresetLineAreasParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export { PRESET_BARS_HORIZONTAL_AND_ROUND } from './PRESET_BARS_HORIZONTAL_AND_ROUND';
|
2
|
+
export { PRESET_BARS_HORIZONTAL_AND_THIN } from './PRESET_BARS_HORIZONTAL_AND_THIN';
|
3
|
+
export { PRESET_BARS_ROUND } from './PRESET_BARS_ROUND';
|
4
|
+
export { PRESET_BARS_THIN } from './PRESET_BARS_THIN';
|
5
|
+
export { PRESET_GRID_BASIC } from './PRESET_GRID_BASIC';
|
6
|
+
export { PRESET_GRID_HORIZONTAL } from './PRESET_GRID_HORIZONTAL';
|
7
|
+
export { PRESET_GRID_PN_SCALE } from './PRESET_GRID_PN_SCALE';
|
8
|
+
export { PRESET_GRID_ROTATE_AXIS_LABEL } from './PRESET_GRID_ROTATE_AXIS_LABEL';
|
9
|
+
export { PRESET_GRID_SEPARATE_SERIES } from './PRESET_GRID_SEPARATE_SERIES';
|
10
|
+
export { PRESET_LINE_AREAS_BASIC } from './PRESET_LINE_AREAS_BASIC';
|
11
|
+
export { PRESET_LINE_AREAS_CURVE } from './PRESET_LINE_AREAS_CURVE';
|
12
|
+
export { PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS } from './PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS';
|
13
|
+
export { PRESET_LINE_AREAS_HORIZONTAL } from './PRESET_LINE_AREAS_HORIZONTAL';
|
14
|
+
export { PRESET_LINE_AREAS_LOOSE_TICKS } from './PRESET_LINE_AREAS_LOOSE_TICKS';
|
15
|
+
export { PRESET_LINE_AREAS_ROTATE_AXIS_LABEL } from './PRESET_LINE_AREAS_ROTATE_AXIS_LABEL';
|
16
|
+
export { PRESET_LINE_AREAS_SEPARATE_SERIES } from './PRESET_LINE_AREAS_SEPARATE_SERIES';
|
17
|
+
export { PRESET_LINES_BASIC } from './PRESET_LINES_BASIC';
|
18
|
+
export { PRESET_LINES_CURVE } from './PRESET_LINES_CURVE';
|
19
|
+
export { PRESET_LINES_HIGHLIGHT_GROUP_DOTS } from './PRESET_LINES_HIGHLIGHT_GROUP_DOTS';
|
20
|
+
export { PRESET_LINES_HORIZONTAL } from './PRESET_LINES_HORIZONTAL';
|
21
|
+
export { PRESET_LINES_LOOSE_TICKS } from './PRESET_LINES_LOOSE_TICKS';
|
22
|
+
export { PRESET_LINES_ROTATE_AXIS_LABEL } from './PRESET_LINES_ROTATE_AXIS_LABEL';
|
23
|
+
export { PRESET_LINES_WITH_SOLID_DOTS } from './PRESET_LINES_WITH_SOLID_DOTS';
|
package/dist/src/index.d.ts
CHANGED
@@ -1,18 +1,4 @@
|
|
1
|
-
export
|
2
|
-
export
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export declare const PRESET_PIE_HALF_DONUT: import('@orbcharts/core').PresetPartial<"series">;
|
6
|
-
export declare const PRESET_GRID_BASIC: import('@orbcharts/core').PresetPartial<"grid">;
|
7
|
-
export declare const PRESET_GRID_ROTATE_AXIS_LABEL: import('@orbcharts/core').PresetPartial<"grid">;
|
8
|
-
export declare const PRESET_GRID_HORIZONTAL: import('@orbcharts/core').PresetPartial<"grid">;
|
9
|
-
export declare const PRESET_BARS_ROUND: import('@orbcharts/core').PresetPartial<"grid">;
|
10
|
-
export declare const PRESET_BARS_HORIZONTAL_AND_ROUND: import('@orbcharts/core').PresetPartial<"grid">;
|
11
|
-
export declare const PRESET_BARS_THIN: import('@orbcharts/core').PresetPartial<"grid">;
|
12
|
-
export declare const PRESET_BARS_HORIZONTAL_AND_THIN: import('@orbcharts/core').PresetPartial<"grid">;
|
13
|
-
export declare const PRESET_LINES_BASIC: import('@orbcharts/core').PresetPartial<"grid">;
|
14
|
-
export declare const PRESET_LINES_ROTATE_AXIS_LABEL: import('@orbcharts/core').PresetPartial<"grid">;
|
15
|
-
export declare const PRESET_LINES_HORIZONTAL: import('@orbcharts/core').PresetPartial<"grid">;
|
16
|
-
export declare const PRESET_LINES_CURVE: import('@orbcharts/core').PresetPartial<"grid">;
|
17
|
-
export declare const PRESET_LINES_HIGHLIGHT_GROUP_DOTS: import('@orbcharts/core').PresetPartial<"grid">;
|
18
|
-
export declare const PRESET_MULTI_GRID_BASIC: import('@orbcharts/core').PresetPartial<"multiGrid">;
|
1
|
+
export * from './series';
|
2
|
+
export * from './grid';
|
3
|
+
export * from './multiGrid';
|
4
|
+
export * from './tree';
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetMultiGridSepratedPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_MULTI_GRID_DIVERGING: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetMultiGridPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
type PresetMultiGridRoundPluginParams = Omit<PresetMultiGridPluginParams, 'MultiBarsTriangle'>;
|
5
|
+
export declare const PRESET_MULTI_GRID_ROUND_STYLE: PresetPartial<'multiGrid', PresetMultiGridRoundPluginParams & PresetNoneDataPluginParams>;
|
6
|
+
export {};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetMultiGridSepratedPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_MULTI_GRID_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetMultiGroupAxisParams, PresetMultiValueAxisParams, PresetMultiValueStackAxisParams, PresetMultiBarsParams, PresetMultiBarStackParams, PresetMultiBarsTriangleParams, PresetMultiLinesParams, PresetMultiLineAreasParams, PresetMultiDotsParams, PresetMultiGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_MULTI_LINES_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGroupAxisParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiLinesParams & PresetMultiLineAreasParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetMultiGroupAxisParams, PresetMultiValueAxisParams, PresetMultiValueStackAxisParams, PresetMultiBarsParams, PresetMultiBarStackParams, PresetMultiBarsTriangleParams, PresetMultiLinesParams, PresetMultiLineAreasParams, PresetMultiDotsParams, PresetMultiGridLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_MULTI_LINE_AREAS_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGroupAxisParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiLinesParams & PresetMultiLineAreasParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { PRESET_MULTI_GRID_BASIC } from './PRESET_MULTI_GRID_BASIC';
|
2
|
+
export { PRESET_MULTI_GRID_DIVERGING } from './PRESET_MULTI_GRID_DIVERGING';
|
3
|
+
export { PRESET_MULTI_GRID_ROUND_STYLE } from './PRESET_MULTI_GRID_ROUND_STYLE';
|
4
|
+
export { PRESET_MULTI_GRID_SEPARATE_GRID } from './PRESET_MULTI_GRID_SEPARATE_GRID';
|
5
|
+
export { PRESET_MULTI_LINE_AREAS_SEPARATE_GRID } from './PRESET_MULTI_LINE_AREAS_SEPARATE_GRID';
|
6
|
+
export { PRESET_MULTI_LINES_SEPARATE_GRID } from './PRESET_MULTI_LINES_SEPARATE_GRID';
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { PresetSeriesPluginParams, PresetGridPluginParams, PresetMultiGridPluginParams, PresetTreePluginParams, PresetNoneDataPluginParams } from './types';
|
2
|
+
|
3
|
+
export declare const ALL_PLUGIN_PARAMS_SERIES: PresetSeriesPluginParams;
|
4
|
+
export declare const ALL_PLUGIN_PARAMS_GRID: PresetGridPluginParams;
|
5
|
+
export declare const ALL_PLUGIN_PARAMS_MULTI_GRID: PresetMultiGridPluginParams;
|
6
|
+
export declare const ALL_PLUGIN_PARAMS_TREE: PresetTreePluginParams;
|
7
|
+
export declare const ALL_PLUGIN_PARAMS_NONE_DATA: PresetNoneDataPluginParams;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetBubblesParams, PresetSeriesLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_BUBBLES_SCALING_BY_RADIUS: PresetPartial<'series', PresetBubblesParams & PresetSeriesLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetBubblesParams, PresetSeriesLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_BUBBLES_SEPARATE_SERIES: PresetPartial<'series', PresetBubblesParams & PresetSeriesLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetPieParams, PresetPieLabelsParams, PresetPieEventTextsParams, PresetSeriesLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_PIE_DONUT: PresetPartial<'series', PresetPieParams & PresetPieLabelsParams & PresetPieEventTextsParams & PresetSeriesLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetPieParams, PresetPieLabelsParams, PresetPieEventTextsParams, PresetSeriesLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_PIE_HALF_DONUT: PresetPartial<'series', PresetPieParams & PresetPieLabelsParams & PresetPieEventTextsParams & PresetSeriesLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetPieParams, PresetPieLabelsParams, PresetPieEventTextsParams, PresetSeriesLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_PIE_WITH_INNER_LABELS: PresetPartial<'series', PresetPieParams & PresetPieLabelsParams & PresetPieEventTextsParams & PresetSeriesLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetRoseParams, PresetRoseLabelsParams, PresetSeriesLegendParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_ROSE_SCALING_BY_RADIUS: PresetPartial<'series', PresetRoseParams & PresetRoseLabelsParams & PresetSeriesLegendParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetSeriesPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES: PresetPartial<'series', PresetSeriesPluginParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export { PRESET_BUBBLES_SCALING_BY_RADIUS } from './PRESET_BUBBLES_SCALING_BY_RADIUS';
|
2
|
+
export { PRESET_BUBBLES_SEPARATE_SERIES } from './PRESET_BUBBLES_SEPARATE_SERIES';
|
3
|
+
export { PRESET_PIE_BASIC } from './PRESET_PIE_BASIC';
|
4
|
+
export { PRESET_PIE_DONUT } from './PRESET_PIE_DONUT';
|
5
|
+
export { PRESET_PIE_HALF_DONUT } from './PRESET_PIE_HALF_DONUT';
|
6
|
+
export { PRESET_PIE_WITH_INNER_LABELS } from './PRESET_PIE_WITH_INNER_LABELS';
|
7
|
+
export { PRESET_ROSE_BASIC } from './PRESET_ROSE_BASIC';
|
8
|
+
export { PRESET_ROSE_SCALING_BY_RADIUS } from './PRESET_ROSE_SCALING_BY_RADIUS';
|
9
|
+
export { PRESET_SERIES_BASIC } from './PRESET_SERIES_BASIC';
|
10
|
+
export { PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES } from './PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES';
|
11
|
+
export { PRESET_SERIES_SEPARATE_SERIES } from './PRESET_SERIES_SEPARATE_SERIES';
|
12
|
+
export { PRESET_SERIES_SUM_SERIES } from './PRESET_SERIES_SUM_SERIES';
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetTreeLegendParams, PresetTreeMapParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_TREE_BASIC: PresetPartial<'tree', PresetTreeLegendParams & PresetTreeMapParams & PresetNoneDataPluginParams>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PRESET_TREE_BASIC } from './PRESET_TREE_BASIC';
|
package/dist/src/types.d.ts
CHANGED
@@ -1,39 +1,118 @@
|
|
1
|
-
import {
|
1
|
+
import { BubblesParams, PieParams, PieEventTextsParams, PieLabelsParams, RoseParams, RoseLabelsParams, SeriesLegendParams, BarsParams, BarsPNParams, BarStackParams, BarsTriangleParams, DotsParams, GridLegendParams, GroupAuxParams, GroupAxisParams, LineAreasParams, LinesParams, ScalingAreaParams, ValueAxisParams, ValueStackAxisParams, MultiBarsParams, MultiBarStackParams, MultiBarsTriangleParams, MultiDotsParams, MultiGridLegendParams, MultiGroupAxisParams, MultiLineAreasParams, MultiLinesParams, MultiValueAxisParams, MultiValueStackAxisParams, OverlappingValueAxesParams, OverlappingValueStackAxesParams, TreeLegendParams, TreeMapParams, TooltipParams } from '@orbcharts/plugins-basic';
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
import * as multiGridPluginParams from './multiGridPluginParamsFiles';
|
10
|
-
import * as multiValueDataFormatters from './multiValueDataFormatterFiles';
|
11
|
-
import * as multiValuePluginParams from './multiValuePluginParamsFiles';
|
12
|
-
import * as relationshipDataFormatters from './relationshipDataFormatterFiles';
|
13
|
-
import * as relationshipPluginParams from './relationshipPluginParamsFiles';
|
14
|
-
import * as treeDataFormatters from './treeDataFormatterFiles';
|
15
|
-
import * as treePluginParams from './treePluginParamsFiles';
|
16
|
-
export interface ChartParamsFile {
|
17
|
-
id: string;
|
18
|
-
description: string;
|
19
|
-
data: ChartParamsPartial;
|
20
|
-
}
|
21
|
-
export interface DataFormatterFile<T extends ChartType> {
|
22
|
-
id: string;
|
23
|
-
chartType: T;
|
24
|
-
description: string;
|
25
|
-
data: DataFormatterPartialTypeMap<T>;
|
26
|
-
}
|
27
|
-
export interface PluginParamsFile<PluginParams> {
|
28
|
-
id: string;
|
29
|
-
chartType: ChartType;
|
30
|
-
pluginName: string;
|
31
|
-
description: string;
|
32
|
-
data: Partial<PluginParams>;
|
33
|
-
}
|
34
|
-
export interface PresetFile<T extends ChartType> {
|
35
|
-
chartParamsId?: keyof typeof chartParams;
|
36
|
-
dataFormatterId?: T extends 'series' ? keyof typeof seriesDataFormatters : T extends 'grid' ? keyof typeof gridDataFormatters : T extends 'multiGrid' ? keyof typeof multiGridDataFormatters : T extends 'multiValue' ? keyof typeof multiValueDataFormatters : T extends 'relationship' ? keyof typeof relationshipDataFormatters : T extends 'tree' ? keyof typeof treeDataFormatters : undefined;
|
37
|
-
allPluginParamsIds?: T extends 'series' ? (keyof typeof seriesPluginParams)[] : T extends 'grid' ? (keyof typeof gridPluginParams)[] : T extends 'multiGrid' ? (keyof typeof multiGridPluginParams)[] : T extends 'multiValue' ? (keyof typeof multiValuePluginParams)[] : T extends 'relationship' ? (keyof typeof relationshipPluginParams)[] : T extends 'tree' ? (keyof typeof treePluginParams)[] : undefined;
|
38
|
-
description: string;
|
3
|
+
type DeepPartial<T> = Partial<{
|
4
|
+
[P in keyof T]: DeepPartial<T[P]>;
|
5
|
+
}>;
|
6
|
+
export type PresetSeriesPluginParams = PresetBubblesParams & PresetPieParams & PresetPieEventTextsParams & PresetPieLabelsParams & PresetRoseParams & PresetRoseLabelsParams & PresetSeriesLegendParams;
|
7
|
+
export interface PresetBubblesParams {
|
8
|
+
Bubbles: Partial<BubblesParams>;
|
39
9
|
}
|
10
|
+
export interface PresetPieParams {
|
11
|
+
Pie: Partial<PieParams>;
|
12
|
+
}
|
13
|
+
export interface PresetPieEventTextsParams {
|
14
|
+
PieEventTexts: Partial<PieEventTextsParams>;
|
15
|
+
}
|
16
|
+
export interface PresetPieLabelsParams {
|
17
|
+
PieLabels: Partial<PieLabelsParams>;
|
18
|
+
}
|
19
|
+
export interface PresetRoseParams {
|
20
|
+
Rose: Partial<RoseParams>;
|
21
|
+
}
|
22
|
+
export interface PresetRoseLabelsParams {
|
23
|
+
RoseLabels: Partial<RoseLabelsParams>;
|
24
|
+
}
|
25
|
+
export interface PresetSeriesLegendParams {
|
26
|
+
SeriesLegend: Partial<SeriesLegendParams>;
|
27
|
+
}
|
28
|
+
export type PresetGridPluginParams = PresetBarsParams & PresetBarsPNParams & PresetBarStackParams & PresetBarsTriangleParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAuxParams & PresetGroupAxisParams & PresetLineAreasParams & PresetLinesParams & PresetScalingAreaParams & PresetValueAxisParams & PresetValueStackAxisParams;
|
29
|
+
export interface PresetBarsParams {
|
30
|
+
Bars: Partial<BarsParams>;
|
31
|
+
}
|
32
|
+
export interface PresetBarsPNParams {
|
33
|
+
BarsPN: Partial<BarsPNParams>;
|
34
|
+
}
|
35
|
+
export interface PresetBarStackParams {
|
36
|
+
BarStack: Partial<BarStackParams>;
|
37
|
+
}
|
38
|
+
export interface PresetBarsTriangleParams {
|
39
|
+
BarsTriangle: Partial<BarsTriangleParams>;
|
40
|
+
}
|
41
|
+
export interface PresetDotsParams {
|
42
|
+
Dots: Partial<DotsParams>;
|
43
|
+
}
|
44
|
+
export interface PresetGridLegendParams {
|
45
|
+
GridLegend: Partial<GridLegendParams>;
|
46
|
+
}
|
47
|
+
export interface PresetGroupAuxParams {
|
48
|
+
GroupAux: Partial<GroupAuxParams>;
|
49
|
+
}
|
50
|
+
export interface PresetGroupAxisParams {
|
51
|
+
GroupAxis: Partial<GroupAxisParams>;
|
52
|
+
}
|
53
|
+
export interface PresetLineAreasParams {
|
54
|
+
LineAreas: Partial<LineAreasParams>;
|
55
|
+
}
|
56
|
+
export interface PresetLinesParams {
|
57
|
+
Lines: Partial<LinesParams>;
|
58
|
+
}
|
59
|
+
export interface PresetScalingAreaParams {
|
60
|
+
ScalingArea: Partial<ScalingAreaParams>;
|
61
|
+
}
|
62
|
+
export interface PresetValueAxisParams {
|
63
|
+
ValueAxis: Partial<ValueAxisParams>;
|
64
|
+
}
|
65
|
+
export interface PresetValueStackAxisParams {
|
66
|
+
ValueStackAxis: Partial<ValueStackAxisParams>;
|
67
|
+
}
|
68
|
+
export type PresetMultiGridPluginParams = PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetMultiGroupAxisParams & PresetMultiLineAreasParams & PresetMultiLinesParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetOverlappingValueAxesParams & PresetOverlappingValueStackAxesParams;
|
69
|
+
export type PresetMultiGridSepratedPluginParams = Omit<PresetMultiGridPluginParams, 'OverlappingValueAxes' | 'OverlappingValueStackAxes'>;
|
70
|
+
export type PresetMultiGridOverlappedPluginParams = Omit<PresetMultiGridPluginParams, 'PresetMultiGroupAxisParams' | 'PresetMultiValueAxisParams'>;
|
71
|
+
export interface PresetMultiBarsParams {
|
72
|
+
MultiBars: Partial<MultiBarsParams>;
|
73
|
+
}
|
74
|
+
export interface PresetMultiBarStackParams {
|
75
|
+
MultiBarStack: Partial<MultiBarStackParams>;
|
76
|
+
}
|
77
|
+
export interface PresetMultiBarsTriangleParams {
|
78
|
+
MultiBarsTriangle: Partial<MultiBarsTriangleParams>;
|
79
|
+
}
|
80
|
+
export interface PresetMultiDotsParams {
|
81
|
+
MultiDots: Partial<MultiDotsParams>;
|
82
|
+
}
|
83
|
+
export interface PresetMultiGridLegendParams {
|
84
|
+
MultiGridLegend: DeepPartial<MultiGridLegendParams>;
|
85
|
+
}
|
86
|
+
export interface PresetMultiGroupAxisParams {
|
87
|
+
MultiGroupAxis: Partial<MultiGroupAxisParams>;
|
88
|
+
}
|
89
|
+
export interface PresetMultiLineAreasParams {
|
90
|
+
MultiLineAreas: Partial<MultiLineAreasParams>;
|
91
|
+
}
|
92
|
+
export interface PresetMultiLinesParams {
|
93
|
+
MultiLines: Partial<MultiLinesParams>;
|
94
|
+
}
|
95
|
+
export interface PresetMultiValueAxisParams {
|
96
|
+
MultiValueAxis: Partial<MultiValueAxisParams>;
|
97
|
+
}
|
98
|
+
export interface PresetMultiValueStackAxisParams {
|
99
|
+
MultiValueStackAxis: Partial<MultiValueStackAxisParams>;
|
100
|
+
}
|
101
|
+
export interface PresetOverlappingValueAxesParams {
|
102
|
+
OverlappingValueAxes: Partial<OverlappingValueAxesParams>;
|
103
|
+
}
|
104
|
+
export interface PresetOverlappingValueStackAxesParams {
|
105
|
+
OverlappingValueStackAxes: Partial<OverlappingValueStackAxesParams>;
|
106
|
+
}
|
107
|
+
export type PresetTreePluginParams = PresetTreeLegendParams & PresetTreeMapParams;
|
108
|
+
export interface PresetTreeLegendParams {
|
109
|
+
TreeLegend: Partial<TreeLegendParams>;
|
110
|
+
}
|
111
|
+
export interface PresetTreeMapParams {
|
112
|
+
TreeMap: Partial<TreeMapParams>;
|
113
|
+
}
|
114
|
+
export type PresetNoneDataPluginParams = PresetTooltipParams;
|
115
|
+
export interface PresetTooltipParams {
|
116
|
+
Tooltip: Partial<TooltipParams>;
|
117
|
+
}
|
118
|
+
export {};
|
package/dist/vite.config.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import('vite').
|
1
|
+
declare const _default: import('vite').UserConfigFnObject;
|
2
2
|
export default _default;
|