fix pie chart bug in nvd3