max and min google chart kludge