[vtkusers] Issue when setting number of ticks on a vtkAxis

Cory Quammen cory.quammen at kitware.com
Wed Dec 30 15:22:52 EST 2015


Maybe try vtkTextProperty::SetJustificationToRight()?

On Wed, Dec 30, 2015 at 2:55 AM, joaoroberto88 <joaorobertojr88 at gmail.com>
wrote:

> Hi Cory,
>
> I've solved it partially by rotating the overlapped labels 45 degrees (see
> the attached). The issue now is that the labels are above the X axis. I
> didn't find any methods in classes vtkChartXY, vtkAxis and vtkTextProperty
> to set the labels relative position, so putting them below the X axis. Do
> you know how can I fix this?
>
> Thanks,
>
> Joao.
>
> <
> http://vtk.1045678.n5.nabble.com/file/n5735701/Screen_Shot_2015-12-30_at_04.png
> >
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Issue-when-setting-number-of-ticks-on-a-vtkAxis-tp5735645p5735701.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151230/d5505693/attachment.html>


More information about the vtkusers mailing list