Why does the width and height of Echart's canvas take effect only through interline style or JavaScript operation definition?

clipboard.png
.chart {

    position: absolute;
    top: 69px;
    right: 20px;
    width: 100px !important;
    height:100px !important;
    line-height: 100px;
  }
  
  
Sep.20,2021


jsdocument.defaultView.computedStyle(ele, null)canvas



clipboard.png
@jacktown
clipboard.png

clipboard.png
JS

clipboard.png

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea12df-692a8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea12df-692a8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?