Page is the default Staff1 conditions, probably more than ten data, I use JS calculation number multiplied by the width (90 px) each, to place Echarts DIV assign the roughly 2000 px,
But changed after the query conditions may be only a few people, don't need that wide, according to
So I want to ask how to use JS/JQ to Echarts control width, I later JS directly to DIV width is not successful,
$(" # container "). The width (1050);
# the container is placed Echarts container DIV

CodePudding user response:
Thank you first BBS bosses
CodePudding user response:
Echarts instance a resize ()