SSRS line chart gaps are not correct

For SSRS line charts to display gaps in the data correctly, the data must explicitly tells that for certain timestamps there are no data in those timestamp.

If there is a gap between timestamp A and timestamp B, the line chart will only display a gap if there are table rows for timestamps between A and B that contain empty or nil values. Otherwise, it will connect the lines instead of showing gaps.