I'm trying to follow below example to create a dojo chart in the popup, in stead of getting data from the query results (from the same layer), I have data from another source, e.g., some calculation result stored in an object. I'm wondering whether I can pass the data I want to make a chart to the PopupTemplate.