The red section on the way should come out slowly from scratch. . What to do?
高洛峰2017-05-16 13:39:12
canvas and svg
canvas: chart.js
svg: snap.svg.js
Resolution dependent
Event handlers are not supported
Weak text rendering capabilities
Ability to save result images in .png or .jpg format
Best for graphics-intensive games where many objects will be redrawn frequently
Not dependent on resolution
Support event handler
Best for applications with large rendering areas (like Google Maps)
High complexity will slow down rendering (any application that overuses the DOM is not fast)
Not suitable for gaming applications
If there is no strict requirement for resolution for simple effect display, canvas is recommended
Look at this http://www.bootcss.com/p/char... Donut chart