| | |
| | | <template> |
| | | <div class="Echarts_box" :style="{ width: width, height: height }"> |
| | | <div id="myEchartsBIG" style="width: 100%; height: 100%"></div> |
| | | <div |
| | | class="Echarts_box" |
| | | :style="{ width: width, height: height }" |
| | | > |
| | | <div |
| | | id="myEchartsBIG" |
| | | style="width: 100%; height: 100%" |
| | | ></div> |
| | | </div> |
| | | </template> |
| | | <script lang="ts" setup> |
| | |
| | | let dataLength; |
| | | let data = []; |
| | | onMounted(() => { |
| | | console.log(props.layerData); |
| | | props.layerData.points.forEach((e, i) => { |
| | | xAxisData.value.push(returnFloat1(e.len)); |
| | | }); |
| | |
| | | tooltip: { |
| | | trigger: "axis", |
| | | }, |
| | | |
| | | yAxis: { |
| | | type: "value", |
| | | }, |