drawLine () {
window.addEventListener('resize', this.drawLine)
let myChart = this.$echarts.init(this.$refs.echarts)
...
yekong
3年前 (2021-10-24)
喜欢
监听网页大小 动态调整Echarts内字体的大小。
function FontChart(fontSize) {
var whei = $(window).width()
return (whei / 22) * fontSize / 100
}
...
yekong
3年前 (2021-10-24)
喜欢
$(window).resize(
function () {
getHeight()
getecharts9()
getecharts7()
getecharts5...
yekong
3年前 (2021-10-24)
喜欢
效果
引入字体
@font-face {
font-family: 'DigitalDismay';
src: url('../fonts/Digital-Dismay-1.otf');
}
使用
span {
font-...
yekong
3年前 (2021-10-23)
喜欢
function getecharts9() {
var chartDom = document.getElementById('echarts9');
var myChart = echarts.init(chartDom);
...
yekong
3年前 (2021-10-23)
喜欢
function getecharts7() {
var chartDom = document.getElementById('echarts7');
var myChart = echarts.init(chartDom);
...
yekong
3年前 (2021-10-23)
喜欢
<template>
<div class="echarts1" ref="echarts1">
</div>
</template>
<script>
export...
yekong
3年前 (2021-10-21)
喜欢
台式机mac一段时间不操作,就会界面卡死,只能移动鼠标,然后会自动重启。
解决办法:
关机,然后拔掉电源,15秒后重新接回电源。 5秒后重新开机。解决了。
...
yekong
3年前 (2021-10-21)
喜欢
<template>
<div class="echarts1" ref="echarts1">
</div>
</template>
<script>
export...
yekong
3年前 (2021-10-21)
喜欢
使用JSON.stringify
var j={
stationFilter: '',
groupId: -1,
lampEnable: -1,
cableEnable: -1,
le...
yekong
3年前 (2021-10-21)
喜欢