add hover event to outline bar and write value