redraw on threshold change and format card on data source change.