How Can I dynamically add the chart Title

Hi,
I have a cross site chart on a subsite. I need to display the name as current web title. How Can I set this?


Hi! You can do it if you put this script in Dashboard->Advanced:

var handlers = {}; handlers.preRender = function(config, logger) { logger.debug('Configuration: ', config); var title = _spPageContextInfo.webTitle; config.title.text = title; return true; }

Thank You YuriyMedvedev :slight_smile: