Controlling how data displays in a chart