vtkChartXYZ shows weird clipping and axes when rotated
After using the interactor to rotate the chart, the data, clipping planes and axes become misaligned.
The incorrect clipping is clearly visible in the SurfacePlot example - the blue ridge and red trough are clipped when they should not be.
The problem with the axes can be seen by running the same SurfacePlot example. Move the mouse in clockwise circles, allowing the chart to gradually precess until it takes on a diamond shape; then adjust until the front and back of the bounding box align like this snapshot: .
Several weird features are evident:
- the dataset does not align with the axes;
- the X axis should have a range 0 to 10, but it has been shortened a little at both ends;
- the Y axis should have a range 0 to 10, but has been extended to above 11;
- although the tick marks are located on the axes, the numbers diverge from them.
Note that if the example is adjusted to set a square geometry (equal 3rd and 4th arguments to SetGeometry), these effects are not seen.