allow null for chart