With Goal Line switch ON, most charts display a horizontal line (or vertical for bar charts) with a "Goal (73)" far away label. The series is semi-transparent, to allow you to see the goal line label behind the series. This template shows how to add this styled strip line in your charts.
For CanvasJS. You may need a separate commercial license from CanvasJS for their charts.