@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
55 lines (54 loc) • 1.03 kB
JavaScript
// 默认options配置
export var defaultConfig = {
tooltip: {
trigger: 'item',
confine: true
},
legend: { show: false },
xAxis: {
show: false,
type: 'category',
boundaryGap: false
},
yAxis: {
show: false,
axisLabel: {
show: false
},
type: 'value'
},
grid: {
left: '24%',
right: '24%',
bottom: '0',
width: '52%',
top: '0',
height: '100%',
containLabel: true
}
};
// 内环值series配置
export var gaugeInnerCircleSeries = {
type: 'gauge',
radius: '100%',
splitNumber: 0,
splitLine: {
show: false
},
axisLabel: {
show: false
},
axisTick: {
show: false
},
pointer: {
show: false
}
};
export var ETrend;
(function (ETrend) {
ETrend["Down"] = "down";
ETrend["Up"] = "up";
ETrend["Equal"] = "equal";
})(ETrend || (ETrend = {}));
export var times = ['_time', '_indexTime'];