Remove the white spaces on the chart when we using drawLabels: false. I am using multiple x-axes and no of x-axis increase the empty white space on the x-axis is also increasing.
Try getting build 1.1.1382 of SciChart JS from npm.
Then, set the following code:
sciChartSurface.padding = new Thickness(0, 0, 0, 0); // Optional, set padding of chart. Default = 10 xAxis.drawLabels = false; xAxis.drawMajorTicks = false; xAxis.drawMinorTicks = false;
Additional documentation has been uploaded covering how padding works in SciChart.js Chart, Axis Labels and Axis Title here.
Let me know if that helps.
Please login first to submit.