set_hierarchy_details function

Set hierarchy chart details