shutterstock/rickshaw — pull request #265 by JeremyChase (2013-06-20 18:45:14+00:00)
Title: Deselecting the final enabled series in the Legend was not being caught

The guard when removing the last enabled element was counting all series; not just the enabled ones. This was causing d3 to attempt to graph a "no-line" graph.