Draggable Chart for Difference Statistics (Reservation Count Statistics)
Add-ons

Plugin Description: This plugin displays the number of remaining ticket slots for each day of every month. It can also be used to provide a difference calculation model.
This plugin was independently developed from scratch and is open source.
Modify the initColmH setting in zhuzhi.js to set the chart height; max sets the maximum value on the chart, and setMax sets the draggable pointer value on the Y-axis. Note that it must be less than max.
Initialize the array X containing the estimated number of on-site ticket buyers. The chart displays one group of bars for each data item.
1. Configure Chart Dimensions in zhuzi.js
1 2 3 | var initColmH=400,// Column heightmax = 1050,// Maximum valuesetMax = 1000; |
2. Array x = []: Initial values for on-site reservations
3. Each bar in zhuzhi.html corresponds to a section of the following code.
1 2 3 4 5 6 7 8 | <div> <div> <div><span>450</span></div> <div></div> <div></div> </div> <div></div></div> |
Keep as many code sections as there are data groups.
评论