vtkChartMatrix with DrawAxesAtOriginOn tick and grid disappear

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

vtkChartMatrix with DrawAxesAtOriginOn tick and grid disappear

gde23
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?

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers