Bug fix: indexFromSetName on invisible sets (#771)
authorSteve Jones <steve@squaregoldfish.co.uk>
Fri, 26 Aug 2016 15:48:09 +0000 (17:48 +0200)
committerDan Vanderkam <danvdk@gmail.com>
Fri, 26 Aug 2016 15:48:09 +0000 (11:48 -0400)
commit051a854a82738473230fd1c20b6c9cacb036269d
tree919401c6b0239fb07a36fc39e4b0f9fd743b4709
parent546df89613a776fa97d049368f469c058844c431
Bug fix: indexFromSetName on invisible sets (#771)

* indexFromSetName works with trailing invisible sets

If the last set(s) have their visibility set to false, their names
would not be added to `setIndexByName_`, so `indexFromSetName` would
not be able to find them. This fixes that problem.

* Corrected test.

* Properly clone graph options
auto_tests/tests/data_api.js
src/dygraph.js