jQuery custom fishbone diagram generator (time trend chart)

Last updated: 2019-12-19 22:19:27
Changelog:Previously, percentage-based viewport positioning could easily cause the plugin to become misaligned or distorted when the viewport changed.
The usage remains unchanged. Initialize the plugin using fishBone.init(container,option), where container is the selector name, such as ".contaner" or "#container". The option parameter remains unchanged.
Last updated: 2019-12-19 00:35:24
Dependencies
1,jquery
2,html2canvas
Usage
fishBone.init(option) initializes the plugin.
option is an object.
option.data contains the input data.
option.color specifies the background color of the fishbone diagram and is optional.
option.download=true enables the screenshot download option, which is enabled by default.
option.data =[{label:'Content',date:'2019-01-01'},{label:'Content',date:'2019-01-01'}]