[vtkusers] vtkChartMatrix with DrawAxesAtOriginOn tick and grid disappear

gdeee gdeee at web.de
Wed Dec 5 02:47:58 EST 2018


Hello,

I am trying to render two vtkCharts side by side using vtkChartMatrix.
with the coordinate axis at the origin.

Therefore I have tested following example which runs fine:
https://github.com/Kitware/VTK/blob/master/Charts/Core/Testing/Cxx/TestChartMatrix.cxx

However if I add

static_cast<vtkChartXY*>(chart)->DrawAxesAtOriginOn();

for each chart, the tick of the axis gets lost and the background grid
as well.

Any idea what the problem is?



More information about the vtkusers mailing list