Here is a method; basically, the structure and behavior are separated. The connection between the two only requires one
id. It is very convenient to use, and the same js code can achieve multiple scrolling chart effects on this page. Without interfering with each other,
1.xhtml
|
|