@chrisbergs,
Thanks for your valuable feedback.
You can either pass the ID of the element where chart has to be rendered or the DOM element itself. This point is already addressed in Getting Started section of documentation. Please refer to the screenshot below.

—
Vishwas R
Team CanvasJS