Fix Hide legend only when data given in single series format (issue#8)

Hey,
First of all sorry because I'm not sure how to add this pull request directly to the issue.

I guess this should fix the issue #8:

The legend will only be displayed for a single serie if the :name symbol is specified in the data.

Thomas