MantisBT - ParaView
View Issue Details
0013000ParaView(No Category)public2012-03-14 16:522012-10-29 17:04
Utkarsh Ayachit 
Marcus D. Hanwell 
normalminorhave not tried
closedfixed 
3.14 
3.98.0 
TBD
incorrect functionality
0013000: Fix axis labeling modes
Currently vtkAxis has 3 "behavior" modes:
- AUTO
- FIXED
- CUSTOM

CUSTOM was added to support explicit labeling in ParaView, but that's not working correctly.

A cleaner solution (as discussed) is as follows:

1> vtkAxis' "behavior" mode will only control how the axis determines its range i.e. AUTO == based on data, and FIXED == using user-specified min/max. (No CUSTOM anymore).

2> vtkAxis will have labeling mode flag that controls how labels are placed (independent of how the axis ranges are decided). This can simply be a boolean (or enum) that indicates if the labels are placed automatically or only at user-specified values. If set to use user-specified values, then the "TickLabels" are used and labels are placed at only those values. Not that as user-zooms, the axis ranges change by the labels are still shown at only the indicated locations (similar to what would was expected in pase with CUSTOM behavior).

No tags attached.
related to 0013411closed Utkarsh Ayachit 2d axis layout doesn't work 
Issue History
2012-03-14 16:52Utkarsh AyachitNew Issue
2012-03-14 16:52Utkarsh AyachitAssigned To => Marcus D. Hanwell
2012-03-14 16:53Utkarsh AyachitNote Added: 0028359
2012-08-30 10:36Utkarsh AyachitRelationship addedrelated to 0013411
2012-09-11 14:59Marcus D. HanwellNote Added: 0029170
2012-09-11 14:59Marcus D. HanwellStatusbacklog => gatekeeper review
2012-09-11 14:59Marcus D. HanwellResolutionopen => fixed
2012-09-14 11:09Utkarsh AyachitFixed in Version => git-master
2012-09-14 11:09Utkarsh AyachitStatusgatekeeper review => customer review
2012-09-14 11:09Utkarsh AyachitNote Added: 0029202
2012-09-20 21:19Alan ScottNote Added: 0029251
2012-09-20 21:19Alan ScottStatuscustomer review => closed
2012-10-29 17:04Utkarsh AyachitFixed in Versiongit-master => 3.98.0

Notes
(0028359)
Utkarsh Ayachit   
2012-03-14 16:53   
Marcus,

once the VTK changes are in I can fix the dialog/proxies. Right now (in charts_on_tile_displays topic) custom labels aren't working as expected.
(0029170)
Marcus D. Hanwell   
2012-09-11 14:59   
This is really a VTK issue, it is resolved in this commit,

http://review.source.kitware.com/#/c/7488/ [^]

A new ivar was added, along with a new test to exercise different axis configurations. This is now merged into VTK, please let me know if there is any missing API you need. The new ivar is CustomTickLabels, which is set to true when setting custom tick labels, and can be set to false if not. The TestAxes test exercises several configurations.
(0029202)
Utkarsh Ayachit   
2012-09-14 11:09   
merged in master, if applicable.
(0029251)
Alan Scott   
2012-09-20 21:19   
Somewhat internal discussion. I also looked at axis layout for a plot over line, and it looks good.