@orbcharts/presets-basic 3.0.0-alpha.23 → 3.0.0-alpha.24
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/orbcharts-presets-basic.es.js +224 -616
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/grid/index.d.ts +1 -1
- 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 +4 -10
- package/package.json +3 -3
- package/src/grid/{PRESET_LINE_AREAS_SEPARATE_GRID.ts → PRESET_LINE_AREAS_SEPARATE_SERIES.ts} +2 -2
- package/src/grid/index.ts +1 -1
- package/src/multiGrid/{PRESET_MULTI_GRID_2_GRID_SLOT.ts → PRESET_MULTI_GRID_SEPARATE_GRID.ts} +11 -11
- package/src/multiGrid/{PRESET_MULTI_LINES_2_GRID_SLOT.ts → PRESET_MULTI_LINES_SEPARATE_GRID.ts} +24 -12
- package/src/multiGrid/{PRESET_MULTI_LINE_AREAS_2_GRID_SLOT.ts → PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts} +23 -11
- package/src/multiGrid/index.ts +4 -10
- package/dist/src/grid/PRESET_LINE_AREAS_SEPARATE_GRID.d.ts +0 -4
- package/dist/src/multiGrid/PRESET_MULTI_GRID_2_GRID_SLOT.d.ts +0 -4
- package/dist/src/multiGrid/PRESET_MULTI_GRID_3_GRID_SLOT.d.ts +0 -4
- package/dist/src/multiGrid/PRESET_MULTI_GRID_4_GRID_SLOT.d.ts +0 -4
- package/dist/src/multiGrid/PRESET_MULTI_LINES_2_GRID_SLOT.d.ts +0 -4
- package/dist/src/multiGrid/PRESET_MULTI_LINES_3_GRID_SLOT.d.ts +0 -4
- package/dist/src/multiGrid/PRESET_MULTI_LINES_4_GRID_SLOT.d.ts +0 -4
- package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +0 -4
- package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +0 -4
- package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +0 -4
- package/src/multiGrid/PRESET_MULTI_GRID_3_GRID_SLOT.ts +0 -59
- package/src/multiGrid/PRESET_MULTI_GRID_4_GRID_SLOT.ts +0 -59
- package/src/multiGrid/PRESET_MULTI_LINES_3_GRID_SLOT.ts +0 -91
- package/src/multiGrid/PRESET_MULTI_LINES_4_GRID_SLOT.ts +0 -91
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_3_GRID_SLOT.ts +0 -115
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_4_GRID_SLOT.ts +0 -121
@@ -1 +1 @@
|
|
1
|
-
(function(i,e){typeof exports=="object"&&typeof module<"u"?e(exports):typeof define=="function"&&define.amd?define(["exports"],e):(i=typeof globalThis<"u"?globalThis:i||self,e(i["orbcharts-presets-basic"]={}))})(this,function(i){"use strict";const e={Bubbles:{},Pie:{},PieEventTexts:{},PieLabels:{},Rose:{},RoseLabels:{},SeriesLegend:{}},a={Bars:{},BarsPN:{},BarStack:{},BarsTriangle:{},Dots:{},GridLegend:{},GroupAux:{},GroupAxis:{},LineAreas:{},Lines:{},ScalingArea:{},ValueAxis:{},ValueStackAxis:{}},s={MultiBars:{},MultiBarStack:{},MultiBarsTriangle:{},MultiDots:{},MultiGridLegend:{},MultiGroupAxis:{},MultiLineAreas:{},MultiLines:{},MultiValueAxis:{},MultiValueStackAxis:{},OverlappingValueAxes:{},OverlappingValueStackAxes:{}},t={Tooltip:{}},r={name:"PRESET_BUBBLES_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的泡泡圖",allPluginParams:{...t,Bubbles:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}},n={name:"PRESET_BUBBLES_SEPARATE_SERIES",description:"分開顯示Series泡泡",chartParams:{padding:{top:160,right:160,bottom:160,left:160}},dataFormatter:{separateSeries:!0},allPluginParams:{...t,Bubbles:{},SeriesLegend:{listRectRadius:7}}},d={name:"PRESET_PIE_DONUT",description:"甜甜圈圖",allPluginParams:{...t,Pie:{innerRadius:.5},PieLabels:{},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}},o={name:"PRESET_PIE_HALF_DONUT",description:"半圓甜甜圈圖",chartParams:{padding:{top:120,right:120,bottom:0,left:60}},allPluginParams:{...t,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={name:"PRESET_PIE_WITH_INNER_LABELS",description:"圓餅圖及內部資料標籤",allPluginParams:{...t,Pie:{},PieLabels:{labelCentroid:1.3,labelColorType:"primary"},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}},_={name:"PRESET_ROSE_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的玫瑰圖",allPluginParams:{...t,Rose:{arcScaleType:"radius"},RoseLabels:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}},l={name:"PRESET_SERIES_BASIC",description:"基本Series參數",allPluginParams:{...e,...t,SeriesLegend:{listRectRadius:7}}},g={name:"PRESET_SERIES_DESC",description:"資料由大到小排序",dataFormatter:{sort:(Q,$)=>$.value-Q.value},allPluginParams:{...e,...t}},S={name:"PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",description:"分開顯示Series並合併Series資料",dataFormatter:{separateSeries:!0,sumSeries:!0},allPluginParams:{...e,...t}},R={name:"PRESET_SERIES_SEPARATE_SERIES",description:"分開顯示Series",dataFormatter:{separateSeries:!0},allPluginParams:{...e,...t}},u={name:"PRESET_SERIES_SUM_SERIES",description:"合併Series資料",dataFormatter:{sumSeries:!0},allPluginParams:{...e,...t}},I={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:{...t,Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectRadius:7}}},A={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:{...t,Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14}}},P={name:"PRESET_BARS_ROUND",description:"圓角長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{...t,Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectRadius:7}}},T={name:"PRESET_BARS_THIN",description:"細長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{...t,Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14}}},L={name:"PRESET_GRID_BASIC",description:"基本Grid參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{...a,...t,GridLegend:{position:"bottom",justify:"center",padding:14}}},c={name:"PRESET_GRID_HORIZONTAL",description:"橫向圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160}},dataFormatter:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}},allPluginParams:{...a,...t,GridLegend:{position:"bottom",justify:"center",padding:14}}},p={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:{...a,...t,GridLegend:{position:"bottom",justify:"center",padding:14}}},m={name:"PRESET_GRID_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},allPluginParams:{...a,...t,GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{position:"bottom",justify:"center",padding:14}}},G={name:"PRESET_GRID_SEPARATE_SERIES",description:"分開顯示Series",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{grid:{separateSeries:!0}},allPluginParams:{...a,...t,GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{position:"bottom",justify:"center",padding:14}}},h={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:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},x={name:"PRESET_LINE_AREAS_CURVE",description:"弧線折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},dataFormatter:{grid:{groupAxis:{scalePadding:0}}},allPluginParams:{...t,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:{...t,Lines:{lineWidth:3},LineAreas:{},Dots:{onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},D={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:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},N={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:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},O={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:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},b={name:"PRESET_LINE_AREAS_SEPARATE_GRID",description:"LineAreas 分開顯示Series",chartParams:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"},dataFormatter:{grid:{separateSeries:!0,groupAxis:{scalePadding:0}}},allPluginParams:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},B={name:"PRESET_LINES_BASIC",description:"基本Lines參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},f={name:"PRESET_LINES_CURVE",description:"弧線折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{lineCurve:"curveMonotoneX",lineWidth:3},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},H={name:"PRESET_LINES_HIGHLIGHT_GROUP_DOTS",description:"折線圖及Highlight Group圓點",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"},allPluginParams:{...t,Lines:{},Dots:{onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},U={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:{...t,Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},V={name:"PRESET_LINES_LOOSE_TICKS",description:"寬鬆標籤",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},k={name:"PRESET_LINES_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},y={name:"PRESET_LINES_WITH_SOLID_DOTS",description:"折線圖及實心圓點",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{},Dots:{radius:3,fillColorType:"series",onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},C={name:"PRESET_MULTI_GRID_DIVERGING",description:"雙向折線圖",chartParams:{padding:{top:60,right:60,bottom:160,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:{...t,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}}},j={name:"PRESET_MULTI_GRID_2_GRID_SLOT",description:"2組Grid圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...t,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:[0,1]},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}}},F={name:"PRESET_MULTI_GRID_3_GRID_SLOT",description:"3組Grid圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...t,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:[0,1,2]},MultiValueAxis:{gridIndexes:[0,1,2]},MultiValueStackAxis:{gridIndexes:[0,1,2]},MultiBars:{gridIndexes:[0,1,2]},MultiBarStack:{gridIndexes:[0,1,2]},MultiBarsTriangle:{gridIndexes:[0,1,2]},MultiLines:{gridIndexes:[0,1,2]},MultiLineAreas:{gridIndexes:[0,1,2]},MultiDots:{gridIndexes:[0,1,2]},MultiGridLegend:{position:"bottom",justify:"center",padding:14}}},v={name:"PRESET_MULTI_GRID_4_GRID_SLOT",description:"4組Grid圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...t,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:[0,1,2,3]},MultiValueAxis:{gridIndexes:[0,1,2,3]},MultiValueStackAxis:{gridIndexes:[0,1,2,3]},MultiBars:{gridIndexes:[0,1,2,3]},MultiBarStack:{gridIndexes:[0,1,2,3]},MultiBarsTriangle:{gridIndexes:[0,1,2,3]},MultiLines:{gridIndexes:[0,1,2,3]},MultiLineAreas:{gridIndexes:[0,1,2,3]},MultiDots:{gridIndexes:[0,1,2,3]},MultiGridLegend:{position:"bottom",justify:"center",padding:14}}},W={name:"PRESET_MULTI_GRID_BASIC",description:"基本MultiGrid參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...s,...t,MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{},{listRectHeight:2}]}}},Z={name:"PRESET_MULTI_GRID_ROUND_STYLE",description:"MultiGrid圓弧風格",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,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_LINE_AREAS_2_GRID_SLOT",description:"2組區域圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{gridList:[{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}}],separateGrid:!0},allPluginParams:{...t,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:[0,1]},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,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},Y={name:"PRESET_MULTI_LINE_AREAS_3_GRID_SLOT",description:"3組區域圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{gridList:[{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}}],separateGrid:!0},allPluginParams:{...t,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:[0,1,2]},MultiValueAxis:{gridIndexes:[0,1,2]},MultiValueStackAxis:{gridIndexes:[0,1,2]},MultiBars:{gridIndexes:[0,1,2]},MultiBarStack:{gridIndexes:[0,1,2]},MultiBarsTriangle:{gridIndexes:[0,1,2]},MultiLines:{gridIndexes:[0,1,2]},MultiLineAreas:{gridIndexes:[0,1,2]},MultiDots:{gridIndexes:[0,1,2]},MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},K={name:"PRESET_MULTI_LINE_AREAS_4_GRID_SLOT",description:"4組區域圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{gridList:[{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}}],separateGrid:!0},allPluginParams:{...t,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:[0,1,2,3]},MultiValueAxis:{gridIndexes:[0,1,2,3]},MultiValueStackAxis:{gridIndexes:[0,1,2,3]},MultiBars:{gridIndexes:[0,1,2,3]},MultiBarStack:{gridIndexes:[0,1,2,3]},MultiBarsTriangle:{gridIndexes:[0,1,2,3]},MultiLines:{gridIndexes:[0,1,2,3]},MultiLineAreas:{gridIndexes:[0,1,2,3]},MultiDots:{gridIndexes:[0,1,2,3]},MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},w={name:"PRESET_MULTI_LINES_2_GRID_SLOT",description:"2組折線圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...t,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:[0,1]},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,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},q={name:"PRESET_MULTI_LINES_3_GRID_SLOT",description:"3組折線圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...t,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:[0,1,2]},MultiValueAxis:{gridIndexes:[0,1,2]},MultiValueStackAxis:{gridIndexes:[0,1,2]},MultiBars:{gridIndexes:[0,1,2]},MultiBarStack:{gridIndexes:[0,1,2]},MultiBarsTriangle:{gridIndexes:[0,1,2]},MultiLines:{gridIndexes:[0,1,2]},MultiLineAreas:{gridIndexes:[0,1,2]},MultiDots:{gridIndexes:[0,1,2]},MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},z={name:"PRESET_MULTI_LINES_4_GRID_SLOT",description:"4組折線圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...t,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:[0,1,2,3]},MultiValueAxis:{gridIndexes:[0,1,2,3]},MultiValueStackAxis:{gridIndexes:[0,1,2,3]},MultiBars:{gridIndexes:[0,1,2,3]},MultiBarStack:{gridIndexes:[0,1,2,3]},MultiBarsTriangle:{gridIndexes:[0,1,2,3]},MultiLines:{gridIndexes:[0,1,2,3]},MultiLineAreas:{gridIndexes:[0,1,2,3]},MultiDots:{gridIndexes:[0,1,2,3]},MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},J={name:"PRESET_TREE_BASIC",description:"基本Tree參數",chartParams:{padding:{top:40,right:40,bottom:60,left:40}},allPluginParams:{...t,TreeMap:{},TreeLegend:{position:"bottom",justify:"center",padding:14}}};i.PRESET_BARS_HORIZONTAL_AND_ROUND=I,i.PRESET_BARS_HORIZONTAL_AND_THIN=A,i.PRESET_BARS_ROUND=P,i.PRESET_BARS_THIN=T,i.PRESET_BUBBLES_SCALING_BY_RADIUS=r,i.PRESET_BUBBLES_SEPARATE_SERIES=n,i.PRESET_GRID_BASIC=L,i.PRESET_GRID_HORIZONTAL=c,i.PRESET_GRID_PN_SCALE=p,i.PRESET_GRID_ROTATE_AXIS_LABEL=m,i.PRESET_GRID_SEPARATE_SERIES=G,i.PRESET_LINES_BASIC=B,i.PRESET_LINES_CURVE=f,i.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=H,i.PRESET_LINES_HORIZONTAL=U,i.PRESET_LINES_LOOSE_TICKS=V,i.PRESET_LINES_ROTATE_AXIS_LABEL=k,i.PRESET_LINES_WITH_SOLID_DOTS=y,i.PRESET_LINE_AREAS_BASIC=h,i.PRESET_LINE_AREAS_CURVE=x,i.PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS=M,i.PRESET_LINE_AREAS_HORIZONTAL=D,i.PRESET_LINE_AREAS_LOOSE_TICKS=N,i.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=O,i.PRESET_LINE_AREAS_SEPARATE_GRID=b,i.PRESET_MULTI_GRID_2_GRID_SLOT=j,i.PRESET_MULTI_GRID_3_GRID_SLOT=F,i.PRESET_MULTI_GRID_4_GRID_SLOT=v,i.PRESET_MULTI_GRID_BASIC=W,i.PRESET_MULTI_GRID_DIVERGING=C,i.PRESET_MULTI_GRID_ROUND_STYLE=Z,i.PRESET_MULTI_LINES_2_GRID_SLOT=w,i.PRESET_MULTI_LINES_3_GRID_SLOT=q,i.PRESET_MULTI_LINES_4_GRID_SLOT=z,i.PRESET_MULTI_LINE_AREAS_2_GRID_SLOT=X,i.PRESET_MULTI_LINE_AREAS_3_GRID_SLOT=Y,i.PRESET_MULTI_LINE_AREAS_4_GRID_SLOT=K,i.PRESET_PIE_DONUT=d,i.PRESET_PIE_HALF_DONUT=o,i.PRESET_PIE_WITH_INNER_LABELS=E,i.PRESET_ROSE_SCALING_BY_RADIUS=_,i.PRESET_SERIES_BASIC=l,i.PRESET_SERIES_DESC=g,i.PRESET_SERIES_SEPARATE_SERIES=R,i.PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES=S,i.PRESET_SERIES_SUM_SERIES=u,i.PRESET_TREE_BASIC=J,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});
|
1
|
+
(function(i,e){typeof exports=="object"&&typeof module<"u"?e(exports):typeof define=="function"&&define.amd?define(["exports"],e):(i=typeof globalThis<"u"?globalThis:i||self,e(i["orbcharts-presets-basic"]={}))})(this,function(i){"use strict";const e={Bubbles:{},Pie:{},PieEventTexts:{},PieLabels:{},Rose:{},RoseLabels:{},SeriesLegend:{}},a={Bars:{},BarsPN:{},BarStack:{},BarsTriangle:{},Dots:{},GridLegend:{},GroupAux:{},GroupAxis:{},LineAreas:{},Lines:{},ScalingArea:{},ValueAxis:{},ValueStackAxis:{}},s={MultiBars:{},MultiBarStack:{},MultiBarsTriangle:{},MultiDots:{},MultiGridLegend:{},MultiGroupAxis:{},MultiLineAreas:{},MultiLines:{},MultiValueAxis:{},MultiValueStackAxis:{},OverlappingValueAxes:{},OverlappingValueStackAxes:{}},t={Tooltip:{}},r={name:"PRESET_BUBBLES_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的泡泡圖",allPluginParams:{...t,Bubbles:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}},E={name:"PRESET_BUBBLES_SEPARATE_SERIES",description:"分開顯示Series泡泡",chartParams:{padding:{top:160,right:160,bottom:160,left:160}},dataFormatter:{separateSeries:!0},allPluginParams:{...t,Bubbles:{},SeriesLegend:{listRectRadius:7}}},n={name:"PRESET_PIE_DONUT",description:"甜甜圈圖",allPluginParams:{...t,Pie:{innerRadius:.5},PieLabels:{},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}},o={name:"PRESET_PIE_HALF_DONUT",description:"半圓甜甜圈圖",chartParams:{padding:{top:120,right:120,bottom:0,left:60}},allPluginParams:{...t,Pie:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2},PieLabels:{startAngle:-Math.PI/2,endAngle:Math.PI/2},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}},l={name:"PRESET_PIE_WITH_INNER_LABELS",description:"圓餅圖及內部資料標籤",allPluginParams:{...t,Pie:{},PieLabels:{labelCentroid:1.3,labelColorType:"primary"},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}},d={name:"PRESET_ROSE_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的玫瑰圖",allPluginParams:{...t,Rose:{arcScaleType:"radius"},RoseLabels:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}},S={name:"PRESET_SERIES_BASIC",description:"基本Series參數",allPluginParams:{...e,...t,SeriesLegend:{listRectRadius:7}}},_={name:"PRESET_SERIES_DESC",description:"資料由大到小排序",dataFormatter:{sort:(Y,K)=>K.value-Y.value},allPluginParams:{...e,...t}},R={name:"PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",description:"分開顯示Series並合併Series資料",dataFormatter:{separateSeries:!0,sumSeries:!0},allPluginParams:{...e,...t}},g={name:"PRESET_SERIES_SEPARATE_SERIES",description:"分開顯示Series",dataFormatter:{separateSeries:!0},allPluginParams:{...e,...t}},A={name:"PRESET_SERIES_SUM_SERIES",description:"合併Series資料",dataFormatter:{sumSeries:!0},allPluginParams:{...e,...t}},P={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:{...t,Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectRadius:7}}},u={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:{...t,Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14}}},I={name:"PRESET_BARS_ROUND",description:"圓角長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{...t,Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectRadius:7}}},T={name:"PRESET_BARS_THIN",description:"細長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{...t,Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14}}},c={name:"PRESET_GRID_BASIC",description:"基本Grid參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{...a,...t,GridLegend:{position:"bottom",justify:"center",padding:14}}},L={name:"PRESET_GRID_HORIZONTAL",description:"橫向圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160}},dataFormatter:{grid:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}},allPluginParams:{...a,...t,GridLegend:{position:"bottom",justify:"center",padding:14}}},p={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:{...a,...t,GridLegend:{position:"bottom",justify:"center",padding:14}}},m={name:"PRESET_GRID_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},allPluginParams:{...a,...t,GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{position:"bottom",justify:"center",padding:14}}},h={name:"PRESET_GRID_SEPARATE_SERIES",description:"分開顯示Series",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{grid:{separateSeries:!0}},allPluginParams:{...a,...t,GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{position:"bottom",justify:"center",padding:14}}},G={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:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},N={name:"PRESET_LINE_AREAS_CURVE",description:"弧線折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},dataFormatter:{grid:{groupAxis:{scalePadding:0}}},allPluginParams:{...t,Lines:{lineCurve:"curveMonotoneX",lineWidth:3},LineAreas:{lineCurve:"curveMonotoneX"},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},x={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:{...t,Lines:{lineWidth:3},LineAreas:{},Dots:{onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},D={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:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},b={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:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},M={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:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},B={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:{...t,Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},O={name:"PRESET_LINES_BASIC",description:"基本Lines參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},H={name:"PRESET_LINES_CURVE",description:"弧線折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{lineCurve:"curveMonotoneX",lineWidth:3},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},f={name:"PRESET_LINES_HIGHLIGHT_GROUP_DOTS",description:"折線圖及Highlight Group圓點",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"},allPluginParams:{...t,Lines:{},Dots:{onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},U={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:{...t,Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},C={name:"PRESET_LINES_LOOSE_TICKS",description:"寬鬆標籤",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},V={name:"PRESET_LINES_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},y={name:"PRESET_LINES_WITH_SOLID_DOTS",description:"折線圖及實心圓點",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,Lines:{},Dots:{radius:3,fillColorType:"series",onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{position:"bottom",justify:"center",padding:14,listRectHeight:2}}},j={name:"PRESET_MULTI_GRID_BASIC",description:"基本MultiGrid參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...s,...t,MultiGridLegend:{position:"bottom",justify:"center",padding:14,gridList:[{},{listRectHeight:2}]}}},k={name:"PRESET_MULTI_GRID_DIVERGING",description:"雙向折線圖",chartParams:{padding:{top:60,right:60,bottom:160,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:{...t,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}}},v={name:"PRESET_MULTI_GRID_ROUND_STYLE",description:"MultiGrid圓弧風格",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{...t,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:{}}},F={name:"PRESET_MULTI_GRID_SEPARATE_GRID",description:"2組Grid圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...t,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}}},W={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:{...t,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}]}}},Z={name:"PRESET_MULTI_LINES_SEPARATE_GRID",description:"多組分開折線圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{...t,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}]}}},X={name:"PRESET_TREE_BASIC",description:"基本Tree參數",chartParams:{padding:{top:40,right:40,bottom:60,left:40}},allPluginParams:{...t,TreeMap:{},TreeLegend:{position:"bottom",justify:"center",padding:14}}};i.PRESET_BARS_HORIZONTAL_AND_ROUND=P,i.PRESET_BARS_HORIZONTAL_AND_THIN=u,i.PRESET_BARS_ROUND=I,i.PRESET_BARS_THIN=T,i.PRESET_BUBBLES_SCALING_BY_RADIUS=r,i.PRESET_BUBBLES_SEPARATE_SERIES=E,i.PRESET_GRID_BASIC=c,i.PRESET_GRID_HORIZONTAL=L,i.PRESET_GRID_PN_SCALE=p,i.PRESET_GRID_ROTATE_AXIS_LABEL=m,i.PRESET_GRID_SEPARATE_SERIES=h,i.PRESET_LINES_BASIC=O,i.PRESET_LINES_CURVE=H,i.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=f,i.PRESET_LINES_HORIZONTAL=U,i.PRESET_LINES_LOOSE_TICKS=C,i.PRESET_LINES_ROTATE_AXIS_LABEL=V,i.PRESET_LINES_WITH_SOLID_DOTS=y,i.PRESET_LINE_AREAS_BASIC=G,i.PRESET_LINE_AREAS_CURVE=N,i.PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS=x,i.PRESET_LINE_AREAS_HORIZONTAL=D,i.PRESET_LINE_AREAS_LOOSE_TICKS=b,i.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=M,i.PRESET_LINE_AREAS_SEPARATE_SERIES=B,i.PRESET_MULTI_GRID_BASIC=j,i.PRESET_MULTI_GRID_DIVERGING=k,i.PRESET_MULTI_GRID_ROUND_STYLE=v,i.PRESET_MULTI_GRID_SEPARATE_GRID=F,i.PRESET_MULTI_LINES_SEPARATE_GRID=Z,i.PRESET_MULTI_LINE_AREAS_SEPARATE_GRID=W,i.PRESET_PIE_DONUT=n,i.PRESET_PIE_HALF_DONUT=o,i.PRESET_PIE_WITH_INNER_LABELS=l,i.PRESET_ROSE_SCALING_BY_RADIUS=d,i.PRESET_SERIES_BASIC=S,i.PRESET_SERIES_DESC=_,i.PRESET_SERIES_SEPARATE_SERIES=g,i.PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES=R,i.PRESET_SERIES_SUM_SERIES=A,i.PRESET_TREE_BASIC=X,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});
|
@@ -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>;
|
package/dist/src/grid/index.d.ts
CHANGED
@@ -13,7 +13,7 @@ export { PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS } from './PRESET_LINE_AREAS_HIGH
|
|
13
13
|
export { PRESET_LINE_AREAS_HORIZONTAL } from './PRESET_LINE_AREAS_HORIZONTAL';
|
14
14
|
export { PRESET_LINE_AREAS_LOOSE_TICKS } from './PRESET_LINE_AREAS_LOOSE_TICKS';
|
15
15
|
export { PRESET_LINE_AREAS_ROTATE_AXIS_LABEL } from './PRESET_LINE_AREAS_ROTATE_AXIS_LABEL';
|
16
|
-
export {
|
16
|
+
export { PRESET_LINE_AREAS_SEPARATE_SERIES } from './PRESET_LINE_AREAS_SEPARATE_SERIES';
|
17
17
|
export { PRESET_LINES_BASIC } from './PRESET_LINES_BASIC';
|
18
18
|
export { PRESET_LINES_CURVE } from './PRESET_LINES_CURVE';
|
19
19
|
export { PRESET_LINES_HIGHLIGHT_GROUP_DOTS } from './PRESET_LINES_HIGHLIGHT_GROUP_DOTS';
|
@@ -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>;
|
@@ -1,12 +1,6 @@
|
|
1
|
-
export { PRESET_MULTI_GRID_DIVERGING } from './PRESET_MULTI_GRID_DIVERGING';
|
2
|
-
export { PRESET_MULTI_GRID_2_GRID_SLOT } from './PRESET_MULTI_GRID_2_GRID_SLOT';
|
3
|
-
export { PRESET_MULTI_GRID_3_GRID_SLOT } from './PRESET_MULTI_GRID_3_GRID_SLOT';
|
4
|
-
export { PRESET_MULTI_GRID_4_GRID_SLOT } from './PRESET_MULTI_GRID_4_GRID_SLOT';
|
5
1
|
export { PRESET_MULTI_GRID_BASIC } from './PRESET_MULTI_GRID_BASIC';
|
2
|
+
export { PRESET_MULTI_GRID_DIVERGING } from './PRESET_MULTI_GRID_DIVERGING';
|
6
3
|
export { PRESET_MULTI_GRID_ROUND_STYLE } from './PRESET_MULTI_GRID_ROUND_STYLE';
|
7
|
-
export {
|
8
|
-
export {
|
9
|
-
export {
|
10
|
-
export { PRESET_MULTI_LINES_2_GRID_SLOT } from './PRESET_MULTI_LINES_2_GRID_SLOT';
|
11
|
-
export { PRESET_MULTI_LINES_3_GRID_SLOT } from './PRESET_MULTI_LINES_3_GRID_SLOT';
|
12
|
-
export { PRESET_MULTI_LINES_4_GRID_SLOT } from './PRESET_MULTI_LINES_4_GRID_SLOT';
|
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';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orbcharts/presets-basic",
|
3
|
-
"version": "3.0.0-alpha.
|
3
|
+
"version": "3.0.0-alpha.24",
|
4
4
|
"description": "presets for OrbCharts",
|
5
5
|
"author": "Blue Planet Inc.",
|
6
6
|
"license": "Apache-2.0",
|
@@ -35,8 +35,8 @@
|
|
35
35
|
"vite-plugin-dts": "^3.7.3"
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
|
-
"@orbcharts/core": "^3.0.0-alpha.
|
39
|
-
"@orbcharts/plugins-basic": "^3.0.0-alpha.
|
38
|
+
"@orbcharts/core": "^3.0.0-alpha.50",
|
39
|
+
"@orbcharts/plugins-basic": "^3.0.0-alpha.54",
|
40
40
|
"d3": "^7.8.5",
|
41
41
|
"rxjs": "^7.8.1"
|
42
42
|
}
|
package/src/grid/{PRESET_LINE_AREAS_SEPARATE_GRID.ts → PRESET_LINE_AREAS_SEPARATE_SERIES.ts}
RENAMED
@@ -10,7 +10,7 @@ import type { PresetLinesParams,
|
|
10
10
|
} from '../types'
|
11
11
|
import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
|
12
12
|
|
13
|
-
export const
|
13
|
+
export const PRESET_LINE_AREAS_SEPARATE_SERIES: PresetPartial<'grid', PresetLinesParams
|
14
14
|
& PresetLineAreasParams
|
15
15
|
& PresetDotsParams
|
16
16
|
& PresetGridLegendParams
|
@@ -18,7 +18,7 @@ export const PRESET_LINE_AREAS_SEPARATE_GRID: PresetPartial<'grid', PresetLinesP
|
|
18
18
|
& PresetValueAxisParams
|
19
19
|
& PresetGroupAuxParams
|
20
20
|
& PresetNoneDataPluginParams> = {
|
21
|
-
name: '
|
21
|
+
name: 'PRESET_LINE_AREAS_SEPARATE_SERIES',
|
22
22
|
description: 'LineAreas 分開顯示Series',
|
23
23
|
chartParams: {
|
24
24
|
padding: {
|
package/src/grid/index.ts
CHANGED
@@ -13,7 +13,7 @@ export { PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS } from './PRESET_LINE_AREAS_HIGH
|
|
13
13
|
export { PRESET_LINE_AREAS_HORIZONTAL } from './PRESET_LINE_AREAS_HORIZONTAL'
|
14
14
|
export { PRESET_LINE_AREAS_LOOSE_TICKS } from './PRESET_LINE_AREAS_LOOSE_TICKS'
|
15
15
|
export { PRESET_LINE_AREAS_ROTATE_AXIS_LABEL } from './PRESET_LINE_AREAS_ROTATE_AXIS_LABEL'
|
16
|
-
export {
|
16
|
+
export { PRESET_LINE_AREAS_SEPARATE_SERIES } from './PRESET_LINE_AREAS_SEPARATE_SERIES'
|
17
17
|
export { PRESET_LINES_BASIC } from './PRESET_LINES_BASIC'
|
18
18
|
export { PRESET_LINES_CURVE } from './PRESET_LINES_CURVE'
|
19
19
|
export { PRESET_LINES_HIGHLIGHT_GROUP_DOTS } from './PRESET_LINES_HIGHLIGHT_GROUP_DOTS'
|
package/src/multiGrid/{PRESET_MULTI_GRID_2_GRID_SLOT.ts → PRESET_MULTI_GRID_SEPARATE_GRID.ts}
RENAMED
@@ -5,9 +5,9 @@ import type {
|
|
5
5
|
} from '../types'
|
6
6
|
import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
|
7
7
|
|
8
|
-
export const
|
8
|
+
export const PRESET_MULTI_GRID_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams
|
9
9
|
& PresetNoneDataPluginParams> = {
|
10
|
-
name: '
|
10
|
+
name: 'PRESET_MULTI_GRID_SEPARATE_GRID',
|
11
11
|
description: '2組Grid圖表',
|
12
12
|
chartParams: {
|
13
13
|
padding: {
|
@@ -24,31 +24,31 @@ export const PRESET_MULTI_GRID_2_GRID_SLOT: PresetPartial<'multiGrid', PresetMul
|
|
24
24
|
...ALL_PLUGIN_PARAMS_NONE_DATA,
|
25
25
|
MultiGroupAxis: {
|
26
26
|
tickTextRotate: -30,
|
27
|
-
gridIndexes:
|
27
|
+
gridIndexes: 'all'
|
28
28
|
},
|
29
29
|
MultiValueAxis: {
|
30
|
-
gridIndexes:
|
30
|
+
gridIndexes: 'all'
|
31
31
|
},
|
32
32
|
MultiValueStackAxis: {
|
33
|
-
gridIndexes:
|
33
|
+
gridIndexes: 'all'
|
34
34
|
},
|
35
35
|
MultiBars: {
|
36
|
-
gridIndexes:
|
36
|
+
gridIndexes: 'all'
|
37
37
|
},
|
38
38
|
MultiBarStack: {
|
39
|
-
gridIndexes:
|
39
|
+
gridIndexes: 'all'
|
40
40
|
},
|
41
41
|
MultiBarsTriangle: {
|
42
|
-
gridIndexes:
|
42
|
+
gridIndexes: 'all'
|
43
43
|
},
|
44
44
|
MultiLines: {
|
45
|
-
gridIndexes:
|
45
|
+
gridIndexes: 'all'
|
46
46
|
},
|
47
47
|
MultiLineAreas: {
|
48
|
-
gridIndexes:
|
48
|
+
gridIndexes: 'all'
|
49
49
|
},
|
50
50
|
MultiDots: {
|
51
|
-
gridIndexes:
|
51
|
+
gridIndexes: 'all'
|
52
52
|
},
|
53
53
|
MultiGridLegend: {
|
54
54
|
position: 'bottom',
|
package/src/multiGrid/{PRESET_MULTI_LINES_2_GRID_SLOT.ts → PRESET_MULTI_LINES_SEPARATE_GRID.ts}
RENAMED
@@ -14,7 +14,7 @@ import type {
|
|
14
14
|
} from '../types'
|
15
15
|
import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
|
16
16
|
|
17
|
-
export const
|
17
|
+
export const PRESET_MULTI_LINES_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGroupAxisParams
|
18
18
|
& PresetMultiValueAxisParams
|
19
19
|
& PresetMultiValueStackAxisParams
|
20
20
|
& PresetMultiBarsParams
|
@@ -25,8 +25,8 @@ export const PRESET_MULTI_LINES_2_GRID_SLOT: PresetPartial<'multiGrid', PresetMu
|
|
25
25
|
& PresetMultiDotsParams
|
26
26
|
& PresetMultiGridLegendParams
|
27
27
|
& PresetNoneDataPluginParams> = {
|
28
|
-
name: '
|
29
|
-
description: '
|
28
|
+
name: 'PRESET_MULTI_LINES_SEPARATE_GRID',
|
29
|
+
description: '多組分開折線圖表',
|
30
30
|
chartParams: {
|
31
31
|
padding: {
|
32
32
|
top: 60,
|
@@ -42,37 +42,49 @@ export const PRESET_MULTI_LINES_2_GRID_SLOT: PresetPartial<'multiGrid', PresetMu
|
|
42
42
|
...ALL_PLUGIN_PARAMS_NONE_DATA,
|
43
43
|
MultiGroupAxis: {
|
44
44
|
tickTextRotate: -30,
|
45
|
-
gridIndexes:
|
45
|
+
gridIndexes: 'all'
|
46
46
|
},
|
47
47
|
MultiValueAxis: {
|
48
|
-
gridIndexes:
|
48
|
+
gridIndexes: 'all'
|
49
49
|
},
|
50
50
|
MultiValueStackAxis: {
|
51
|
-
gridIndexes:
|
51
|
+
gridIndexes: 'all'
|
52
52
|
},
|
53
53
|
MultiBars: {
|
54
|
-
gridIndexes:
|
54
|
+
gridIndexes: 'all'
|
55
55
|
},
|
56
56
|
MultiBarStack: {
|
57
|
-
gridIndexes:
|
57
|
+
gridIndexes: 'all'
|
58
58
|
},
|
59
59
|
MultiBarsTriangle: {
|
60
|
-
gridIndexes:
|
60
|
+
gridIndexes: 'all'
|
61
61
|
},
|
62
62
|
MultiLines: {
|
63
|
-
gridIndexes:
|
63
|
+
gridIndexes: 'all'
|
64
64
|
},
|
65
65
|
MultiLineAreas: {
|
66
|
-
gridIndexes:
|
66
|
+
gridIndexes: 'all'
|
67
67
|
},
|
68
68
|
MultiDots: {
|
69
|
-
gridIndexes:
|
69
|
+
gridIndexes: 'all'
|
70
70
|
},
|
71
71
|
MultiGridLegend: {
|
72
72
|
position: 'bottom',
|
73
73
|
justify: 'center',
|
74
74
|
padding: 14,
|
75
75
|
gridList: [
|
76
|
+
{
|
77
|
+
listRectHeight: 2,
|
78
|
+
},
|
79
|
+
{
|
80
|
+
listRectHeight: 2,
|
81
|
+
},
|
82
|
+
{
|
83
|
+
listRectHeight: 2,
|
84
|
+
},
|
85
|
+
{
|
86
|
+
listRectHeight: 2,
|
87
|
+
},
|
76
88
|
{
|
77
89
|
listRectHeight: 2,
|
78
90
|
},
|
@@ -14,7 +14,7 @@ import type {
|
|
14
14
|
} from '../types'
|
15
15
|
import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
|
16
16
|
|
17
|
-
export const
|
17
|
+
export const PRESET_MULTI_LINE_AREAS_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGroupAxisParams
|
18
18
|
& PresetMultiValueAxisParams
|
19
19
|
& PresetMultiValueStackAxisParams
|
20
20
|
& PresetMultiBarsParams
|
@@ -25,7 +25,7 @@ export const PRESET_MULTI_LINE_AREAS_2_GRID_SLOT: PresetPartial<'multiGrid', Pre
|
|
25
25
|
& PresetMultiDotsParams
|
26
26
|
& PresetMultiGridLegendParams
|
27
27
|
& PresetNoneDataPluginParams> = {
|
28
|
-
name: '
|
28
|
+
name: 'PRESET_MULTI_LINE_AREAS_SEPARATE_GRID',
|
29
29
|
description: '2組區域圖表',
|
30
30
|
chartParams: {
|
31
31
|
padding: {
|
@@ -60,37 +60,49 @@ export const PRESET_MULTI_LINE_AREAS_2_GRID_SLOT: PresetPartial<'multiGrid', Pre
|
|
60
60
|
...ALL_PLUGIN_PARAMS_NONE_DATA,
|
61
61
|
MultiGroupAxis: {
|
62
62
|
tickTextRotate: -30,
|
63
|
-
gridIndexes:
|
63
|
+
gridIndexes: 'all'
|
64
64
|
},
|
65
65
|
MultiValueAxis: {
|
66
|
-
gridIndexes:
|
66
|
+
gridIndexes: 'all'
|
67
67
|
},
|
68
68
|
MultiValueStackAxis: {
|
69
|
-
gridIndexes:
|
69
|
+
gridIndexes: 'all'
|
70
70
|
},
|
71
71
|
MultiBars: {
|
72
|
-
gridIndexes:
|
72
|
+
gridIndexes: 'all'
|
73
73
|
},
|
74
74
|
MultiBarStack: {
|
75
|
-
gridIndexes:
|
75
|
+
gridIndexes: 'all'
|
76
76
|
},
|
77
77
|
MultiBarsTriangle: {
|
78
|
-
gridIndexes:
|
78
|
+
gridIndexes: 'all'
|
79
79
|
},
|
80
80
|
MultiLines: {
|
81
|
-
gridIndexes:
|
81
|
+
gridIndexes: 'all'
|
82
82
|
},
|
83
83
|
MultiLineAreas: {
|
84
|
-
gridIndexes:
|
84
|
+
gridIndexes: 'all'
|
85
85
|
},
|
86
86
|
MultiDots: {
|
87
|
-
gridIndexes:
|
87
|
+
gridIndexes: 'all'
|
88
88
|
},
|
89
89
|
MultiGridLegend: {
|
90
90
|
position: 'bottom',
|
91
91
|
justify: 'center',
|
92
92
|
padding: 14,
|
93
93
|
gridList: [
|
94
|
+
{
|
95
|
+
listRectHeight: 2,
|
96
|
+
},
|
97
|
+
{
|
98
|
+
listRectHeight: 2,
|
99
|
+
},
|
100
|
+
{
|
101
|
+
listRectHeight: 2,
|
102
|
+
},
|
103
|
+
{
|
104
|
+
listRectHeight: 2,
|
105
|
+
},
|
94
106
|
{
|
95
107
|
listRectHeight: 2,
|
96
108
|
},
|
package/src/multiGrid/index.ts
CHANGED
@@ -1,12 +1,6 @@
|
|
1
|
-
export { PRESET_MULTI_GRID_DIVERGING } from './PRESET_MULTI_GRID_DIVERGING'
|
2
|
-
export { PRESET_MULTI_GRID_2_GRID_SLOT } from './PRESET_MULTI_GRID_2_GRID_SLOT'
|
3
|
-
export { PRESET_MULTI_GRID_3_GRID_SLOT } from './PRESET_MULTI_GRID_3_GRID_SLOT'
|
4
|
-
export { PRESET_MULTI_GRID_4_GRID_SLOT } from './PRESET_MULTI_GRID_4_GRID_SLOT'
|
5
1
|
export { PRESET_MULTI_GRID_BASIC } from './PRESET_MULTI_GRID_BASIC'
|
2
|
+
export { PRESET_MULTI_GRID_DIVERGING } from './PRESET_MULTI_GRID_DIVERGING'
|
6
3
|
export { PRESET_MULTI_GRID_ROUND_STYLE } from './PRESET_MULTI_GRID_ROUND_STYLE'
|
7
|
-
export {
|
8
|
-
export {
|
9
|
-
export {
|
10
|
-
export { PRESET_MULTI_LINES_2_GRID_SLOT } from './PRESET_MULTI_LINES_2_GRID_SLOT'
|
11
|
-
export { PRESET_MULTI_LINES_3_GRID_SLOT } from './PRESET_MULTI_LINES_3_GRID_SLOT'
|
12
|
-
export { PRESET_MULTI_LINES_4_GRID_SLOT } from './PRESET_MULTI_LINES_4_GRID_SLOT'
|
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'
|
@@ -1,4 +0,0 @@
|
|
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_GRID: PresetPartial<'grid', PresetLinesParams & PresetLineAreasParams & PresetDotsParams & PresetGridLegendParams & PresetGroupAxisParams & PresetValueAxisParams & PresetGroupAuxParams & PresetNoneDataPluginParams>;
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { PresetPartial } from '@orbcharts/core';
|
2
|
-
import { PresetMultiGridSepratedPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
-
|
4
|
-
export declare const PRESET_MULTI_GRID_2_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams & PresetNoneDataPluginParams>;
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { PresetPartial } from '@orbcharts/core';
|
2
|
-
import { PresetMultiGridSepratedPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
-
|
4
|
-
export declare const PRESET_MULTI_GRID_3_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams & PresetNoneDataPluginParams>;
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { PresetPartial } from '@orbcharts/core';
|
2
|
-
import { PresetMultiGridSepratedPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
-
|
4
|
-
export declare const PRESET_MULTI_GRID_4_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams & PresetNoneDataPluginParams>;
|
@@ -1,4 +0,0 @@
|
|
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_2_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGroupAxisParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiLinesParams & PresetMultiLineAreasParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -1,4 +0,0 @@
|
|
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_3_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGroupAxisParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiLinesParams & PresetMultiLineAreasParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -1,4 +0,0 @@
|
|
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_4_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGroupAxisParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiLinesParams & PresetMultiLineAreasParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -1,4 +0,0 @@
|
|
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_2_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGroupAxisParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiLinesParams & PresetMultiLineAreasParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -1,4 +0,0 @@
|
|
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_3_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGroupAxisParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiLinesParams & PresetMultiLineAreasParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -1,4 +0,0 @@
|
|
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_4_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGroupAxisParams & PresetMultiValueAxisParams & PresetMultiValueStackAxisParams & PresetMultiBarsParams & PresetMultiBarStackParams & PresetMultiBarsTriangleParams & PresetMultiLinesParams & PresetMultiLineAreasParams & PresetMultiDotsParams & PresetMultiGridLegendParams & PresetNoneDataPluginParams>;
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import type { PresetPartial } from '@orbcharts/core'
|
2
|
-
import type {
|
3
|
-
PresetMultiGridSepratedPluginParams,
|
4
|
-
PresetNoneDataPluginParams
|
5
|
-
} from '../types'
|
6
|
-
import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
|
7
|
-
|
8
|
-
export const PRESET_MULTI_GRID_3_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams
|
9
|
-
& PresetNoneDataPluginParams> = {
|
10
|
-
name: 'PRESET_MULTI_GRID_3_GRID_SLOT',
|
11
|
-
description: '3組Grid圖表',
|
12
|
-
chartParams: {
|
13
|
-
padding: {
|
14
|
-
top: 60,
|
15
|
-
right: 60,
|
16
|
-
bottom: 160,
|
17
|
-
left: 60
|
18
|
-
},
|
19
|
-
},
|
20
|
-
dataFormatter: {
|
21
|
-
separateGrid: true,
|
22
|
-
},
|
23
|
-
allPluginParams: {
|
24
|
-
...ALL_PLUGIN_PARAMS_NONE_DATA,
|
25
|
-
MultiGroupAxis: {
|
26
|
-
tickTextRotate: -30,
|
27
|
-
gridIndexes: [0, 1, 2]
|
28
|
-
},
|
29
|
-
MultiValueAxis: {
|
30
|
-
gridIndexes: [0, 1, 2]
|
31
|
-
},
|
32
|
-
MultiValueStackAxis: {
|
33
|
-
gridIndexes: [0, 1, 2]
|
34
|
-
},
|
35
|
-
MultiBars: {
|
36
|
-
gridIndexes: [0, 1, 2]
|
37
|
-
},
|
38
|
-
MultiBarStack: {
|
39
|
-
gridIndexes: [0, 1, 2]
|
40
|
-
},
|
41
|
-
MultiBarsTriangle: {
|
42
|
-
gridIndexes: [0, 1, 2]
|
43
|
-
},
|
44
|
-
MultiLines: {
|
45
|
-
gridIndexes: [0, 1, 2]
|
46
|
-
},
|
47
|
-
MultiLineAreas: {
|
48
|
-
gridIndexes: [0, 1, 2]
|
49
|
-
},
|
50
|
-
MultiDots: {
|
51
|
-
gridIndexes: [0, 1, 2]
|
52
|
-
},
|
53
|
-
MultiGridLegend: {
|
54
|
-
position: 'bottom',
|
55
|
-
justify: 'center',
|
56
|
-
padding: 14,
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import type { PresetPartial } from '@orbcharts/core'
|
2
|
-
import type {
|
3
|
-
PresetMultiGridSepratedPluginParams,
|
4
|
-
PresetNoneDataPluginParams
|
5
|
-
} from '../types'
|
6
|
-
import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
|
7
|
-
|
8
|
-
export const PRESET_MULTI_GRID_4_GRID_SLOT: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams
|
9
|
-
& PresetNoneDataPluginParams> = {
|
10
|
-
name: 'PRESET_MULTI_GRID_4_GRID_SLOT',
|
11
|
-
description: '4組Grid圖表',
|
12
|
-
chartParams: {
|
13
|
-
padding: {
|
14
|
-
top: 60,
|
15
|
-
right: 60,
|
16
|
-
bottom: 160,
|
17
|
-
left: 60
|
18
|
-
},
|
19
|
-
},
|
20
|
-
dataFormatter: {
|
21
|
-
separateGrid: true,
|
22
|
-
},
|
23
|
-
allPluginParams: {
|
24
|
-
...ALL_PLUGIN_PARAMS_NONE_DATA,
|
25
|
-
MultiGroupAxis: {
|
26
|
-
tickTextRotate: -30,
|
27
|
-
gridIndexes: [0, 1, 2, 3]
|
28
|
-
},
|
29
|
-
MultiValueAxis: {
|
30
|
-
gridIndexes: [0, 1, 2, 3]
|
31
|
-
},
|
32
|
-
MultiValueStackAxis: {
|
33
|
-
gridIndexes: [0, 1, 2, 3]
|
34
|
-
},
|
35
|
-
MultiBars: {
|
36
|
-
gridIndexes: [0, 1, 2, 3]
|
37
|
-
},
|
38
|
-
MultiBarStack: {
|
39
|
-
gridIndexes: [0, 1, 2, 3]
|
40
|
-
},
|
41
|
-
MultiBarsTriangle: {
|
42
|
-
gridIndexes: [0, 1, 2, 3]
|
43
|
-
},
|
44
|
-
MultiLines: {
|
45
|
-
gridIndexes: [0, 1, 2, 3]
|
46
|
-
},
|
47
|
-
MultiLineAreas: {
|
48
|
-
gridIndexes: [0, 1, 2, 3]
|
49
|
-
},
|
50
|
-
MultiDots: {
|
51
|
-
gridIndexes: [0, 1, 2, 3]
|
52
|
-
},
|
53
|
-
MultiGridLegend: {
|
54
|
-
position: 'bottom',
|
55
|
-
justify: 'center',
|
56
|
-
padding: 14,
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|