Bug#31 fix: options are not applied to pie chart

This push is to solve the issue I posted #31.