TMDM-7739 Externalize chart legend