set_cards_details function

Set cards chart details