|
@@ -51,17 +51,14 @@ const formatDateTime = (timeStamp, returnType) => {
|
|
|
|
|
|
const cfu = {
|
|
|
//demotype为自定义图表类型,一般不需要自定义图表类型,只需要改根节点上对应的类型即可
|
|
|
- "type": ["pie", "ring", "rose", "word", "funnel", "map", "arcbar", "line", "column", "bar", "area", "radar",
|
|
|
- "gauge", "candle", "mix", "tline", "tarea", "scatter", "bubble", "demotype", "mainline", "mainradar",
|
|
|
- "mini-line", "mini-area", "mini-column","mini-rose"
|
|
|
+ "type": ["pie", "ring", "rose", "word", "funnel", "map", "arcbar", "line", "column", "bar", "area", "radar","gauge", "candle", "mix", "tline", "tarea", "scatter", "bubble", "demotype", "mainline", "mainradar",
|
|
|
+"mini-line", "mini-area", "mini-column", "mini-rose", "mini-bar", "mini-radar"
|
|
|
],
|
|
|
- "range": ["饼状图", "圆环图", "玫瑰图", "词云图", "漏斗图", "地图", "圆弧进度条", "折线图", "柱状图", "条状图", "区域图", "雷达图", "仪表盘", "K线图",
|
|
|
- "混合图", "时间轴折线", "时间轴区域", "散点图", "气泡图", "自定义类型", "首页趋势图", "首页雷达图", "折线缩略图", "区域缩略图", "柱状缩略图", "玫瑰缩略图"
|
|
|
+ "range": ["饼状图", "圆环图", "玫瑰图", "词云图", "漏斗图", "地图", "圆弧进度条", "折线图", "柱状图", "条状图", "区域图", "雷达图", "仪表盘", "K线图","混合图", "时间轴折线", "时间轴区域", "散点图", "气泡图", "自定义类型", "首页趋势图", "首页雷达图", "折线缩略图", "区域缩略图", "柱状缩略图", "玫瑰缩略图", "条状图缩略图", "雷达缩略图"
|
|
|
],
|
|
|
//增加自定义图表类型,如果需要categories,请在这里加入您的图表类型,例如最后的"demotype"
|
|
|
//自定义类型时需要注意"tline","tarea","scatter","bubble"等时间轴(矢量x轴)类图表,没有categories,不需要加入categories
|
|
|
- "categories": ["line", "column", "bar", "area", "radar", "gauge", "candle", "mix", "demotype", "mainline",
|
|
|
- "mainradar", "mini-line", "mini-area", "mini-column",
|
|
|
+ "categories": ["line", "column", "bar", "area", "radar", "gauge", "candle", "mix", "demotype", "mainline", "mainradar", "mini-line", "mini-area", "mini-column", "mini-bar", "mini-radar"
|
|
|
],
|
|
|
//instance为实例变量承载属性,不要删除
|
|
|
"instance": {},
|
|
@@ -119,153 +116,153 @@ const cfu = {
|
|
|
}
|
|
|
},
|
|
|
//下面是自定义配置,请添加项目所需的通用配置
|
|
|
- "rose":{
|
|
|
- "type": "rose",
|
|
|
- "canvasId": "",
|
|
|
- "canvas2d": false,
|
|
|
- "background": "none",
|
|
|
- "animation": true,
|
|
|
- "timing": "easeOut",
|
|
|
- "duration": 1000,
|
|
|
- "color": [
|
|
|
- "#0052d4",
|
|
|
- "#ff5959",
|
|
|
- "#f9b248",
|
|
|
- "#3CA272",
|
|
|
- "#73C0DE",
|
|
|
- "#ff55a3"
|
|
|
- ],
|
|
|
- "padding": [
|
|
|
- 5,
|
|
|
- 5,
|
|
|
- 5,
|
|
|
- 5
|
|
|
- ],
|
|
|
- "rotate": false,
|
|
|
- "errorReload": true,
|
|
|
- "fontSize": 13,
|
|
|
- "fontColor": "#666666",
|
|
|
- "enableScroll": false,
|
|
|
- "touchMoveLimit": 60,
|
|
|
- "enableMarkLine": false,
|
|
|
- "dataLabel": false,
|
|
|
- "dataPointShape": false,
|
|
|
- "dataPointShapeType": "hollow",
|
|
|
- "tapLegend": true,
|
|
|
- "legend": {
|
|
|
- "show": true,
|
|
|
- "position": "bottom",
|
|
|
- "float": "center",
|
|
|
- "padding": 5,
|
|
|
- "margin": 5,
|
|
|
- "backgroundColor": "rgba(0,0,0,0)",
|
|
|
- "borderColor": "rgba(0,0,0,0)",
|
|
|
- "borderWidth": 0,
|
|
|
- "fontSize": 13,
|
|
|
- "fontColor": "#666666",
|
|
|
- "lineHeight": 25,
|
|
|
- "hiddenColor": "#CECECE",
|
|
|
- "itemGap": 10
|
|
|
- },
|
|
|
- "extra": {
|
|
|
- "rose": {
|
|
|
- "type": "radius",
|
|
|
- "minRadius": 50,
|
|
|
- "activeOpacity": 0.5,
|
|
|
- "activeRadius": 10,
|
|
|
- "offsetAngle": 0,
|
|
|
- "labelWidth": 15,
|
|
|
- "border": true,
|
|
|
- "borderWidth": 2,
|
|
|
- "borderColor": "#FFFFFF",
|
|
|
- "linearType": "none"
|
|
|
- },
|
|
|
- "tooltip": {
|
|
|
- "showBox": true,
|
|
|
- "showArrow": false,
|
|
|
- "showCategory": false,
|
|
|
- "borderWidth": 0,
|
|
|
- "borderRadius": 6,
|
|
|
- "borderColor": "#000000",
|
|
|
- "borderOpacity": 0.5,
|
|
|
- "bgColor": "#000000",
|
|
|
- "bgOpacity": 0.5,
|
|
|
- "gridType": "solid",
|
|
|
- "dashLength": 4,
|
|
|
- "gridColor": "#CCCCCC",
|
|
|
- "fontColor": "#FFFFFF",
|
|
|
- "splitLine": true,
|
|
|
- "horizentalLine": false,
|
|
|
- "xAxisLabel": false,
|
|
|
- "yAxisLabel": false,
|
|
|
- "labelBgColor": "#FFFFFF",
|
|
|
- "labelBgOpacity": 0.7,
|
|
|
- "labelFontColor": "#666666"
|
|
|
- }
|
|
|
- }
|
|
|
+ "rose": {
|
|
|
+ "type": "rose",
|
|
|
+ "canvasId": "",
|
|
|
+ "canvas2d": false,
|
|
|
+ "background": "none",
|
|
|
+ "animation": true,
|
|
|
+ "timing": "easeOut",
|
|
|
+ "duration": 1000,
|
|
|
+ "color": [
|
|
|
+ "#0052d4",
|
|
|
+ "#ff5959",
|
|
|
+ "#f9b248",
|
|
|
+ "#3CA272",
|
|
|
+ "#73C0DE",
|
|
|
+ "#ff55a3"
|
|
|
+ ],
|
|
|
+ "padding": [
|
|
|
+ 5,
|
|
|
+ 5,
|
|
|
+ 5,
|
|
|
+ 5
|
|
|
+ ],
|
|
|
+ "rotate": false,
|
|
|
+ "errorReload": true,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "enableScroll": false,
|
|
|
+ "touchMoveLimit": 60,
|
|
|
+ "enableMarkLine": false,
|
|
|
+ "dataLabel": false,
|
|
|
+ "dataPointShape": false,
|
|
|
+ "dataPointShapeType": "hollow",
|
|
|
+ "tapLegend": true,
|
|
|
+ "legend": {
|
|
|
+ "show": true,
|
|
|
+ "position": "bottom",
|
|
|
+ "float": "center",
|
|
|
+ "padding": 5,
|
|
|
+ "margin": 5,
|
|
|
+ "backgroundColor": "rgba(0,0,0,0)",
|
|
|
+ "borderColor": "rgba(0,0,0,0)",
|
|
|
+ "borderWidth": 0,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "lineHeight": 25,
|
|
|
+ "hiddenColor": "#CECECE",
|
|
|
+ "itemGap": 10
|
|
|
+ },
|
|
|
+ "extra": {
|
|
|
+ "rose": {
|
|
|
+ "type": "radius",
|
|
|
+ "minRadius": 50,
|
|
|
+ "activeOpacity": 0.5,
|
|
|
+ "activeRadius": 10,
|
|
|
+ "offsetAngle": 0,
|
|
|
+ "labelWidth": 15,
|
|
|
+ "border": true,
|
|
|
+ "borderWidth": 2,
|
|
|
+ "borderColor": "#FFFFFF",
|
|
|
+ "linearType": "none"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "showBox": true,
|
|
|
+ "showArrow": false,
|
|
|
+ "showCategory": false,
|
|
|
+ "borderWidth": 0,
|
|
|
+ "borderRadius": 6,
|
|
|
+ "borderColor": "#000000",
|
|
|
+ "borderOpacity": 0.5,
|
|
|
+ "bgColor": "#000000",
|
|
|
+ "bgOpacity": 0.5,
|
|
|
+ "gridType": "solid",
|
|
|
+ "dashLength": 4,
|
|
|
+ "gridColor": "#CCCCCC",
|
|
|
+ "fontColor": "#FFFFFF",
|
|
|
+ "splitLine": true,
|
|
|
+ "horizentalLine": false,
|
|
|
+ "xAxisLabel": false,
|
|
|
+ "yAxisLabel": false,
|
|
|
+ "labelBgColor": "#FFFFFF",
|
|
|
+ "labelBgOpacity": 0.7,
|
|
|
+ "labelFontColor": "#666666"
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
- "arcbar":{
|
|
|
- "type": "arcbar",
|
|
|
- "canvasId": "",
|
|
|
- "canvas2d": false,
|
|
|
- "background": "none",
|
|
|
- "animation": true,
|
|
|
- "timing": "easeOut",
|
|
|
- "duration": 3000,
|
|
|
- "color": [
|
|
|
- "#1890FF",
|
|
|
- "#91CB74",
|
|
|
- "#FAC858",
|
|
|
- "#EE6666",
|
|
|
- "#73C0DE",
|
|
|
- "#3CA272",
|
|
|
- "#FC8452",
|
|
|
- "#9A60B4",
|
|
|
- "#ea7ccc"
|
|
|
- ],
|
|
|
- "rotate": false,
|
|
|
- "errorReload": true,
|
|
|
- "fontSize": 13,
|
|
|
- "fontColor": "#666666",
|
|
|
- "enableScroll": false,
|
|
|
- "touchMoveLimit": 60,
|
|
|
- "enableMarkLine": false,
|
|
|
- "dataLabel": true,
|
|
|
- "dataPointShape": true,
|
|
|
- "dataPointShapeType": "solid",
|
|
|
- "tapLegend": true,
|
|
|
- "title": {
|
|
|
- "name": "百分比",
|
|
|
- "fontSize": 25,
|
|
|
- "color": "#65c7f7",
|
|
|
- "offsetX": 0,
|
|
|
- "offsetY": 0
|
|
|
- },
|
|
|
- "subtitle": {
|
|
|
- "name": "默认标题",
|
|
|
- "fontSize": 15,
|
|
|
- "color": "#666666",
|
|
|
- "offsetX": 0,
|
|
|
- "offsetY": 0
|
|
|
- },
|
|
|
- "extra": {
|
|
|
- "arcbar": {
|
|
|
- "type": "default",
|
|
|
- "width": 16,
|
|
|
- "backgroundColor": "#E9E9E9",
|
|
|
- "startAngle": 0.75,
|
|
|
- "endAngle": 0.25,
|
|
|
- "gap": 2,
|
|
|
- "centerX": 0,
|
|
|
- "centerY": 0,
|
|
|
- "linearType": "custom",
|
|
|
- "customColor": [
|
|
|
- "#65c7f7",
|
|
|
- "#f16529",
|
|
|
- "#ffcc33"
|
|
|
- ]
|
|
|
- }
|
|
|
- }
|
|
|
+ "arcbar": {
|
|
|
+ "type": "arcbar",
|
|
|
+ "canvasId": "",
|
|
|
+ "canvas2d": false,
|
|
|
+ "background": "none",
|
|
|
+ "animation": true,
|
|
|
+ "timing": "easeOut",
|
|
|
+ "duration": 3000,
|
|
|
+ "color": [
|
|
|
+ "#1890FF",
|
|
|
+ "#91CB74",
|
|
|
+ "#FAC858",
|
|
|
+ "#EE6666",
|
|
|
+ "#73C0DE",
|
|
|
+ "#3CA272",
|
|
|
+ "#FC8452",
|
|
|
+ "#9A60B4",
|
|
|
+ "#ea7ccc"
|
|
|
+ ],
|
|
|
+ "rotate": false,
|
|
|
+ "errorReload": true,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "enableScroll": false,
|
|
|
+ "touchMoveLimit": 60,
|
|
|
+ "enableMarkLine": false,
|
|
|
+ "dataLabel": true,
|
|
|
+ "dataPointShape": true,
|
|
|
+ "dataPointShapeType": "solid",
|
|
|
+ "tapLegend": true,
|
|
|
+ "title": {
|
|
|
+ "name": "百分比",
|
|
|
+ "fontSize": 25,
|
|
|
+ "color": "#65c7f7",
|
|
|
+ "offsetX": 0,
|
|
|
+ "offsetY": 0
|
|
|
+ },
|
|
|
+ "subtitle": {
|
|
|
+ "name": "默认标题",
|
|
|
+ "fontSize": 15,
|
|
|
+ "color": "#666666",
|
|
|
+ "offsetX": 0,
|
|
|
+ "offsetY": 0
|
|
|
+ },
|
|
|
+ "extra": {
|
|
|
+ "arcbar": {
|
|
|
+ "type": "default",
|
|
|
+ "width": 16,
|
|
|
+ "backgroundColor": "#E9E9E9",
|
|
|
+ "startAngle": 0.75,
|
|
|
+ "endAngle": 0.25,
|
|
|
+ "gap": 2,
|
|
|
+ "centerX": 0,
|
|
|
+ "centerY": 0,
|
|
|
+ "linearType": "custom",
|
|
|
+ "customColor": [
|
|
|
+ "#65c7f7",
|
|
|
+ "#f16529",
|
|
|
+ "#ffcc33"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
"line": {
|
|
|
"type": "line",
|
|
@@ -307,7 +304,7 @@ const cfu = {
|
|
|
"rotateLabel": false,
|
|
|
"labelCount": 6,
|
|
|
"itemCount": 5,
|
|
|
- "boundaryGap": "justify",
|
|
|
+ "boundaryGap": "center",
|
|
|
"disableGrid": true,
|
|
|
"gridColor": "#696969",
|
|
|
"gridType": "solid",
|
|
@@ -323,7 +320,7 @@ const cfu = {
|
|
|
"disabled": false,
|
|
|
"disableGrid": false,
|
|
|
"splitNumber": 5,
|
|
|
- "gridType": "dash",
|
|
|
+ "gridType": "solid",
|
|
|
"dashLength": 10,
|
|
|
"gridColor": "#CCCCCC",
|
|
|
"padding": 10,
|
|
@@ -360,7 +357,7 @@ const cfu = {
|
|
|
"borderOpacity": 0.5,
|
|
|
"bgColor": "#000000",
|
|
|
"bgOpacity": 0.5,
|
|
|
- "gridType": "dash",
|
|
|
+ "gridType": "solid",
|
|
|
"dashLength": 8,
|
|
|
"gridColor": "#CCCCCC",
|
|
|
"fontColor": "#FFFFFF",
|
|
@@ -422,7 +419,7 @@ const cfu = {
|
|
|
"boundaryGap": "center",
|
|
|
"disableGrid": true,
|
|
|
"gridColor": "#696969",
|
|
|
- "gridType": "dash",
|
|
|
+ "gridType": "solid",
|
|
|
"dashLength": 4,
|
|
|
"gridEval": 1,
|
|
|
"scrollShow": false,
|
|
@@ -435,7 +432,7 @@ const cfu = {
|
|
|
"disabled": false,
|
|
|
"disableGrid": false,
|
|
|
"splitNumber": 5,
|
|
|
- "gridType": "dash",
|
|
|
+ "gridType": "solid",
|
|
|
"dashLength": 10,
|
|
|
"gridColor": "#CCCCCC",
|
|
|
"padding": 10,
|
|
@@ -495,7 +492,7 @@ const cfu = {
|
|
|
"borderOpacity": 0.5,
|
|
|
"bgColor": "#000000",
|
|
|
"bgOpacity": 0.5,
|
|
|
- "gridType": "dash",
|
|
|
+ "gridType": "solid",
|
|
|
"dashLength": 8,
|
|
|
"gridColor": "#CCCCCC",
|
|
|
"fontColor": "#FFFFFF",
|
|
@@ -524,39 +521,39 @@ const cfu = {
|
|
|
"duration": 1000,
|
|
|
"color": [
|
|
|
"#0052d4",
|
|
|
- "#20a162"
|
|
|
+ "#ff5959"
|
|
|
],
|
|
|
"padding": [
|
|
|
1,
|
|
|
- 18,
|
|
|
+ 15,
|
|
|
3,
|
|
|
3
|
|
|
],
|
|
|
"rotate": false,
|
|
|
"errorReload": true,
|
|
|
"fontSize": 13,
|
|
|
- "fontColor": "#696969",
|
|
|
+ "fontColor": "#666666",
|
|
|
"enableScroll": false,
|
|
|
"touchMoveLimit": 60,
|
|
|
"enableMarkLine": false,
|
|
|
"dataLabel": false,
|
|
|
- "dataPointShape": true,
|
|
|
+ "dataPointShape": false,
|
|
|
"dataPointShapeType": "solid",
|
|
|
"tapLegend": true,
|
|
|
"xAxis": {
|
|
|
"disabled": false,
|
|
|
- "axisLine": false,
|
|
|
+ "axisLine": true,
|
|
|
"axisLineColor": "#CCCCCC",
|
|
|
"calibration": false,
|
|
|
- "fontColor": "#696969",
|
|
|
- "fontSize": 12,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "fontSize": 13,
|
|
|
"rotateLabel": false,
|
|
|
"itemCount": 5,
|
|
|
"boundaryGap": "justify",
|
|
|
"disableGrid": false,
|
|
|
"gridColor": "#CCCCCC",
|
|
|
- "gridType": "dash",
|
|
|
- "dashLength": 8,
|
|
|
+ "gridType": "solid",
|
|
|
+ "dashLength": 4,
|
|
|
"gridEval": 1,
|
|
|
"scrollShow": false,
|
|
|
"scrollAlign": "left",
|
|
@@ -569,7 +566,7 @@ const cfu = {
|
|
|
"disabled": false,
|
|
|
"disableGrid": false,
|
|
|
"splitNumber": 5,
|
|
|
- "gridType": "dash",
|
|
|
+ "gridType": "solid",
|
|
|
"dashLength": 8,
|
|
|
"gridColor": "#CCCCCC",
|
|
|
"padding": 10,
|
|
@@ -585,27 +582,27 @@ const cfu = {
|
|
|
"backgroundColor": "rgba(0,0,0,0)",
|
|
|
"borderColor": "rgba(0,0,0,0)",
|
|
|
"borderWidth": 0,
|
|
|
- "fontSize": 12,
|
|
|
- "fontColor": "#696969",
|
|
|
- "lineHeight": 10,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "lineHeight": 11,
|
|
|
"hiddenColor": "#CECECE",
|
|
|
"itemGap": 10
|
|
|
},
|
|
|
"extra": {
|
|
|
"bar": {
|
|
|
"type": "group",
|
|
|
- "width": 14,
|
|
|
+ "width": 30,
|
|
|
"seriesGap": 2,
|
|
|
- "categoryGap": 4,
|
|
|
- "barBorderCircle": false,
|
|
|
+ "categoryGap": 3,
|
|
|
+ "barBorderCircle": true,
|
|
|
"barBorderRadius": [
|
|
|
- 3,
|
|
|
- 10,
|
|
|
- 3,
|
|
|
- 3
|
|
|
+ 15,
|
|
|
+ 15,
|
|
|
+ 15,
|
|
|
+ 15
|
|
|
],
|
|
|
- "linearType": "none",
|
|
|
- "linearOpacity": 1,
|
|
|
+ "linearType": "opacity",
|
|
|
+ "linearOpacity": 0.8,
|
|
|
"colorStop": 0,
|
|
|
"activeBgColor": "#000000",
|
|
|
"activeBgOpacity": 0.08,
|
|
@@ -617,7 +614,7 @@ const cfu = {
|
|
|
"showArrow": false,
|
|
|
"showCategory": false,
|
|
|
"borderWidth": 0,
|
|
|
- "borderRadius": 6,
|
|
|
+ "borderRadius": 5,
|
|
|
"borderColor": "#000000",
|
|
|
"borderOpacity": 0.5,
|
|
|
"bgColor": "#000000",
|
|
@@ -631,7 +628,7 @@ const cfu = {
|
|
|
"xAxisLabel": false,
|
|
|
"yAxisLabel": false,
|
|
|
"labelBgColor": "#FFFFFF",
|
|
|
- "labelBgOpacity": 0.7,
|
|
|
+ "labelBgOpacity": 0.5,
|
|
|
"labelFontColor": "#666666"
|
|
|
},
|
|
|
"markLine": {
|
|
@@ -697,7 +694,7 @@ const cfu = {
|
|
|
"disabled": false,
|
|
|
"disableGrid": false,
|
|
|
"splitNumber": 5,
|
|
|
- "gridType": "dash",
|
|
|
+ "gridType": "solid",
|
|
|
"dashLength": 10,
|
|
|
"gridColor": "#CCCCCC",
|
|
|
"padding": 10,
|
|
@@ -737,7 +734,7 @@ const cfu = {
|
|
|
"borderOpacity": 0.5,
|
|
|
"bgColor": "#000000",
|
|
|
"bgOpacity": 0.5,
|
|
|
- "gridType": "dash",
|
|
|
+ "gridType": "solid",
|
|
|
"dashLength": 8,
|
|
|
"gridColor": "#CCCCCC",
|
|
|
"fontColor": "#FFFFFF",
|
|
@@ -849,9 +846,9 @@ const cfu = {
|
|
|
],
|
|
|
"padding": [
|
|
|
5,
|
|
|
+ -15,
|
|
|
0,
|
|
|
- 0,
|
|
|
- 0
|
|
|
+ -15
|
|
|
],
|
|
|
"rotate": false,
|
|
|
"errorReload": true,
|
|
@@ -1387,91 +1384,299 @@ const cfu = {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "mini-rose":{
|
|
|
- "type": "rose",
|
|
|
- "canvasId": "",
|
|
|
- "canvas2d": false,
|
|
|
- "background": "none",
|
|
|
- "animation": true,
|
|
|
- "timing": "easeOut",
|
|
|
- "duration": 1000,
|
|
|
- "color": [
|
|
|
- "#0052d4",
|
|
|
- "#ff5959",
|
|
|
- "#f9b248",
|
|
|
- "#3CA272",
|
|
|
- "#73C0DE",
|
|
|
- "#ff55a3"
|
|
|
- ],
|
|
|
- "padding": [
|
|
|
- 5,
|
|
|
- 5,
|
|
|
- 5,
|
|
|
- 5
|
|
|
- ],
|
|
|
- "rotate": false,
|
|
|
- "errorReload": true,
|
|
|
- "fontSize": 13,
|
|
|
- "fontColor": "#666666",
|
|
|
- "enableScroll": false,
|
|
|
- "touchMoveLimit": 60,
|
|
|
- "enableMarkLine": false,
|
|
|
- "dataLabel": false,
|
|
|
- "dataPointShape": false,
|
|
|
- "dataPointShapeType": "hollow",
|
|
|
- "tapLegend": false,
|
|
|
- "legend": {
|
|
|
- "show": false,
|
|
|
- "position": "bottom",
|
|
|
- "float": "center",
|
|
|
- "padding": 5,
|
|
|
- "margin": 5,
|
|
|
- "backgroundColor": "rgba(0,0,0,0)",
|
|
|
- "borderColor": "rgba(0,0,0,0)",
|
|
|
- "borderWidth": 0,
|
|
|
- "fontSize": 13,
|
|
|
- "fontColor": "#666666",
|
|
|
- "lineHeight": 25,
|
|
|
- "hiddenColor": "#CECECE",
|
|
|
- "itemGap": 10
|
|
|
- },
|
|
|
- "extra": {
|
|
|
- "rose": {
|
|
|
- "type": "radius",
|
|
|
- "minRadius": 50,
|
|
|
- "activeOpacity": 0.5,
|
|
|
- "activeRadius": 10,
|
|
|
- "offsetAngle": 0,
|
|
|
- "labelWidth": 15,
|
|
|
- "border": true,
|
|
|
- "borderWidth": 2,
|
|
|
- "borderColor": "#FFFFFF",
|
|
|
-
|
|
|
- },
|
|
|
- "tooltip": {
|
|
|
- "showBox": true,
|
|
|
- "showArrow": false,
|
|
|
- "showCategory": false,
|
|
|
- "borderWidth": 0,
|
|
|
- "borderRadius": 6,
|
|
|
- "borderColor": "#000000",
|
|
|
- "borderOpacity": 0.5,
|
|
|
- "bgColor": "#000000",
|
|
|
- "bgOpacity": 0.5,
|
|
|
- "gridType": "solid",
|
|
|
- "dashLength": 4,
|
|
|
- "gridColor": "#CCCCCC",
|
|
|
- "fontColor": "#FFFFFF",
|
|
|
- "splitLine": true,
|
|
|
- "horizentalLine": false,
|
|
|
- "xAxisLabel": false,
|
|
|
- "yAxisLabel": false,
|
|
|
- "labelBgColor": "#FFFFFF",
|
|
|
- "labelBgOpacity": 0.7,
|
|
|
- "labelFontColor": "#666666"
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
+ "mini-rose": {
|
|
|
+ "type": "rose",
|
|
|
+ "canvasId": "",
|
|
|
+ "canvas2d": false,
|
|
|
+ "background": "none",
|
|
|
+ "animation": true,
|
|
|
+ "timing": "easeOut",
|
|
|
+ "duration": 1000,
|
|
|
+ "color": [
|
|
|
+ "#0052d4",
|
|
|
+ "#ff5959",
|
|
|
+ "#f9b248",
|
|
|
+ "#3CA272",
|
|
|
+ "#73C0DE",
|
|
|
+ "#ff55a3"
|
|
|
+ ],
|
|
|
+ "padding": [
|
|
|
+ 5,
|
|
|
+ 5,
|
|
|
+ 5,
|
|
|
+ 5
|
|
|
+ ],
|
|
|
+ "rotate": false,
|
|
|
+ "errorReload": true,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "enableScroll": false,
|
|
|
+ "touchMoveLimit": 60,
|
|
|
+ "enableMarkLine": false,
|
|
|
+ "dataLabel": false,
|
|
|
+ "dataPointShape": false,
|
|
|
+ "dataPointShapeType": "hollow",
|
|
|
+ "tapLegend": false,
|
|
|
+ "legend": {
|
|
|
+ "show": false,
|
|
|
+ "position": "bottom",
|
|
|
+ "float": "center",
|
|
|
+ "padding": 5,
|
|
|
+ "margin": 5,
|
|
|
+ "backgroundColor": "rgba(0,0,0,0)",
|
|
|
+ "borderColor": "rgba(0,0,0,0)",
|
|
|
+ "borderWidth": 0,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "lineHeight": 25,
|
|
|
+ "hiddenColor": "#CECECE",
|
|
|
+ "itemGap": 10
|
|
|
+ },
|
|
|
+ "extra": {
|
|
|
+ "rose": {
|
|
|
+ "type": "radius",
|
|
|
+ "minRadius": 50,
|
|
|
+ "activeOpacity": 0.5,
|
|
|
+ "activeRadius": 10,
|
|
|
+ "offsetAngle": 0,
|
|
|
+ "labelWidth": 15,
|
|
|
+ "border": true,
|
|
|
+ "borderWidth": 2,
|
|
|
+ "borderColor": "#FFFFFF",
|
|
|
+
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "showBox": true,
|
|
|
+ "showArrow": false,
|
|
|
+ "showCategory": false,
|
|
|
+ "borderWidth": 0,
|
|
|
+ "borderRadius": 6,
|
|
|
+ "borderColor": "#000000",
|
|
|
+ "borderOpacity": 0.5,
|
|
|
+ "bgColor": "#000000",
|
|
|
+ "bgOpacity": 0.5,
|
|
|
+ "gridType": "solid",
|
|
|
+ "dashLength": 4,
|
|
|
+ "gridColor": "#CCCCCC",
|
|
|
+ "fontColor": "#FFFFFF",
|
|
|
+ "splitLine": true,
|
|
|
+ "horizentalLine": false,
|
|
|
+ "xAxisLabel": false,
|
|
|
+ "yAxisLabel": false,
|
|
|
+ "labelBgColor": "#FFFFFF",
|
|
|
+ "labelBgOpacity": 0.7,
|
|
|
+ "labelFontColor": "#666666"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mini-bar": {
|
|
|
+ "type": "bar",
|
|
|
+ "canvasId": "",
|
|
|
+ "canvas2d": false,
|
|
|
+ "background": "none",
|
|
|
+ "animation": true,
|
|
|
+ "timing": "easeOut",
|
|
|
+ "duration": 1000,
|
|
|
+ "color": [
|
|
|
+ "#0052d4",
|
|
|
+ "#ff5959"
|
|
|
+ ],
|
|
|
+ "padding": [
|
|
|
+ 0,
|
|
|
+ 15,
|
|
|
+ -10,
|
|
|
+ 5
|
|
|
+ ],
|
|
|
+ "rotate": false,
|
|
|
+ "errorReload": true,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "enableScroll": false,
|
|
|
+ "touchMoveLimit": 60,
|
|
|
+ "enableMarkLine": false,
|
|
|
+ "dataLabel": false,
|
|
|
+ "dataPointShape": false,
|
|
|
+ "dataPointShapeType": "solid",
|
|
|
+ "tapLegend": true,
|
|
|
+ "xAxis": {
|
|
|
+ "disabled": true,
|
|
|
+ "axisLine": false,
|
|
|
+ "axisLineColor": "#CCCCCC",
|
|
|
+ "calibration": false,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "fontSize": 13,
|
|
|
+ "rotateLabel": false,
|
|
|
+ "itemCount": 5,
|
|
|
+ "boundaryGap": "justify",
|
|
|
+ "disableGrid": true,
|
|
|
+ "gridColor": "#CCCCCC",
|
|
|
+ "gridType": "solid",
|
|
|
+ "dashLength": 4,
|
|
|
+ "gridEval": 1,
|
|
|
+ "scrollShow": false,
|
|
|
+ "scrollAlign": "left",
|
|
|
+ "scrollColor": "#A6A6A6",
|
|
|
+ "scrollBackgroundColor": "#EFEBEF",
|
|
|
+ "min": 0,
|
|
|
+ "format": ""
|
|
|
+ },
|
|
|
+ "yAxis": {
|
|
|
+ "disabled": true,
|
|
|
+ "disableGrid": true,
|
|
|
+ "splitNumber": 5,
|
|
|
+ "gridType": "solid",
|
|
|
+ "dashLength": 8,
|
|
|
+ "gridColor": "#CCCCCC",
|
|
|
+ "padding": 10,
|
|
|
+ "showTitle": false,
|
|
|
+ "data": []
|
|
|
+ },
|
|
|
+ "legend": {
|
|
|
+ "show": false,
|
|
|
+ "position": "bottom",
|
|
|
+ "float": "center",
|
|
|
+ "padding": 5,
|
|
|
+ "margin": 5,
|
|
|
+ "backgroundColor": "rgba(0,0,0,0)",
|
|
|
+ "borderColor": "rgba(0,0,0,0)",
|
|
|
+ "borderWidth": 0,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "lineHeight": 11,
|
|
|
+ "hiddenColor": "#CECECE",
|
|
|
+ "itemGap": 10
|
|
|
+ },
|
|
|
+ "extra": {
|
|
|
+ "bar": {
|
|
|
+ "type": "group",
|
|
|
+ "width": 10,
|
|
|
+ "seriesGap": 2,
|
|
|
+ "categoryGap": 3,
|
|
|
+ "barBorderCircle": false,
|
|
|
+ "barBorderRadius": [
|
|
|
+ 10,
|
|
|
+ 10,
|
|
|
+ 10,
|
|
|
+ 10
|
|
|
+ ],
|
|
|
+ "linearType": "opacity",
|
|
|
+ "linearOpacity": 0.7,
|
|
|
+ "colorStop": 0,
|
|
|
+ "activeBgColor": "#FFFFFF",
|
|
|
+ "activeBgOpacity": 0,
|
|
|
+ "meterBorde": 1,
|
|
|
+ "meterFillColor": "#FFFFFF"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "showBox": false,
|
|
|
+ "showArrow": false,
|
|
|
+ "showCategory": false,
|
|
|
+ "borderWidth": 0,
|
|
|
+ "borderRadius": 0,
|
|
|
+ "borderColor": "#000000",
|
|
|
+ "borderOpacity": 0.7,
|
|
|
+ "bgColor": "#000000",
|
|
|
+ "bgOpacity": 0.7,
|
|
|
+ "gridType": "solid",
|
|
|
+ "dashLength": 4,
|
|
|
+ "gridColor": "#CCCCCC",
|
|
|
+ "fontColor": "#FFFFFF",
|
|
|
+ "splitLine": true,
|
|
|
+ "horizentalLine": false,
|
|
|
+ "xAxisLabel": false,
|
|
|
+ "yAxisLabel": false,
|
|
|
+ "labelBgColor": "#FFFFFF",
|
|
|
+ "labelBgOpacity": 0.7,
|
|
|
+ "labelFontColor": "#666666"
|
|
|
+ },
|
|
|
+ "markLine": {
|
|
|
+ "type": "solid",
|
|
|
+ "dashLength": 4,
|
|
|
+ "data": []
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mini-radar":{
|
|
|
+ "type": "radar",
|
|
|
+ "canvasId": "",
|
|
|
+ "canvas2d": false,
|
|
|
+ "background": "none",
|
|
|
+ "animation": true,
|
|
|
+ "timing": "easeOut",
|
|
|
+ "duration": 1000,
|
|
|
+ "color": [
|
|
|
+ "#0052d4",
|
|
|
+ "#ff5959",
|
|
|
+ "#f9b248"
|
|
|
+ ],
|
|
|
+ "padding": [
|
|
|
+ -40,
|
|
|
+ -35,
|
|
|
+ -35,
|
|
|
+ -35
|
|
|
+ ],
|
|
|
+ "rotate": false,
|
|
|
+ "errorReload": true,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "enableScroll": false,
|
|
|
+ "touchMoveLimit": 60,
|
|
|
+ "enableMarkLine": false,
|
|
|
+ "dataLabel": false,
|
|
|
+ "dataPointShape": false,
|
|
|
+ "dataPointShapeType": "solid",
|
|
|
+ "tapLegend": true,
|
|
|
+ "legend": {
|
|
|
+ "show": false,
|
|
|
+ "position": "right",
|
|
|
+ "float": "center",
|
|
|
+ "padding": 5,
|
|
|
+ "margin": 5,
|
|
|
+ "backgroundColor": "rgba(0,0,0,0)",
|
|
|
+ "borderColor": "rgba(0,0,0,0)",
|
|
|
+ "borderWidth": 0,
|
|
|
+ "fontSize": 13,
|
|
|
+ "fontColor": "#666666",
|
|
|
+ "lineHeight": 25,
|
|
|
+ "hiddenColor": "#CECECE",
|
|
|
+ "itemGap": 10
|
|
|
+ },
|
|
|
+ "extra": {
|
|
|
+ "radar": {
|
|
|
+ "gridType": "radar",
|
|
|
+ "gridColor": "#FFFFFF",
|
|
|
+ "gridCount": 3,
|
|
|
+ "labelColor": "#FFFFFF",
|
|
|
+ "opacity": 0.4,
|
|
|
+ "border": true,
|
|
|
+ "borderWidth": 2,
|
|
|
+ "max": 1
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "showBox": false,
|
|
|
+ "showArrow": false,
|
|
|
+ "showCategory": false,
|
|
|
+ "borderWidth": 0,
|
|
|
+ "borderRadius": 0,
|
|
|
+ "borderColor": "#000000",
|
|
|
+ "borderOpacity": 0.7,
|
|
|
+ "bgColor": "#000000",
|
|
|
+ "bgOpacity": 0.7,
|
|
|
+ "gridType": "solid",
|
|
|
+ "dashLength": 4,
|
|
|
+ "gridColor": "#CCCCCC",
|
|
|
+ "fontColor": "#FFFFFF",
|
|
|
+ "splitLine": false,
|
|
|
+ "horizentalLine": false,
|
|
|
+ "xAxisLabel": false,
|
|
|
+ "yAxisLabel": false,
|
|
|
+ "labelBgColor": "#FFFFFF",
|
|
|
+ "labelBgOpacity": 0.7,
|
|
|
+ "labelFontColor": "#666666"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
}
|
|
|
|
|
|
export default cfu;
|