Home > Topic List > echarts adaptive size settings

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.

Related Tutorials More >
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!