enable show/hide legend
Merge pull request #65 from benitoro/master

enable show/hide legend