@orbcharts/presets-basic 3.0.0-beta.10 → 3.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orbcharts-presets-basic.es.js +1407 -244
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/multiValue/PRESET_SCATTER_BASIC.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.d.ts +4 -0
- package/dist/src/multiValue/index.d.ts +4 -0
- package/dist/src/series/PRESET_BUBBLES_BASIC.d.ts +4 -0
- package/dist/src/series/PRESET_BUBBLES_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +17 -1
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +17 -1
- package/src/grid/PRESET_BARS_ROUND.ts +18 -2
- package/src/grid/PRESET_BARS_THIN.ts +18 -2
- package/src/grid/PRESET_GRID_BASIC.ts +18 -2
- package/src/grid/PRESET_GRID_HORIZONTAL.ts +17 -1
- package/src/grid/PRESET_GRID_PN_SCALE.ts +18 -2
- package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +18 -2
- package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +18 -2
- package/src/grid/PRESET_LINES_BASIC.ts +18 -2
- package/src/grid/PRESET_LINES_CURVE.ts +18 -2
- package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +18 -2
- package/src/grid/PRESET_LINES_HORIZONTAL.ts +17 -1
- package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +18 -2
- package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +18 -2
- package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +18 -2
- package/src/grid/PRESET_LINE_AREAS_BASIC.ts +18 -2
- package/src/grid/PRESET_LINE_AREAS_CURVE.ts +18 -2
- package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +18 -2
- package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +17 -1
- package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +18 -2
- package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +18 -2
- package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +18 -2
- package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +18 -2
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +20 -4
- package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +18 -2
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +18 -2
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +18 -2
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +18 -2
- package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +17 -1
- package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +17 -1
- package/src/multiValue/PRESET_SCATTER_BASIC.ts +39 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.ts +39 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +18 -2
- package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +18 -2
- package/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.ts +42 -0
- package/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.ts +42 -0
- package/src/multiValue/index.ts +5 -1
- package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +24 -8
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +24 -8
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +24 -8
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +24 -8
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +24 -8
- package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +24 -8
- package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +24 -8
- package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +24 -8
- package/src/series/PRESET_BUBBLES_BASIC.ts +34 -0
- package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +18 -0
- package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +17 -1
- package/src/series/PRESET_BUBBLES_SUM_SERIES.ts +36 -0
- package/src/series/PRESET_PIE_BASIC.ts +19 -1
- package/src/series/PRESET_PIE_DONUT.ts +18 -0
- package/src/series/PRESET_PIE_HALF_DONUT.ts +18 -1
- package/src/series/PRESET_PIE_SEPARATE_SERIES.ts +36 -0
- package/src/series/PRESET_PIE_SUM_SERIES.ts +36 -0
- package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +18 -0
- package/src/series/PRESET_ROSE_BASIC.ts +18 -0
- package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +18 -0
- package/src/series/PRESET_ROSE_SEPARATE_SERIES.ts +36 -0
- package/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.ts +37 -0
- package/src/series/PRESET_ROSE_SUM_SERIES.ts +36 -0
- package/src/series/PRESET_SERIES_BASIC.ts +18 -0
- package/src/series/index.ts +7 -0
- package/src/tree/PRESET_TREE_MAP_BASIC.ts +17 -1
@@ -1 +1 @@
|
|
1
|
-
(function(t,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(t=typeof globalThis<"u"?globalThis:t||self,i(t["orbcharts-presets-basic"]={}))})(this,function(t){"use strict";const i={name:"PRESET_BUBBLES_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的泡泡圖",allPluginParams:{Bubbles:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}},g={name:"PRESET_BUBBLES_SEPARATE_SERIES",description:"分開顯示Series泡泡",chartParams:{padding:{top:160,right:160,bottom:160,left:160}},dataFormatter:{separateSeries:!0},allPluginParams:{Bubbles:{},SeriesLegend:{listRectRadius:7},SeriesTooltip:{}}},E={name:"PRESET_PIE_BASIC",description:"基本Pie參數",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{SeriesLegend:{listRectRadius:7}}};E.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const r={name:"PRESET_PIE_DONUT",description:"甜甜圈圖",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{Pie:{innerRadius:.5},PieLabels:{},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}};r.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const l={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:{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.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const s={name:"PRESET_PIE_WITH_INNER_LABELS",description:"圓餅圖及內部資料標籤",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{Pie:{},PieLabels:{labelCentroid:1.3,labelColorType:"labelContrast"},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}};s.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const _={name:"PRESET_ROSE_BASIC",description:"基本Rose參數",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{SeriesLegend:{listRectRadius:7}}};_.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const n={name:"PRESET_ROSE_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的玫瑰圖",dataFormatter:{sort:(e,a)=>a.value-e.value},allPluginParams:{Rose:{arcScaleType:"radius"},RoseLabels:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}};n.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const P={name:"PRESET_SERIES_BASIC",description:"基本Series參數",allPluginParams:{SeriesLegend:{listRectRadius:7}}},R={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.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const d={name:"PRESET_SERIES_SEPARATE_SERIES",description:"分開顯示Series",dataFormatter:{sort:(e,a)=>a.value-e.value,separateSeries:!0},allPluginParams:{}};d.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const o={name:"PRESET_SERIES_SUM_SERIES",description:"合併Series資料",dataFormatter:{sort:(e,a)=>a.value-e.value,sumSeries:!0},allPluginParams:{}};o.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const A={name:"PRESET_BARS_HORIZONTAL_AND_ROUND",description:"橫向圓角長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160}},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}},allPluginParams:{Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectRadius:7}}},T={name:"PRESET_BARS_HORIZONTAL_AND_THIN",description:"橫向細長長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160}},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}},allPluginParams:{Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14}}},u={name:"PRESET_BARS_ROUND",description:"圓角長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectRadius:7}}},I={name:"PRESET_BARS_THIN",description:"細長條圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14}}},c={name:"PRESET_GRID_BASIC",description:"基本Grid參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{GridLegend:{placement:"bottom",padding:14}}},m={name:"PRESET_GRID_HORIZONTAL",description:"橫向圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160}},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}},allPluginParams:{GridLegend:{placement:"bottom",padding:14}}},L={name:"PRESET_GRID_PN_SCALE",description:"正負值分向圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},dataFormatter:{valueAxis:{scaleDomain:["auto","auto"],scaleRange:[.05,.95]}},allPluginParams:{GridLegend:{placement:"bottom",padding:14}}},p={name:"PRESET_GRID_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},allPluginParams:{GroupAux:{labelRotate:-30},GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{placement:"bottom",padding:14}}},h={name:"PRESET_GRID_SEPARATE_SERIES",description:"分開顯示Series",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateSeries:!0},allPluginParams:{GroupAux:{labelRotate:-30},GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{placement:"bottom",padding:14}}},B={name:"PRESET_LINE_AREAS_BASIC",description:"基本LineArea參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},dataFormatter:{groupAxis:{scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},D={name:"PRESET_LINE_AREAS_CURVE",description:"弧線折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},dataFormatter:{groupAxis:{scalePadding:0}},allPluginParams:{Lines:{lineCurve:"curveMonotoneX",lineWidth:3},LineAreas:{lineCurve:"curveMonotoneX"},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},b={name:"PRESET_LINE_AREAS_HORIZONTAL",description:"橫向折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160},highlightTarget:"series"},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left",scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",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:{groupAxis:{scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},N={name:"PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"},dataFormatter:{groupAxis:{scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{labelRotate:-30},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},G={name:"PRESET_LINE_AREAS_SEPARATE_SERIES",description:"LineAreas 分開顯示Series",chartParams:{padding:{top:60,right:60,bottom:160,left:60},highlightTarget:"series"},dataFormatter:{separateSeries:!0,groupAxis:{scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{labelRotate:-30},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},C={name:"PRESET_LINES_BASIC",description:"基本Lines參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},M={name:"PRESET_LINES_CURVE",description:"弧線折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{Lines:{lineCurve:"curveMonotoneX",lineWidth:3},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},x={name:"PRESET_LINES_HORIZONTAL",description:"橫向折線圖",chartParams:{padding:{top:60,right:60,bottom:120,left:160},highlightTarget:"series"},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}},allPluginParams:{Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},U={name:"PRESET_LINES_LOOSE_TICKS",description:"寬鬆標籤",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{Lines:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",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:{Lines:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{labelRotate:-30},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},H={name:"PRESET_LINES_WITH_SOLID_DOTS",description:"折線圖及實心圓點",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{Lines:{},Dots:{radius:3,fillColorType:"label",onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},v={name:"PRESET_MULTI_GRID_BASIC",description:"基本MultiGrid參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{MultiGridLegend:{placement:"bottom",padding:14,gridList:[{},{listRectHeight:2}]}}},f={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:{MultiGroupAxis:{tickPadding:60,gridIndexes:[0]},MultiValueAxis:{gridIndexes:[0,1]},MultiStackedValueAxis:{gridIndexes:[0,1]},MultiBars:{gridIndexes:[0,1]},MultiStackedBar:{gridIndexes:[0,1]},MultiBarsTriangle:{gridIndexes:[0,1]},MultiLines:{gridIndexes:[0,1]},MultiLineAreas:{gridIndexes:[0,1]},MultiDots:{gridIndexes:[0,1]},MultiGridLegend:{placement:"bottom",padding:14}}},V={name:"PRESET_MULTI_GRID_ROUND_STYLE",description:"MultiGrid圓弧風格",chartParams:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"},allPluginParams:{MultiBars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},MultiStackedBar:{},MultiDots:{},MultiGridLegend:{placement:"bottom",padding:14,gridList:[{listRectRadius:7},{listRectHeight:2}]},MultiGroupAxis:{},MultiLineAreas:{},MultiLines:{lineCurve:"curveMonotoneX",lineWidth:3},MultiValueAxis:{},MultiStackedValueAxis:{},OverlappingValueAxes:{},OverlappingStackedValueAxes:{}}},W={name:"PRESET_MULTI_GRID_SEPARATE_GRID",description:"2組Grid圖表",chartParams:{padding:{top:60,right:60,bottom:160,left:60}},dataFormatter:{separateGrid:!0},allPluginParams:{MultiGroupAxis:{tickTextRotate:-30,gridIndexes:"all"},MultiValueAxis:{gridIndexes:"all"},MultiStackedValueAxis:{gridIndexes:"all"},MultiBars:{gridIndexes:"all"},MultiStackedBar:{gridIndexes:"all"},MultiBarsTriangle:{gridIndexes:"all"},MultiLines:{gridIndexes:"all"},MultiLineAreas:{gridIndexes:"all"},MultiDots:{gridIndexes:"all"},MultiGridLegend:{placement:"bottom",padding:14}}},S={},k={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:{...S,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:"all"},MultiValueAxis:{gridIndexes:"all"},MultiStackedValueAxis:{gridIndexes:"all"},MultiBars:{gridIndexes:"all"},MultiStackedBar:{gridIndexes:"all"},MultiBarsTriangle:{gridIndexes:"all"},MultiLines:{gridIndexes:"all"},MultiLineAreas:{gridIndexes:"all"},MultiDots:{gridIndexes:"all"},MultiGridLegend:{placement:"bottom",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:{...S,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:"all"},MultiValueAxis:{gridIndexes:"all"},MultiStackedValueAxis:{gridIndexes:"all"},MultiBars:{gridIndexes:"all"},MultiStackedBar:{gridIndexes:"all"},MultiBarsTriangle:{gridIndexes:"all"},MultiLines:{gridIndexes:"all"},MultiLineAreas:{gridIndexes:"all"},MultiDots:{gridIndexes:"all"},MultiGridLegend:{placement:"bottom",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},X={name:"PRESET_MULTI_VALUE_BASIC",description:"基本MultiValue參數",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14}}},Y={name:"PRESET_MULTI_VALUE_SEPARATE_CATEGORY",description:"MultiValue 分開顯示category",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},dataFormatter:{separateCategory:!0},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14}}},y={name:"PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",description:"ScatterBubbles以半徑尺寸為比例",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14},ScatterBubbles:{arcScaleType:"radius"}}},w={name:"PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",description:"ScatterBubbles漸變透明度",chartParams:{padding:{top:60,right:60,bottom:120,left:60}},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14},ScatterBubbles:{valueLinearOpacity:[.6,.95]}}},K={name:"PRESET_FORCE_DIRECTED_BASIC",description:"基本Force Directed參數",allPluginParams:{ForceDirected:{},RelationshipLegend:{listRectRadius:7}}},z={name:"PRESET_FORCE_DIRECTED_BUBBLES_BASIC",description:"基本Force Directed Bubbles參數",allPluginParams:{ForceDirectedBubbles:{},RelationshipLegend:{listRectRadius:7}}},j={name:"PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH",description:"Force Directed Bubbles固定箭頭寬度",allPluginParams:{ForceDirectedBubbles:{arrow:{strokeWidthMin:1.5,strokeWidthMax:1.5}},RelationshipLegend:{listRectRadius:7}}},q={name:"PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",description:"Force Directed Bubbles沒有箭頭",allPluginParams:{ForceDirectedBubbles:{arrow:{pointerWidth:0,pointerHeight:0}},RelationshipLegend:{listRectRadius:7}}},J={name:"PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",description:"Force Directed Bubbles無滑鼠托曳及縮放控制",allPluginParams:{ForceDirectedBubbles:{zoomable:!1},RelationshipLegend:{listRectRadius:7}}},Q={name:"PRESET_FORCE_DIRECTED_NONE_ZOOM",description:"Force Directed無滑鼠托曳及縮放控制",allPluginParams:{ForceDirected:{zoomable:!1},RelationshipLegend:{listRectRadius:7}}},$={name:"PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",description:"基本Force Directed參數",allPluginParams:{ForceDirected:{dotLabel:{sizeFixed:!0},arrowLabel:{sizeFixed:!0}},RelationshipLegend:{listRectRadius:7}}},tt={name:"PRESET_FORCE_DIRECTED_NONE_ARROW",description:"Force Directed沒有箭頭",allPluginParams:{ForceDirected:{arrow:{pointerWidth:0,pointerHeight:0}},RelationshipLegend:{listRectRadius:7}}},et={name:"PRESET_TREE_MAP_BASIC",description:"基本Tree Map參數",chartParams:{padding:{top:40,right:40,bottom:60,left:40}},allPluginParams:{TreeMap:{},TreeLegend:{placement:"bottom",padding:14}}};t.PRESET_BARS_HORIZONTAL_AND_ROUND=A,t.PRESET_BARS_HORIZONTAL_AND_THIN=T,t.PRESET_BARS_ROUND=u,t.PRESET_BARS_THIN=I,t.PRESET_BUBBLES_SCALING_BY_RADIUS=i,t.PRESET_BUBBLES_SEPARATE_SERIES=g,t.PRESET_FORCE_DIRECTED_BASIC=K,t.PRESET_FORCE_DIRECTED_BUBBLES_BASIC=z,t.PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH=j,t.PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW=q,t.PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM=J,t.PRESET_FORCE_DIRECTED_FIX_FONT_SIZE=$,t.PRESET_FORCE_DIRECTED_NONE_ARROW=tt,t.PRESET_FORCE_DIRECTED_NONE_ZOOM=Q,t.PRESET_GRID_BASIC=c,t.PRESET_GRID_HORIZONTAL=m,t.PRESET_GRID_PN_SCALE=L,t.PRESET_GRID_ROTATE_AXIS_LABEL=p,t.PRESET_GRID_SEPARATE_SERIES=h,t.PRESET_LINES_BASIC=C,t.PRESET_LINES_CURVE=M,t.PRESET_LINES_HORIZONTAL=x,t.PRESET_LINES_LOOSE_TICKS=U,t.PRESET_LINES_ROTATE_AXIS_LABEL=F,t.PRESET_LINES_WITH_SOLID_DOTS=H,t.PRESET_LINE_AREAS_BASIC=B,t.PRESET_LINE_AREAS_CURVE=D,t.PRESET_LINE_AREAS_HORIZONTAL=b,t.PRESET_LINE_AREAS_LOOSE_TICKS=O,t.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=N,t.PRESET_LINE_AREAS_SEPARATE_SERIES=G,t.PRESET_MULTI_GRID_BASIC=v,t.PRESET_MULTI_GRID_DIVERGING=f,t.PRESET_MULTI_GRID_ROUND_STYLE=V,t.PRESET_MULTI_GRID_SEPARATE_GRID=W,t.PRESET_MULTI_LINES_SEPARATE_GRID=Z,t.PRESET_MULTI_LINE_AREAS_SEPARATE_GRID=k,t.PRESET_MULTI_VALUE_BASIC=X,t.PRESET_MULTI_VALUE_SEPARATE_CATEGORY=Y,t.PRESET_PIE_BASIC=E,t.PRESET_PIE_DONUT=r,t.PRESET_PIE_HALF_DONUT=l,t.PRESET_PIE_WITH_INNER_LABELS=s,t.PRESET_ROSE_BASIC=_,t.PRESET_ROSE_SCALING_BY_RADIUS=n,t.PRESET_SCATTER_BUBBLES_LINEAR_OPACITY=w,t.PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS=y,t.PRESET_SERIES_BASIC=P,t.PRESET_SERIES_SEPARATE_SERIES=d,t.PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES=R,t.PRESET_SERIES_SUM_SERIES=o,t.PRESET_TREE_MAP_BASIC=et,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
1
|
+
(function(t,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(t=typeof globalThis<"u"?globalThis:t||self,i(t["orbcharts-presets-basic"]={}))})(this,function(t){"use strict";const i={name:"PRESET_BUBBLES_BASIC",description:"基本泡泡圖",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}}},allPluginParams:{SeriesLegend:{listRectRadius:7}}},T={name:"PRESET_BUBBLES_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的泡泡圖",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}}},allPluginParams:{Bubbles:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}},c={name:"PRESET_BUBBLES_SEPARATE_SERIES",description:"分開顯示Series的泡泡圖",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}},padding:{top:160,right:160,bottom:160,left:160}},dataFormatter:{separateSeries:!0},allPluginParams:{Bubbles:{},SeriesLegend:{listRectRadius:7},SeriesTooltip:{}}},E={name:"PRESET_BUBBLES_SUM_SERIES",description:"合併Series資料的泡泡圖",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value,sumSeries:!0},allPluginParams:{}};E.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const l={name:"PRESET_PIE_BASIC",description:"基本圓餅圖",chartParams:{colors:{light:{label:["#7DD3C4","#FFA0A0","#6CBAFF","#55D339","#F9B052","#FF6C6C","#8E6BC9","#0088FF","#904026","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value},allPluginParams:{SeriesLegend:{listRectRadius:7}}};l.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const r={name:"PRESET_PIE_DONUT",description:"甜甜圈圖",chartParams:{colors:{light:{label:["#7DD3C4","#FFA0A0","#6CBAFF","#55D339","#F9B052","#FF6C6C","#8E6BC9","#0088FF","#904026","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value},allPluginParams:{Pie:{innerRadius:.5},PieLabels:{},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}};r.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const s={name:"PRESET_PIE_HALF_DONUT",description:"半圓甜甜圈圖",chartParams:{colors:{light:{label:["#7DD3C4","#FFA0A0","#6CBAFF","#55D339","#F9B052","#FF6C6C","#8E6BC9","#0088FF","#904026","#C4C4C4"]}},padding:{top:120,right:60,bottom:0,left:60}},dataFormatter:{sort:(a,e)=>e.value-a.value},allPluginParams:{Pie:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2},PieLabels:{startAngle:-Math.PI/2,endAngle:Math.PI/2},PieEventTexts:{},SeriesLegend:{placement:"bottom",listRectRadius:7}}};s.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const o={name:"PRESET_PIE_WITH_INNER_LABELS",description:"圓餅圖及內部資料標籤",chartParams:{colors:{light:{label:["#7DD3C4","#FFA0A0","#6CBAFF","#55D339","#F9B052","#FF6C6C","#8E6BC9","#0088FF","#904026","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value},allPluginParams:{Pie:{},PieLabels:{labelCentroid:1.3,labelColorType:"labelContrast"},PieEventTexts:{},SeriesLegend:{listRectRadius:7}}};o.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const S={name:"PRESET_PIE_SEPARATE_SERIES",description:"分開顯示Series的圓餅圖",chartParams:{colors:{light:{label:["#7DD3C4","#FFA0A0","#6CBAFF","#55D339","#F9B052","#FF6C6C","#8E6BC9","#0088FF","#904026","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value,separateSeries:!0},allPluginParams:{}};S.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const _={name:"PRESET_PIE_SUM_SERIES",description:"合併Series資料的圓餅圖",chartParams:{colors:{light:{label:["#7DD3C4","#FFA0A0","#6CBAFF","#55D339","#F9B052","#FF6C6C","#8E6BC9","#0088FF","#904026","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value,sumSeries:!0},allPluginParams:{}};_.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const R={name:"PRESET_ROSE_BASIC",description:"基本Rose參數",chartParams:{colors:{light:{label:["#8BC8FF","#4BABFF","#0088FF","#55D339","#29AB0C","#16B59B","#FCDCAD","#F9B052","#FF6C6C","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value},allPluginParams:{SeriesLegend:{listRectRadius:7}}};R.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const A={name:"PRESET_ROSE_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的玫瑰圖",chartParams:{colors:{light:{label:["#8BC8FF","#4BABFF","#0088FF","#55D339","#29AB0C","#16B59B","#FCDCAD","#F9B052","#FF6C6C","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value},allPluginParams:{Rose:{arcScaleType:"radius"},RoseLabels:{arcScaleType:"radius"},SeriesLegend:{listRectRadius:7}}};A.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const n={name:"PRESET_ROSE_SEPARATE_SERIES",description:"分開顯示Series的玫瑰圖",chartParams:{colors:{light:{label:["#8BC8FF","#4BABFF","#0088FF","#55D339","#29AB0C","#16B59B","#FCDCAD","#F9B052","#FF6C6C","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value,separateSeries:!0},allPluginParams:{}};n.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const F={name:"PRESET_ROSE_SUM_SERIES",description:"合併Series資料的玫瑰圖",chartParams:{colors:{light:{label:["#8BC8FF","#4BABFF","#0088FF","#55D339","#29AB0C","#16B59B","#FCDCAD","#F9B052","#FF6C6C","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value,sumSeries:!0},allPluginParams:{}};F.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const B={name:"PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES",description:"分開顯示Series並合併Series資料",chartParams:{colors:{light:{label:["#8BC8FF","#4BABFF","#0088FF","#55D339","#29AB0C","#16B59B","#FCDCAD","#F9B052","#FF6C6C","#C4C4C4"]}}},dataFormatter:{sort:(a,e)=>e.value-a.value,separateSeries:!0,sumSeries:!0},allPluginParams:{}};B.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const u={name:"PRESET_SERIES_BASIC",description:"基本Series參數",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}}},allPluginParams:{SeriesLegend:{listRectRadius:7}}},d={name:"PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",description:"分開顯示Series並合併Series資料",dataFormatter:{sort:(a,e)=>e.value-a.value,separateSeries:!0,sumSeries:!0},allPluginParams:{}};d.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const P={name:"PRESET_SERIES_SEPARATE_SERIES",description:"分開顯示Series",dataFormatter:{sort:(a,e)=>e.value-a.value,separateSeries:!0},allPluginParams:{}};P.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const g={name:"PRESET_SERIES_SUM_SERIES",description:"合併Series資料",dataFormatter:{sort:(a,e)=>e.value-a.value,sumSeries:!0},allPluginParams:{}};g.dataFormatter.sort.toString=()=>"(a, b) => b.value - a.value";const I={name:"PRESET_BARS_HORIZONTAL_AND_ROUND",description:"橫向圓角長條圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:160}},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}},allPluginParams:{Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectRadius:7}}},m={name:"PRESET_BARS_HORIZONTAL_AND_THIN",description:"橫向細長長條圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:160}},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}},allPluginParams:{Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14}}},D={name:"PRESET_BARS_ROUND",description:"圓角長條圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80}},allPluginParams:{Bars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectRadius:7}}},L={name:"PRESET_BARS_THIN",description:"細長條圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80}},allPluginParams:{Bars:{barWidth:20,barPadding:1,barGroupPadding:10},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14}}},p={name:"PRESET_GRID_BASIC",description:"基本Grid參數",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80}},allPluginParams:{GridLegend:{placement:"bottom",padding:14}}},h={name:"PRESET_GRID_HORIZONTAL",description:"橫向圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:160}},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}},allPluginParams:{GridLegend:{placement:"bottom",padding:14}}},b={name:"PRESET_GRID_PN_SCALE",description:"正負值分向圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80}},dataFormatter:{valueAxis:{scaleDomain:["auto","auto"],scaleRange:[.05,.95]}},allPluginParams:{GridLegend:{placement:"bottom",padding:14}}},O={name:"PRESET_GRID_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:140,left:80}},allPluginParams:{GroupAux:{labelRotate:-30},GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{placement:"bottom",padding:14}}},N={name:"PRESET_GRID_SEPARATE_SERIES",description:"分開顯示Series",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:140,left:80}},dataFormatter:{separateSeries:!0},allPluginParams:{GroupAux:{labelRotate:-30},GroupAxis:{tickPadding:15,tickTextRotate:-30},GridLegend:{placement:"bottom",padding:14}}},G={name:"PRESET_LINE_AREAS_BASIC",description:"基本LineArea參數",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80},highlightTarget:"series"},dataFormatter:{groupAxis:{scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},M={name:"PRESET_LINE_AREAS_CURVE",description:"弧線折線圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80},highlightTarget:"series"},dataFormatter:{groupAxis:{scalePadding:0}},allPluginParams:{Lines:{lineCurve:"curveMonotoneX",lineWidth:3},LineAreas:{lineCurve:"curveMonotoneX"},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},U={name:"PRESET_LINE_AREAS_HORIZONTAL",description:"橫向折線圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:160},highlightTarget:"series"},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left",scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},v={name:"PRESET_LINE_AREAS_LOOSE_TICKS",description:"寬鬆標籤",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80},highlightTarget:"series"},dataFormatter:{groupAxis:{scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},x={name:"PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:140,left:80},highlightTarget:"series"},dataFormatter:{groupAxis:{scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{labelRotate:-30},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},H={name:"PRESET_LINE_AREAS_SEPARATE_SERIES",description:"LineAreas 分開顯示Series",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:140,left:80},highlightTarget:"series"},dataFormatter:{separateSeries:!0,groupAxis:{scalePadding:0}},allPluginParams:{Lines:{},LineAreas:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{labelRotate:-30},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},f={name:"PRESET_LINES_BASIC",description:"基本Lines參數",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80},highlightTarget:"series"},allPluginParams:{Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},V={name:"PRESET_LINES_CURVE",description:"弧線折線圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80},highlightTarget:"series"},allPluginParams:{Lines:{lineCurve:"curveMonotoneX",lineWidth:3},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},W={name:"PRESET_LINES_HORIZONTAL",description:"橫向折線圖",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:160},highlightTarget:"series"},dataFormatter:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}},allPluginParams:{Lines:{},Dots:{},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},k={name:"PRESET_LINES_LOOSE_TICKS",description:"寬鬆標籤",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80},highlightTarget:"series"},allPluginParams:{Lines:{},Dots:{},GroupAxis:{ticks:6},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},Y={name:"PRESET_LINES_ROTATE_AXIS_LABEL",description:"傾斜標籤",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:140,left:80},highlightTarget:"series"},allPluginParams:{Lines:{},Dots:{},GroupAxis:{tickPadding:15,tickTextRotate:-30},ValueAxis:{},GroupAux:{labelRotate:-30},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},Z={name:"PRESET_LINES_WITH_SOLID_DOTS",description:"折線圖及實心圓點",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}},padding:{top:60,right:60,bottom:100,left:80},highlightTarget:"series"},allPluginParams:{Lines:{},Dots:{radius:3,fillColorType:"label",onlyShowHighlighted:!1},GroupAxis:{},ValueAxis:{},GroupAux:{},GridLegend:{placement:"bottom",padding:14,listRectHeight:2}}},X={name:"PRESET_MULTI_GRID_BASIC",description:"基本MultiGrid參數",chartParams:{colors:{light:{label:["#4BABFF","#94D6CB","#F9B052","#8454D4","#D58C75","#42C724","#FF8B8B","#904026","#C50669","#4B25B3"]}},padding:{top:60,right:60,bottom:100,left:80},highlightTarget:"series"},allPluginParams:{MultiGridLegend:{placement:"bottom",padding:14,gridList:[{},{listRectHeight:2}]}}},y={name:"PRESET_MULTI_GRID_DIVERGING",description:"雙向折線圖",chartParams:{colors:{light:{label:["#4BABFF","#94D6CB","#F9B052","#8454D4","#D58C75","#42C724","#FF8B8B","#904026","#C50669","#4B25B3"]}},padding:{top:60,right:60,bottom:100,left:80}},dataFormatter:{gridList:[{groupAxis:{position:"right"},valueAxis:{position:"bottom"}},{groupAxis:{position:"left"},valueAxis:{position:"bottom"}}],container:{gap:160,rowAmount:1,columnAmount:2},separateGrid:!0},allPluginParams:{MultiGroupAxis:{gridIndexes:[0]},MultiValueAxis:{gridIndexes:[0,1]},MultiStackedValueAxis:{gridIndexes:[0,1]},MultiBars:{gridIndexes:[0,1]},MultiStackedBar:{gridIndexes:[0,1]},MultiBarsTriangle:{gridIndexes:[0,1]},MultiLines:{gridIndexes:[0,1]},MultiLineAreas:{gridIndexes:[0,1]},MultiDots:{gridIndexes:[0,1]},MultiGridLegend:{placement:"bottom",padding:14}}},w={name:"PRESET_MULTI_GRID_ROUND_STYLE",description:"MultiGrid圓弧風格",chartParams:{colors:{light:{label:["#4BABFF","#94D6CB","#F9B052","#8454D4","#D58C75","#42C724","#FF8B8B","#904026","#C50669","#4B25B3"]}},padding:{top:60,right:60,bottom:100,left:80},highlightTarget:"series"},allPluginParams:{MultiBars:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0},MultiStackedBar:{},MultiDots:{},MultiGridLegend:{placement:"bottom",padding:14,gridList:[{listRectRadius:7},{listRectHeight:2}]},MultiGroupAxis:{},MultiLineAreas:{},MultiLines:{lineCurve:"curveMonotoneX",lineWidth:3},MultiValueAxis:{},MultiStackedValueAxis:{},OverlappingValueAxes:{},OverlappingStackedValueAxes:{}}},K={name:"PRESET_MULTI_GRID_SEPARATE_GRID",description:"2組Grid圖表",chartParams:{colors:{light:{label:["#4BABFF","#94D6CB","#F9B052","#8454D4","#D58C75","#42C724","#FF8B8B","#904026","#C50669","#4B25B3"]}},padding:{top:60,right:60,bottom:140,left:80}},dataFormatter:{separateGrid:!0},allPluginParams:{MultiGroupAxis:{tickTextRotate:-30,gridIndexes:"all"},MultiValueAxis:{gridIndexes:"all"},MultiStackedValueAxis:{gridIndexes:"all"},MultiBars:{gridIndexes:"all"},MultiStackedBar:{gridIndexes:"all"},MultiBarsTriangle:{gridIndexes:"all"},MultiLines:{gridIndexes:"all"},MultiLineAreas:{gridIndexes:"all"},MultiDots:{gridIndexes:"all"},MultiGridLegend:{placement:"bottom",padding:14}}},C={},z={name:"PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",description:"2組區域圖表",chartParams:{colors:{light:{label:["#4BABFF","#94D6CB","#F9B052","#8454D4","#D58C75","#42C724","#FF8B8B","#904026","#C50669","#4B25B3"]}},padding:{top:60,right:60,bottom:140,left:80}},dataFormatter:{gridList:[{groupAxis:{scalePadding:0}},{groupAxis:{scalePadding:0}}],separateGrid:!0},allPluginParams:{...C,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:"all"},MultiValueAxis:{gridIndexes:"all"},MultiStackedValueAxis:{gridIndexes:"all"},MultiBars:{gridIndexes:"all"},MultiStackedBar:{gridIndexes:"all"},MultiBarsTriangle:{gridIndexes:"all"},MultiLines:{gridIndexes:"all"},MultiLineAreas:{gridIndexes:"all"},MultiDots:{gridIndexes:"all"},MultiGridLegend:{placement:"bottom",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},j={name:"PRESET_MULTI_LINES_SEPARATE_GRID",description:"多組分開折線圖表",chartParams:{colors:{light:{label:["#4BABFF","#94D6CB","#F9B052","#8454D4","#D58C75","#42C724","#FF8B8B","#904026","#C50669","#4B25B3"]}},padding:{top:60,right:60,bottom:140,left:80}},dataFormatter:{separateGrid:!0},allPluginParams:{...C,MultiGroupAxis:{tickTextRotate:-30,gridIndexes:"all"},MultiValueAxis:{gridIndexes:"all"},MultiStackedValueAxis:{gridIndexes:"all"},MultiBars:{gridIndexes:"all"},MultiStackedBar:{gridIndexes:"all"},MultiBarsTriangle:{gridIndexes:"all"},MultiLines:{gridIndexes:"all"},MultiLineAreas:{gridIndexes:"all"},MultiDots:{gridIndexes:"all"},MultiGridLegend:{placement:"bottom",padding:14,gridList:[{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2},{listRectHeight:2}]}}},q={name:"PRESET_MULTI_VALUE_BASIC",description:"基本MultiValue參數",chartParams:{colors:{light:{label:["#7DD3C4","#FFA0A0","#6CBAFF","#55D339","#F9B052","#FF6C6C","#8E6BC9","#0088FF","#904026","#C4C4C4"]}},padding:{top:60,right:60,bottom:100,left:60}},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14}}},J={name:"PRESET_MULTI_VALUE_SEPARATE_CATEGORY",description:"MultiValue 分開顯示category",chartParams:{colors:{light:{label:["#7DD3C4","#FFA0A0","#6CBAFF","#55D339","#F9B052","#FF6C6C","#8E6BC9","#0088FF","#904026","#C4C4C4"]}},padding:{top:60,right:60,bottom:100,left:60}},dataFormatter:{separateCategory:!0},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14}}},Q={name:"PRESET_SCATTER_BASIC",description:"基本散布圖",chartParams:{colors:{light:{label:["#16B59B","#0088FF","#FF3232","#8E6BC9","#904026","#D117EA","#F38428","#6BDC51","#C50669","#4B25B3"]}},padding:{top:60,right:60,bottom:100,left:60}},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14}}},$={name:"PRESET_SCATTER_SEPARATE_CATEGORY",description:"分開顯示category的散布圖",chartParams:{colors:{light:{label:["#16B59B","#0088FF","#FF3232","#8E6BC9","#904026","#D117EA","#F38428","#6BDC51","#C50669","#4B25B3"]}},padding:{top:60,right:60,bottom:100,left:60}},dataFormatter:{separateCategory:!0},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14}}},tt={name:"PRESET_SCATTER_BUBBLES_BASIC",description:"基本的散布泡泡圖",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}},padding:{top:60,right:60,bottom:100,left:60}},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14}}},at={name:"PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",description:"以半徑尺寸為比例的散布泡泡圖",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}},padding:{top:60,right:60,bottom:100,left:60}},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14},ScatterBubbles:{arcScaleType:"radius"}}},et={name:"PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",description:"漸變透明度的散布泡泡圖",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}},padding:{top:60,right:60,bottom:100,left:60}},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14},ScatterBubbles:{valueLinearOpacity:[.6,.95]}}},it={name:"PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY",description:"分開顯示category的散布泡泡圖",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}},padding:{top:60,right:60,bottom:100,left:60}},dataFormatter:{separateCategory:!0},allPluginParams:{MultiValueLegend:{placement:"bottom",padding:14}}},Et={name:"PRESET_FORCE_DIRECTED_BASIC",description:"基本Force Directed參數",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}}},allPluginParams:{ForceDirected:{},RelationshipLegend:{listRectRadius:7}}},lt={name:"PRESET_FORCE_DIRECTED_BUBBLES_BASIC",description:"基本Force Directed Bubbles參數",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}}},allPluginParams:{ForceDirectedBubbles:{},RelationshipLegend:{listRectRadius:7}}},rt={name:"PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH",description:"Force Directed Bubbles固定箭頭寬度",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}}},allPluginParams:{ForceDirectedBubbles:{arrow:{strokeWidthMin:1.5,strokeWidthMax:1.5}},RelationshipLegend:{listRectRadius:7}}},st={name:"PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",description:"Force Directed Bubbles沒有箭頭",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}}},allPluginParams:{ForceDirectedBubbles:{arrow:{pointerWidth:0,pointerHeight:0}},RelationshipLegend:{listRectRadius:7}}},ot={name:"PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",description:"Force Directed Bubbles無滑鼠托曳及縮放控制",chartParams:{colors:{light:{label:["#6CBAFF","#FF6C6C","#F9B052","#7DD3C4","#AA93D2","#0088FF","#FFBABA","#86DC72","#EF76FF","#C4C4C4"]}}},allPluginParams:{ForceDirectedBubbles:{zoomable:!1},RelationshipLegend:{listRectRadius:7}}},St={name:"PRESET_FORCE_DIRECTED_NONE_ZOOM",description:"Force Directed無滑鼠托曳及縮放控制",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}}},allPluginParams:{ForceDirected:{zoomable:!1},RelationshipLegend:{listRectRadius:7}}},_t={name:"PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",description:"基本Force Directed參數",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}}},allPluginParams:{ForceDirected:{dotLabel:{sizeFixed:!0},arrowLabel:{sizeFixed:!0}},RelationshipLegend:{listRectRadius:7}}},Rt={name:"PRESET_FORCE_DIRECTED_NONE_ARROW",description:"Force Directed沒有箭頭",chartParams:{colors:{light:{label:["#4BABFF","#FFA0A0","#7DD3C4","#F9B052","#8454D4","#42C724","#FF4B4B","#904026","#4B25B3","#C50669"]}}},allPluginParams:{ForceDirected:{arrow:{pointerWidth:0,pointerHeight:0}},RelationshipLegend:{listRectRadius:7}}},At={name:"PRESET_TREE_MAP_BASIC",description:"基本Tree Map參數",chartParams:{colors:{light:{label:["#4BABFF","#94D6CB","#F9B052","#8454D4","#D58C75","#42C724","#FF8B8B","#904026","#C50669","#4B25B3"]}},padding:{top:40,right:40,bottom:70,left:40}},allPluginParams:{TreeMap:{},TreeLegend:{placement:"bottom",padding:14}}};t.PRESET_BARS_HORIZONTAL_AND_ROUND=I,t.PRESET_BARS_HORIZONTAL_AND_THIN=m,t.PRESET_BARS_ROUND=D,t.PRESET_BARS_THIN=L,t.PRESET_BUBBLES_BASIC=i,t.PRESET_BUBBLES_SCALING_BY_RADIUS=T,t.PRESET_BUBBLES_SEPARATE_SERIES=c,t.PRESET_BUBBLES_SUM_SERIES=E,t.PRESET_FORCE_DIRECTED_BASIC=Et,t.PRESET_FORCE_DIRECTED_BUBBLES_BASIC=lt,t.PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH=rt,t.PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW=st,t.PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM=ot,t.PRESET_FORCE_DIRECTED_FIX_FONT_SIZE=_t,t.PRESET_FORCE_DIRECTED_NONE_ARROW=Rt,t.PRESET_FORCE_DIRECTED_NONE_ZOOM=St,t.PRESET_GRID_BASIC=p,t.PRESET_GRID_HORIZONTAL=h,t.PRESET_GRID_PN_SCALE=b,t.PRESET_GRID_ROTATE_AXIS_LABEL=O,t.PRESET_GRID_SEPARATE_SERIES=N,t.PRESET_LINES_BASIC=f,t.PRESET_LINES_CURVE=V,t.PRESET_LINES_HORIZONTAL=W,t.PRESET_LINES_LOOSE_TICKS=k,t.PRESET_LINES_ROTATE_AXIS_LABEL=Y,t.PRESET_LINES_WITH_SOLID_DOTS=Z,t.PRESET_LINE_AREAS_BASIC=G,t.PRESET_LINE_AREAS_CURVE=M,t.PRESET_LINE_AREAS_HORIZONTAL=U,t.PRESET_LINE_AREAS_LOOSE_TICKS=v,t.PRESET_LINE_AREAS_ROTATE_AXIS_LABEL=x,t.PRESET_LINE_AREAS_SEPARATE_SERIES=H,t.PRESET_MULTI_GRID_BASIC=X,t.PRESET_MULTI_GRID_DIVERGING=y,t.PRESET_MULTI_GRID_ROUND_STYLE=w,t.PRESET_MULTI_GRID_SEPARATE_GRID=K,t.PRESET_MULTI_LINES_SEPARATE_GRID=j,t.PRESET_MULTI_LINE_AREAS_SEPARATE_GRID=z,t.PRESET_MULTI_VALUE_BASIC=q,t.PRESET_MULTI_VALUE_SEPARATE_CATEGORY=J,t.PRESET_PIE_BASIC=l,t.PRESET_PIE_DONUT=r,t.PRESET_PIE_HALF_DONUT=s,t.PRESET_PIE_SEPARATE_SERIES=S,t.PRESET_PIE_SUM_SERIES=_,t.PRESET_PIE_WITH_INNER_LABELS=o,t.PRESET_ROSE_BASIC=R,t.PRESET_ROSE_SCALING_BY_RADIUS=A,t.PRESET_ROSE_SEPARATE_SERIES=n,t.PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES=B,t.PRESET_ROSE_SUM_SERIES=F,t.PRESET_SCATTER_BASIC=Q,t.PRESET_SCATTER_BUBBLES_BASIC=tt,t.PRESET_SCATTER_BUBBLES_LINEAR_OPACITY=et,t.PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS=at,t.PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY=it,t.PRESET_SCATTER_SEPARATE_CATEGORY=$,t.PRESET_SERIES_BASIC=u,t.PRESET_SERIES_SEPARATE_SERIES=P,t.PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES=d,t.PRESET_SERIES_SUM_SERIES=g,t.PRESET_TREE_MAP_BASIC=At,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetMultiValuePluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_SCATTER_BASIC: PresetPartial<'multiValue', Partial<PresetMultiValuePluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetMultiValuePluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_SCATTER_BUBBLES_BASIC: PresetPartial<'multiValue', Partial<PresetMultiValuePluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetMultiValuePluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY: PresetPartial<'multiValue', Partial<PresetMultiValuePluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetMultiValuePluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_SCATTER_SEPARATE_CATEGORY: PresetPartial<'multiValue', Partial<PresetMultiValuePluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -1,4 +1,8 @@
|
|
1
1
|
export { PRESET_MULTI_VALUE_BASIC } from './PRESET_MULTI_VALUE_BASIC';
|
2
2
|
export { PRESET_MULTI_VALUE_SEPARATE_CATEGORY } from './PRESET_MULTI_VALUE_SEPARATE_CATEGORY';
|
3
|
+
export { PRESET_SCATTER_BASIC } from './PRESET_SCATTER_BASIC';
|
4
|
+
export { PRESET_SCATTER_SEPARATE_CATEGORY } from './PRESET_SCATTER_SEPARATE_CATEGORY';
|
5
|
+
export { PRESET_SCATTER_BUBBLES_BASIC } from './PRESET_SCATTER_BUBBLES_BASIC';
|
3
6
|
export { PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS } from './PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS';
|
4
7
|
export { PRESET_SCATTER_BUBBLES_LINEAR_OPACITY } from './PRESET_SCATTER_BUBBLES_LINEAR_OPACITY';
|
8
|
+
export { PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY } from './PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY';
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetSeriesPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_BUBBLES_BASIC: PresetPartial<'series', Partial<PresetSeriesPluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetSeriesPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_BUBBLES_SUM_SERIES: PresetPartial<'series', Partial<PresetSeriesPluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetSeriesPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_PIE_SEPARATE_SERIES: PresetPartial<'series', Partial<PresetSeriesPluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetSeriesPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_PIE_SUM_SERIES: PresetPartial<'series', Partial<PresetSeriesPluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetSeriesPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_ROSE_SEPARATE_SERIES: PresetPartial<'series', Partial<PresetSeriesPluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetSeriesPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES: PresetPartial<'series', Partial<PresetSeriesPluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { PresetPartial } from '../../lib/core-types';
|
2
|
+
import { PresetSeriesPluginParams, PresetNoneDataPluginParams } from '../types';
|
3
|
+
|
4
|
+
export declare const PRESET_ROSE_SUM_SERIES: PresetPartial<'series', Partial<PresetSeriesPluginParams> & Partial<PresetNoneDataPluginParams>>;
|
@@ -1,11 +1,18 @@
|
|
1
|
+
export { PRESET_BUBBLES_BASIC } from './PRESET_BUBBLES_BASIC';
|
1
2
|
export { PRESET_BUBBLES_SCALING_BY_RADIUS } from './PRESET_BUBBLES_SCALING_BY_RADIUS';
|
2
3
|
export { PRESET_BUBBLES_SEPARATE_SERIES } from './PRESET_BUBBLES_SEPARATE_SERIES';
|
4
|
+
export { PRESET_BUBBLES_SUM_SERIES } from './PRESET_BUBBLES_SUM_SERIES';
|
3
5
|
export { PRESET_PIE_BASIC } from './PRESET_PIE_BASIC';
|
4
6
|
export { PRESET_PIE_DONUT } from './PRESET_PIE_DONUT';
|
5
7
|
export { PRESET_PIE_HALF_DONUT } from './PRESET_PIE_HALF_DONUT';
|
6
8
|
export { PRESET_PIE_WITH_INNER_LABELS } from './PRESET_PIE_WITH_INNER_LABELS';
|
9
|
+
export { PRESET_PIE_SEPARATE_SERIES } from './PRESET_PIE_SEPARATE_SERIES';
|
10
|
+
export { PRESET_PIE_SUM_SERIES } from './PRESET_PIE_SUM_SERIES';
|
7
11
|
export { PRESET_ROSE_BASIC } from './PRESET_ROSE_BASIC';
|
8
12
|
export { PRESET_ROSE_SCALING_BY_RADIUS } from './PRESET_ROSE_SCALING_BY_RADIUS';
|
13
|
+
export { PRESET_ROSE_SEPARATE_SERIES } from './PRESET_ROSE_SEPARATE_SERIES';
|
14
|
+
export { PRESET_ROSE_SUM_SERIES } from './PRESET_ROSE_SUM_SERIES';
|
15
|
+
export { PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES } from './PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES';
|
9
16
|
export { PRESET_SERIES_BASIC } from './PRESET_SERIES_BASIC';
|
10
17
|
export { PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES } from './PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES';
|
11
18
|
export { PRESET_SERIES_SEPARATE_SERIES } from './PRESET_SERIES_SEPARATE_SERIES';
|
package/package.json
CHANGED
@@ -10,10 +10,26 @@ export const PRESET_BARS_HORIZONTAL_AND_ROUND: PresetPartial<'grid', Partial<Pre
|
|
10
10
|
name: 'PRESET_BARS_HORIZONTAL_AND_ROUND',
|
11
11
|
description: '橫向圓角長條圖',
|
12
12
|
chartParams: {
|
13
|
+
colors: {
|
14
|
+
light: {
|
15
|
+
label: [
|
16
|
+
"#4BABFF",
|
17
|
+
"#FFA0A0",
|
18
|
+
"#7DD3C4",
|
19
|
+
"#F9B052",
|
20
|
+
"#8454D4",
|
21
|
+
"#42C724",
|
22
|
+
"#FF4B4B",
|
23
|
+
"#904026",
|
24
|
+
"#4B25B3",
|
25
|
+
"#C50669"
|
26
|
+
],
|
27
|
+
}
|
28
|
+
},
|
13
29
|
padding: {
|
14
30
|
top: 60,
|
15
31
|
right: 60,
|
16
|
-
bottom:
|
32
|
+
bottom: 100,
|
17
33
|
left: 160
|
18
34
|
},
|
19
35
|
},
|
@@ -9,10 +9,26 @@ export const PRESET_BARS_HORIZONTAL_AND_THIN: PresetPartial<'grid', Partial<Pres
|
|
9
9
|
name: 'PRESET_BARS_HORIZONTAL_AND_THIN',
|
10
10
|
description: '橫向細長長條圖',
|
11
11
|
chartParams: {
|
12
|
+
colors: {
|
13
|
+
light: {
|
14
|
+
label: [
|
15
|
+
"#4BABFF",
|
16
|
+
"#FFA0A0",
|
17
|
+
"#7DD3C4",
|
18
|
+
"#F9B052",
|
19
|
+
"#8454D4",
|
20
|
+
"#42C724",
|
21
|
+
"#FF4B4B",
|
22
|
+
"#904026",
|
23
|
+
"#4B25B3",
|
24
|
+
"#C50669"
|
25
|
+
],
|
26
|
+
}
|
27
|
+
},
|
12
28
|
padding: {
|
13
29
|
top: 60,
|
14
30
|
right: 60,
|
15
|
-
bottom:
|
31
|
+
bottom: 100,
|
16
32
|
left: 160
|
17
33
|
},
|
18
34
|
},
|
@@ -9,11 +9,27 @@ export const PRESET_BARS_ROUND: PresetPartial<'grid', Partial<PresetGridPluginPa
|
|
9
9
|
name: 'PRESET_BARS_ROUND',
|
10
10
|
description: '圓角長條圖',
|
11
11
|
chartParams: {
|
12
|
+
colors: {
|
13
|
+
light: {
|
14
|
+
label: [
|
15
|
+
"#4BABFF",
|
16
|
+
"#FFA0A0",
|
17
|
+
"#7DD3C4",
|
18
|
+
"#F9B052",
|
19
|
+
"#8454D4",
|
20
|
+
"#42C724",
|
21
|
+
"#FF4B4B",
|
22
|
+
"#904026",
|
23
|
+
"#4B25B3",
|
24
|
+
"#C50669"
|
25
|
+
],
|
26
|
+
}
|
27
|
+
},
|
12
28
|
padding: {
|
13
29
|
top: 60,
|
14
30
|
right: 60,
|
15
|
-
bottom:
|
16
|
-
left:
|
31
|
+
bottom: 100,
|
32
|
+
left: 80
|
17
33
|
},
|
18
34
|
},
|
19
35
|
allPluginParams: {
|
@@ -9,11 +9,27 @@ export const PRESET_BARS_THIN: PresetPartial<'grid', Partial<PresetGridPluginPar
|
|
9
9
|
name: 'PRESET_BARS_THIN',
|
10
10
|
description: '細長條圖',
|
11
11
|
chartParams: {
|
12
|
+
colors: {
|
13
|
+
light: {
|
14
|
+
label: [
|
15
|
+
"#4BABFF",
|
16
|
+
"#FFA0A0",
|
17
|
+
"#7DD3C4",
|
18
|
+
"#F9B052",
|
19
|
+
"#8454D4",
|
20
|
+
"#42C724",
|
21
|
+
"#FF4B4B",
|
22
|
+
"#904026",
|
23
|
+
"#4B25B3",
|
24
|
+
"#C50669"
|
25
|
+
],
|
26
|
+
}
|
27
|
+
},
|
12
28
|
padding: {
|
13
29
|
top: 60,
|
14
30
|
right: 60,
|
15
|
-
bottom:
|
16
|
-
left:
|
31
|
+
bottom: 100,
|
32
|
+
left: 80
|
17
33
|
},
|
18
34
|
},
|
19
35
|
allPluginParams: {
|
@@ -7,11 +7,27 @@ export const PRESET_GRID_BASIC: PresetPartial<'grid', Partial<PresetGridPluginPa
|
|
7
7
|
name: 'PRESET_GRID_BASIC',
|
8
8
|
description: '基本Grid參數',
|
9
9
|
chartParams: {
|
10
|
+
colors: {
|
11
|
+
light: {
|
12
|
+
label: [
|
13
|
+
"#4BABFF",
|
14
|
+
"#FFA0A0",
|
15
|
+
"#7DD3C4",
|
16
|
+
"#F9B052",
|
17
|
+
"#8454D4",
|
18
|
+
"#42C724",
|
19
|
+
"#FF4B4B",
|
20
|
+
"#904026",
|
21
|
+
"#4B25B3",
|
22
|
+
"#C50669"
|
23
|
+
],
|
24
|
+
}
|
25
|
+
},
|
10
26
|
padding: {
|
11
27
|
top: 60,
|
12
28
|
right: 60,
|
13
|
-
bottom:
|
14
|
-
left:
|
29
|
+
bottom: 100,
|
30
|
+
left: 80
|
15
31
|
},
|
16
32
|
},
|
17
33
|
allPluginParams: {
|
@@ -7,11 +7,27 @@ export const PRESET_GRID_HORIZONTAL: PresetPartial<'grid', Partial<PresetGridPlu
|
|
7
7
|
name: 'PRESET_GRID_HORIZONTAL',
|
8
8
|
description: '橫向圖',
|
9
9
|
chartParams: {
|
10
|
+
colors: {
|
11
|
+
light: {
|
12
|
+
label: [
|
13
|
+
"#4BABFF",
|
14
|
+
"#FFA0A0",
|
15
|
+
"#7DD3C4",
|
16
|
+
"#F9B052",
|
17
|
+
"#8454D4",
|
18
|
+
"#42C724",
|
19
|
+
"#FF4B4B",
|
20
|
+
"#904026",
|
21
|
+
"#4B25B3",
|
22
|
+
"#C50669"
|
23
|
+
],
|
24
|
+
}
|
25
|
+
},
|
10
26
|
// 間距下面及左邊留空
|
11
27
|
padding: {
|
12
28
|
top: 60,
|
13
29
|
right: 60,
|
14
|
-
bottom:
|
30
|
+
bottom: 100,
|
15
31
|
left: 160
|
16
32
|
},
|
17
33
|
},
|
@@ -7,11 +7,27 @@ export const PRESET_GRID_PN_SCALE: PresetPartial<'grid', Partial<PresetGridPlugi
|
|
7
7
|
name: 'PRESET_GRID_PN_SCALE',
|
8
8
|
description: '正負值分向圖',
|
9
9
|
chartParams: {
|
10
|
+
colors: {
|
11
|
+
light: {
|
12
|
+
label: [
|
13
|
+
"#4BABFF",
|
14
|
+
"#FFA0A0",
|
15
|
+
"#7DD3C4",
|
16
|
+
"#F9B052",
|
17
|
+
"#8454D4",
|
18
|
+
"#42C724",
|
19
|
+
"#FF4B4B",
|
20
|
+
"#904026",
|
21
|
+
"#4B25B3",
|
22
|
+
"#C50669"
|
23
|
+
],
|
24
|
+
}
|
25
|
+
},
|
10
26
|
padding: {
|
11
27
|
top: 60,
|
12
28
|
right: 60,
|
13
|
-
bottom:
|
14
|
-
left:
|
29
|
+
bottom: 100,
|
30
|
+
left: 80
|
15
31
|
},
|
16
32
|
},
|
17
33
|
dataFormatter: {
|
@@ -7,12 +7,28 @@ export const PRESET_GRID_ROTATE_AXIS_LABEL: PresetPartial<'grid', Partial<Preset
|
|
7
7
|
name: 'PRESET_GRID_ROTATE_AXIS_LABEL',
|
8
8
|
description: '傾斜標籤',
|
9
9
|
chartParams: {
|
10
|
+
colors: {
|
11
|
+
light: {
|
12
|
+
label: [
|
13
|
+
"#4BABFF",
|
14
|
+
"#FFA0A0",
|
15
|
+
"#7DD3C4",
|
16
|
+
"#F9B052",
|
17
|
+
"#8454D4",
|
18
|
+
"#42C724",
|
19
|
+
"#FF4B4B",
|
20
|
+
"#904026",
|
21
|
+
"#4B25B3",
|
22
|
+
"#C50669"
|
23
|
+
],
|
24
|
+
}
|
25
|
+
},
|
10
26
|
// 間距下面加長留空
|
11
27
|
padding: {
|
12
28
|
top: 60,
|
13
29
|
right: 60,
|
14
|
-
bottom:
|
15
|
-
left:
|
30
|
+
bottom: 140,
|
31
|
+
left: 80
|
16
32
|
},
|
17
33
|
},
|
18
34
|
allPluginParams: {
|
@@ -7,11 +7,27 @@ export const PRESET_GRID_SEPARATE_SERIES: PresetPartial<'grid', Partial<PresetGr
|
|
7
7
|
name: 'PRESET_GRID_SEPARATE_SERIES',
|
8
8
|
description: '分開顯示Series',
|
9
9
|
chartParams: {
|
10
|
+
colors: {
|
11
|
+
light: {
|
12
|
+
label: [
|
13
|
+
"#4BABFF",
|
14
|
+
"#FFA0A0",
|
15
|
+
"#7DD3C4",
|
16
|
+
"#F9B052",
|
17
|
+
"#8454D4",
|
18
|
+
"#42C724",
|
19
|
+
"#FF4B4B",
|
20
|
+
"#904026",
|
21
|
+
"#4B25B3",
|
22
|
+
"#C50669"
|
23
|
+
],
|
24
|
+
}
|
25
|
+
},
|
10
26
|
padding: {
|
11
27
|
top: 60,
|
12
28
|
right: 60,
|
13
|
-
bottom:
|
14
|
-
left:
|
29
|
+
bottom: 140,
|
30
|
+
left: 80
|
15
31
|
},
|
16
32
|
},
|
17
33
|
dataFormatter: {
|
@@ -9,11 +9,27 @@ export const PRESET_LINES_BASIC: PresetPartial<'grid', Partial<PresetGridPluginP
|
|
9
9
|
name: 'PRESET_LINES_BASIC',
|
10
10
|
description: '基本Lines參數',
|
11
11
|
chartParams: {
|
12
|
+
colors: {
|
13
|
+
light: {
|
14
|
+
label: [
|
15
|
+
"#4BABFF",
|
16
|
+
"#FFA0A0",
|
17
|
+
"#7DD3C4",
|
18
|
+
"#F9B052",
|
19
|
+
"#8454D4",
|
20
|
+
"#42C724",
|
21
|
+
"#FF4B4B",
|
22
|
+
"#904026",
|
23
|
+
"#4B25B3",
|
24
|
+
"#C50669"
|
25
|
+
],
|
26
|
+
}
|
27
|
+
},
|
12
28
|
padding: {
|
13
29
|
top: 60,
|
14
30
|
right: 60,
|
15
|
-
bottom:
|
16
|
-
left:
|
31
|
+
bottom: 100,
|
32
|
+
left: 80
|
17
33
|
},
|
18
34
|
highlightTarget: 'series'
|
19
35
|
},
|
@@ -9,11 +9,27 @@ export const PRESET_LINES_CURVE: PresetPartial<'grid', Partial<PresetGridPluginP
|
|
9
9
|
name: 'PRESET_LINES_CURVE',
|
10
10
|
description: '弧線折線圖',
|
11
11
|
chartParams: {
|
12
|
+
colors: {
|
13
|
+
light: {
|
14
|
+
label: [
|
15
|
+
"#4BABFF",
|
16
|
+
"#FFA0A0",
|
17
|
+
"#7DD3C4",
|
18
|
+
"#F9B052",
|
19
|
+
"#8454D4",
|
20
|
+
"#42C724",
|
21
|
+
"#FF4B4B",
|
22
|
+
"#904026",
|
23
|
+
"#4B25B3",
|
24
|
+
"#C50669"
|
25
|
+
],
|
26
|
+
}
|
27
|
+
},
|
12
28
|
padding: {
|
13
29
|
top: 60,
|
14
30
|
right: 60,
|
15
|
-
bottom:
|
16
|
-
left:
|
31
|
+
bottom: 100,
|
32
|
+
left: 80
|
17
33
|
},
|
18
34
|
highlightTarget: 'series'
|
19
35
|
},
|
@@ -9,11 +9,27 @@ export const PRESET_LINES_HIGHLIGHT_GROUP_DOTS: PresetPartial<'grid', Partial<Pr
|
|
9
9
|
name: 'PRESET_LINES_HIGHLIGHT_GROUP_DOTS',
|
10
10
|
description: '折線圖及Highlight Group圓點',
|
11
11
|
chartParams: {
|
12
|
+
colors: {
|
13
|
+
light: {
|
14
|
+
label: [
|
15
|
+
"#4BABFF",
|
16
|
+
"#FFA0A0",
|
17
|
+
"#7DD3C4",
|
18
|
+
"#F9B052",
|
19
|
+
"#8454D4",
|
20
|
+
"#42C724",
|
21
|
+
"#FF4B4B",
|
22
|
+
"#904026",
|
23
|
+
"#4B25B3",
|
24
|
+
"#C50669"
|
25
|
+
],
|
26
|
+
}
|
27
|
+
},
|
12
28
|
padding: {
|
13
29
|
top: 60,
|
14
30
|
right: 60,
|
15
|
-
bottom:
|
16
|
-
left:
|
31
|
+
bottom: 100,
|
32
|
+
left: 80
|
17
33
|
},
|
18
34
|
highlightTarget: 'group'
|
19
35
|
},
|
@@ -9,10 +9,26 @@ export const PRESET_LINES_HORIZONTAL: PresetPartial<'grid', Partial<PresetGridPl
|
|
9
9
|
name: 'PRESET_LINES_HORIZONTAL',
|
10
10
|
description: '橫向折線圖',
|
11
11
|
chartParams: {
|
12
|
+
colors: {
|
13
|
+
light: {
|
14
|
+
label: [
|
15
|
+
"#4BABFF",
|
16
|
+
"#FFA0A0",
|
17
|
+
"#7DD3C4",
|
18
|
+
"#F9B052",
|
19
|
+
"#8454D4",
|
20
|
+
"#42C724",
|
21
|
+
"#FF4B4B",
|
22
|
+
"#904026",
|
23
|
+
"#4B25B3",
|
24
|
+
"#C50669"
|
25
|
+
],
|
26
|
+
}
|
27
|
+
},
|
12
28
|
padding: {
|
13
29
|
top: 60,
|
14
30
|
right: 60,
|
15
|
-
bottom:
|
31
|
+
bottom: 100,
|
16
32
|
left: 160
|
17
33
|
},
|
18
34
|
highlightTarget: 'series'
|