• Peter Franz's avatar
    Customize vtkAxis · c1b404a8
    Peter Franz authored
    Make the following methods in vtkAxis virtual so users can customize vtkAxis:
    GenerateSimpleLabel(), GenerateSprintfLabel(), GenerateLabelFormat(), GenerateLogSpacedLinearTicks()
    This was originally proposed by a post on
    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.
vtkChartXYZ.cxx 48.1 KB