I'm working through the example Info window with chart | ArcGIS API for JavaScript The key seems to be the use an infoWindow rather than a popup for the template in the constructor of the Map.
I have other layers in my map, though, where I'd prefer to use popups. In the map documentation, it looks like I can use map.attr to change this. map.attr('infoWindow','popup').
Has anyone else encountered this situation and do you have a recommendation or example on how to handle this? I think I'll need a listener on the selection of the featureLayer that needs the infoWindow rather than popup. But then I'll need to switch it back to popup for my other layers.