[vtkusers] Ticks and custom labels at _only_ 0 and 1 on a vtkAxis

Elvis Stansvik elvis.stansvik at orexplore.com
Wed Feb 8 01:52:39 EST 2017


Hi all,

I have a somewhat strange requirement: I have a vtkChartXY, and along one
of its axes I need to enable ticks at *only* positions 0 and 1. The tick at
0 should be labeled "0", while the tick at 1 should be labeled "Al"
(Aluminum).

I've been looking at the API of vtkChartXY and vtkAxis, but haven't found
anything promising. Is it impossible?

Thanks in advance,
Elvis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170208/06e3c354/attachment.html>


More information about the vtkusers mailing list