Home > Topic List > echarts adaptive size settings
Use ECharts' adaptive size settings to make charts adapt to different screen sizes and devices. One is to use the resize event to re-render the chart when the size of the chart container changes; the other is to use CSS styles to make the chart container adapt to the size of the parent element by setting the width and height of the chart container to percentage values. Choosing the appropriate method according to actual needs can enable charts to be displayed and interacted well on different devices.
5180 times of learning
Collection15178 times of learning
Collection3822 times of learning
Collection4704 times of learning
Collection