update
This commit is contained in:
parent
1dc95c0fc8
commit
57d3f53918
@ -1,15 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- line chart -->
|
<!-- line chart -->
|
||||||
<div class="line-chart__wrapper">
|
<div class="line-chart__wrapper">
|
||||||
<div class="line-chart__custom-legend flex" v-if="legendtext.length">
|
<div class="line-chart__custom-legend flex" v-if="legend.length">
|
||||||
<!-- <span>产线1 - 产线5</span> -->
|
<!-- <span>产线1 - 产线5</span> -->
|
||||||
<ul style="" class="flex">
|
<ul style="" class="flex">
|
||||||
<li v-for="(v, i) in legendtext" :key="i">{{ v }}</li>
|
<li v-for="(v, i) in legend" :key="i">{{ v }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div :id="id" style="width: 100%; height: 100%"></div>
|
<div :id="id" style="width: 100%; height: 100%"></div>
|
||||||
<div
|
<div
|
||||||
v-show="legendtext.length === 0"
|
v-show="legend.length === 0"
|
||||||
style="
|
style="
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user