Hi, I have the current situation: I need to have a chart who shows the data of a single month, so I need to have the primary X axis of type 'datetime' to go from the first day to the last day of the month, without "overflowing" to other months, because that'll show no data for days that might have data.
The data is loaded by AJAX and I can change month, so, when redrawing the chart, I change both the data and the range. Here go the pseudo-code at the end of the AJAX call:
Without the "chart.model.primaryXAxis.setRange = true;", all the range settings are ignored.
Redrawing some months gives an error, while others go smoothly. There is no correlation in the data of the months giving errors, as far as I can tell.
The error and its stack trace is the following: 'Unable to get property 'Region' of undefined or null reference' Line: var p=this.chartObj.model.chartRegions[y].Region.Bounds y is 0 'this.chartObj.model.chartRegions' is an array of length = 0
Thanks for contacting syncfusion support. We have analyzed your query and replicated the scenario in our sample. We can able to reproduce the reported issue. We have logged issue report on this. For your better follow-up we have created the new branched incident in your account.