Sets the Orientation of indexLabel to “horizontal” or “vertical”.
Default: “horizontal”var chart = new CanvasJS.Chart("container", { . . data: [{ dataPoints: [ { x: 10, y: 10, indexLabel: "label1", indexLabelOrientation: "vertical" }, ], }, ] . . }); chart.render();
Also See: