Skip to content
Snippets Groups Projects
Commit c1b404a8 authored by Peter Franz's avatar Peter Franz
Browse files

Customize vtkAxis

Make the following methods in vtkAxis virtual so users can customize vtkAxis:

GenerateSimpleLabel(), GenerateSprintfLabel(), GenerateLabelFormat(), GenerateLogSpacedLinearTicks()

This was originally proposed by a post on

http://vtk.1045678.n5.nabble.com/Request-Make-certain-methods-related-to-tick-labels-in-vtkAxis-virtual-td5744594.html

with the purpose of allowing the user to use customized axis labels, e.g. for displaying dates or times.

Apart from making the above methods virtual it is also required that the user can set the customized axis in a chart.
Hence further modifications were necessary in vtkChart, vtkChartXY and vtkChartXYZ to replace the axis created in the chart
by the customized axis.

Further a change was made to vtkAxis to allow the axis title to be switched off.
parent 0566ad88
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment