Using the below options doesn't help me prevent my CategoryAxisLabels from overlapping in line-chart when my browser is resized.
categoryAxis.autoGridCount = true;
categoryAxis.minHorizontalGap = 100;
categoryAxis.gridPosition = "start";
categoryAxis.equalSpacing = false;
categoryAxis.parseDates = false;
chart.validateNow();
I trigger these functions on the $(wndow).on('resize', function() {...});
event.
Please note I also have a custom labelFunction to format the axis-labels.
My Result : It autoGridCounts from 476px to lower, but above it, all the categoryAxis label values appear on x-axis and overlap upon each other in a most disgraceful way. :(
Can someone please help me out. Really stuck!! :(