Dependency Documentation

Skip to first unread message


Jun 28, 2019, 9:23:52 AM6/28/19
to Flot graphs
Is there any documentation of what files are actually required to get things working. Naturally if you want an extra feature you just add the plugin (even if you have the properties set ahead of time the basics of the plot should still work). 

In the old examples the index pages only included the scripts that were actually needed (ie the basic-usage example only required jquery.flot.js, or the time-axes example only had jquery.flot.time.js as well as the basic jquery.flot.js).

Now you can't even find what you need from the ground up. For example currently if you add in scripts one a time for the basic example you add jquery.flot.js. Then you find an error that makes you guess if need jquery.canvaswrapper.js. Then yet another error that makes you guess you need jquery.flot.browsers.js. It seems like there's scripts commented as plugins but are actually dependencies and scripts commented as dependencies but are actually plugins. And all the scripts for any page ever using a Flot is very inefficient especially if you only need the basics.

Could some a very minimum please let me know the fewest listing of scripts needed to full-fill the basic-usage example?
Reply all
Reply to author
0 new messages