TSUIAM-15, make legend header configurable