set display block for chart