SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
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.
Hi Jerin, we just published version 1.1.1382 containing the fix. Please check it out.
Hi Jerin
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.