refactor chr label parsing in graphics.dotplot