NEZ-1280 feat: 时间序列chart微调

This commit is contained in:
chenjinsong
2021-11-29 15:43:07 +08:00
parent d892f4e645
commit 4d30133907
8 changed files with 262 additions and 71 deletions

View File

@@ -23,6 +23,7 @@ export function getChart (key) {
}
export function setChart (key, value) {
chartCache[`chart${key}`] && chartCache[`chart${key}`].dispose()
chartCache[`chart${key}`] = value
}
const hexagonCache = {}

View File

@@ -388,7 +388,7 @@ export const chartDataSource = [
export const chartType = {
line: 'line',
stackArea: 'stackArea',
area: 'area',
point: 'point',
bar: 'bar',
table: 'table',