fix pie chart callbacks #2
Merge pull request #3 from michalochman/master

fix pie chart callbacks #2