fixed re-rendering issue when chart was hidden and the chart data changed.
Merge pull request #69 from Kitware/histogram-re-render

fixed re-rendering issue when chart was hidden and the chart data change...