@scompliance,
The text was getting changed to ‘undefined’ due to some internal code, which we have fixed in the current release. Please refer to this blog post for more information on the current release. Also, take a look at this updated updated StackBlitz for working code.
Sachin Bisht
Team CanvasJS