[vtkusers] vtkChartXY: custom label text for axes
Paul Douglas Hahn
pdhahn at compintensehpc.com
Mon Nov 19 17:20:38 EST 2018
Yes. At least for VTK 8.1, see for example
/VTK_ROOT//Charts/Core/Testing/Cxx/TestStackedPlot.cxx; the code calls
SetCustomTickPositions() to set month labels along the X axis.
On 11/19/2018 10:04 AM, Romain LEGUAY wrote:
> Hello everyone,
>
> I try to use vtkChartXY.
> I use QChartTable.cxx example as starting point.
>
> I can do practically all things I want except to customize the label text for the axes.
>
> For example, for the X-axis, I want to put a string instead of the « real » value contained in the vtkFloatArray.
>
> Is-it possible?
>
> Thank you,
>
> Romain
> _______________________________________________
> 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:
> https://public.kitware.com/mailman/listinfo/vtkusers
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181119/4a2acaa9/attachment.html>
More information about the vtkusers
mailing list