CN-342 图表优化
1.type=11的折线图,Y轴最小间隔是1,需要将其放开为包含小数,使曲线可以充满图表
2.detection顶部柱状图优化调整:
(1).不同严重程度的柱体展示从并排改为堆叠
(2).x轴时间格式精简为mm:ss,且数量过多导致x轴label重叠时,隐藏一部分label
This commit is contained in:
@@ -42,5 +42,5 @@ export function getNowTime (interval) {
|
||||
}
|
||||
// 日期格式转换
|
||||
export function rTime (date) {
|
||||
return window.$dayJs.tz(new Date(date)).format('YYYY-MM-DD HH:mm:ss')
|
||||
return window.$dayJs.tz(new Date(date)).format('mm:ss')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user