flot graph, use legend to turn on/off series
There’s a couple of problem with your code: The data you’re using is in the form of an array, while the one presented in the demo is an object. The distinction is important here because you’ve copied their code, but did not change the code to accommodate this. The lines in question are: if (key … Read more