[vtkusers] vtkXYPlotActor : Y-axis title vertical
John Platt
jcplatt at lineone.net
Tue Mar 9 07:15:00 EST 2004
Hi all,
Has anybody managed to display the Y-axis text vertically using
vtkXYPlotActor? I have tried
vtkAxisActor2D* axisActor = myXYPlot->GetYAxisActor2D();
vtkTextProperty* tprop = axisActor->GetTitleTextProperty();
tprop->SetVerticalJustificationToTop();
but the axis title properties seem to be unchanged.
Closer inspection of vtkXYPlotActor (vtk 4.5.0) suggests that the X & Y
axis titles share the same text property (vtkXYPlotActor
::AxisTitleTextProperty) ignoring the title text property in the
composite XAxis & YAxis class members.
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040309/d3c0da7e/attachment.htm>
More information about the vtkusers
mailing list