This sample shows manipulation of the Legend Text at output time