feat:添加空白元素占位 0,0,使开始坐标为 0,1 以及调用charts 顺序调整的接口

This commit is contained in:
zhangyu
2021-12-14 15:50:33 +08:00
parent d3e42b275f
commit ea0a841aa7
6 changed files with 166 additions and 17 deletions

View File

@@ -1,7 +1,10 @@
<template>
<div :class="{'chart-header--float': !chartInfo.param.showHeader}" class="chart-header">
<div class="chart-header__title" v-if="!isGroup">{{chartInfo.name}}</div>
<div class="chart-header__title" v-else @click="groupShow"> > {{chartInfo.name}}</div>
<div class="chart-header__title" v-else >
<span @click="groupShow"> <i class="nz-icon" :class="chartInfo.param.collapse ? 'nz-icon-arrow-down': 'nz-icon-arrow-right'"></i></span>
{{chartInfo.name}}
</div>
<div class="chart-header__tools">
<span v-if="chartInfo.remark" class="chart-header__tool">
<el-tooltip :content="chartInfo.remark" effect="light" placement="top">