@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
58 lines (57 loc) • 1.22 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.times = exports.ETrend = exports.gaugeInnerCircleSeries = exports.defaultConfig = void 0;
// 默认options配置
exports.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配置
exports.gaugeInnerCircleSeries = {
type: 'gauge',
radius: '100%',
splitNumber: 0,
splitLine: {
show: false
},
axisLabel: {
show: false
},
axisTick: {
show: false
},
pointer: {
show: false
}
};
var ETrend;
(function (ETrend) {
ETrend["Down"] = "down";
ETrend["Up"] = "up";
ETrend["Equal"] = "equal";
})(ETrend = exports.ETrend || (exports.ETrend = {}));
exports.times = ['_time', '_indexTime'];