fix gaugechart legend bug