You can achieve this by using two rects without margin in layout, and shared point container.
Say, the initial range is 0-90. In this case the width of the first rect is 90*k (k - Ñoefficient, pxl for one degree), second rect 0*k;
When the interval is from 0-90 to 270-360, the width of the first rect is 90*k, second rect 0*k. Axis range from 0-90 to 180-270 for axis in first rect, and from 90-180 to 180-360 for second rect.
When the interval is from 0-90 to 270-360, the width of the first rect is 90*k, second rect 0*k. Axis range from 0-90 to 270-360 for axis in first rect, and no matter what in the second rect.
When the interval is from 271-1, the width of the first rect is 89*k, second rect 1*k. Axis range 271-360 for axis in first rect, and 0-1 in second rect.