[vtkusers] vtkQtBarChart

Lodron, Gerald Gerald.Lodron at joanneum.at
Tue Sep 14 10:50:20 EDT 2010


Hi i currently made the vtkQtBarChart Example (http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/vtkQtBarChart) and<http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/vtkQtBarChart)%20and> it works fine.

It is displaying a bar diagram whereby the horizontal and vertikal axis is displaying numbers. I want to modify it to display text on the bottom axis instead of values.

I tried to use these methods in the void BarChartFileReseter::activate() function:


model->setVerticalHeaderLabels

model->setHorizontalHeaderLabels



with a string list as parameter but they were not working. Any suggestions how to solve my problem?



best regards

Gerald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100914/06dd38db/attachment.htm>


More information about the vtkusers mailing list