Hi, using CanvasJS library I can set intervalType and interval for x axis. Is it possible to set minimum interval (minInterval) for x axis. When I set for example interval=1, it is good when x values are very small (1, 2, 3, 4, 5, etc.), but when I not set interval=1, x axis display double numbers (0.5, 1.5, etc.), when x values are only two or three.
So I want set interval=auto, minInterval=1 and intervalType=hour. How I can do that?
chart.axisX.get(“interval”) always return value which was calculated when chart first time was created. When I myself set chart.axisX.set(“interval”, 1) when chart.axisX.get(“interval”) return correct value.