added test for max lines drawn on a chart