Hello everybody!
I've found that Elevation Profile widget's API reference website (arcgis api for JS 3.35 - https://developers.arcgis.com/javascript/3/jsapi/elevationprofile-amd.html#methods) doesn't mention a quite useful method '.resize()'. I could find it only in developer console and in some samples like here (https://github.com/Esri/elevation-profile-template). I think it would be nice to add it.
Thank you!