Only try to hide datapoints if legend.hideable is true.

Fixes issue #3.