Sets the specified property of Axis.
Parameters:var chart = new CanvasJS("container", { . . axisX: { title: "axisX Title" }, . . }); chart.render(); chart.axisX[0].set("title", "New title for axisX", false); chart.axisX[0].set("titleFontColor", "red", false); chart.axisX[0].set("titleFontSize", 26);
Please refer to Axis Element for complete list of properties that can be set via this method.