vtkChartMatrix with DrawAxesAtOriginOn tick and grid disappear

gdeee <[email protected]>
Newsgroups gmane.comp.lib.vtk.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.