Returns the specified property of subtitles.
Parameters:var chart = new CanvasJS.Chart("container", { . . subtitles: [{ //First subtitle }, { //Second subtitle }, . ] . . }); chart.render(); console.log(chart.subtitles[0].get("text"));
Please refer to Subtitle Element for complete list of properties that can be accessed via get.
Also See: