made chart redraw on uncheck checkbox