[vtk-developers] [VTK 0011771]: SetOrientation doesn't work for the vtkTextProperty of vtkAxis

Mantis Bug Tracker mantis at public.kitware.com
Thu Jan 27 13:18:44 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=11771 
====================================================================== 
Reported By:                jmelnyk
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   11771
Category:                   (No Category)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-01-27 13:18 EST
Last Modified:              2011-01-27 13:18 EST
====================================================================== 
Summary:                    SetOrientation doesn't work for the vtkTextProperty
of vtkAxis
Description: 
Using default settings for a vtkChartXY and trying to set the Y axis orientation
vertically, I've been unable to make this happen.  A perfect example of what I
want can be found here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot

Using the source code from that link (exactly as is) produces the chart
correctly but the Y axis label is oriented horizontally.  i.e. it doesn't look
like the image at the link.  Placing the following line seems like it should
work (given that it works for all other vtkTextProperty props) but it does not:
"chart->GetAxis(0)->GetTitleProperties()->SetOrientation(90.0);"

Steps to Reproduce: 
Source code link, example and modification given.

Additional Information: 
using version 5.6.1 (release version), C++, VS2008 and 2010
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-27 13:18 jmelnyk        New Issue                                    
======================================================================




More information about the vtk-developers mailing list