@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
33 lines (32 loc) • 665 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var env_1 = require("../../../utils/env");
var config = {
tooltip: {
showDelay: 50,
transitionDuration: 0.2,
axisPointer: {
z: 0
}
},
dataZoom: !env_1.isMobileDevice() && [
{
type: 'inside',
xAxisIndex: [0],
filterMode: 'none',
minValueSpan: 3
}
],
grid: {
containLabel: true,
top: 10,
bottom: 15,
left: 15,
right: 15
},
legend: {
itemWidth: 10,
itemHeight: 10
}
};
exports.default = config;