TSUIAM-24, added legend container