Home > front end >  Echarts adaptive problems
Echarts adaptive problems

Time:12-05

Window. The addEventListener (" resize, "()=& gt; {
BarChart. The resize ();
PieChart. The resize ();
Piechart. The resize ();
Progressbar. The resize ();
ProgressBar. The resize ();
ProgressBar1. The resize ();
ProgressBar2. The resize ();
QualityChart. The resize ();
DivwideRight. The resize ();
DivwideRight1. The resize ();
DivwideRight2. The resize ();
DivwideRight3. The resize ();
Securitychart. The resize ();
Securitychart1. The resize ();
Securitychart2. The resize ();
Securitychart3. The resize ();
Securitychart4. The resize ();
The console. The log (" adaptive ");
});
The code above, also have on log correction, why in the browser window width shrink to 1280, still not adaptive,

CodePudding user response:

Put a layer will adaptive echarts

CodePudding user response:

Window. The addEventListener into a container of echarts listening in
  • Related