View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013000ParaView(No Category)public2012-03-14 16:522012-10-29 17:04
ReporterUtkarsh Ayachit 
Assigned ToMarcus D. Hanwell 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.14 
Target VersionFixed in Version3.98.0 
Summary0013000: Fix axis labeling modes
DescriptionCurrently 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).

TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files

 Relationships
related to 0013411closedUtkarsh Ayachit 2d axis layout doesn't work 

  Notes
(0028359)
Utkarsh Ayachit (administrator)
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 (developer)
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 (administrator)
2012-09-14 11:09

merged in master, if applicable.
(0029251)
Alan Scott (manager)
2012-09-20 21:19

Somewhat internal discussion. I also looked at axis layout for a plot over line, and it looks good.

 Issue History
Date Modified Username Field Change
2012-03-14 16:52 Utkarsh Ayachit New Issue
2012-03-14 16:52 Utkarsh Ayachit Assigned To => Marcus D. Hanwell
2012-03-14 16:53 Utkarsh Ayachit Note Added: 0028359
2012-08-30 10:36 Utkarsh Ayachit Relationship added related to 0013411
2012-09-11 14:59 Marcus D. Hanwell Note Added: 0029170
2012-09-11 14:59 Marcus D. Hanwell Status backlog => gatekeeper review
2012-09-11 14:59 Marcus D. Hanwell Resolution open => fixed
2012-09-14 11:09 Utkarsh Ayachit Fixed in Version => git-master
2012-09-14 11:09 Utkarsh Ayachit Status gatekeeper review => customer review
2012-09-14 11:09 Utkarsh Ayachit Note Added: 0029202
2012-09-20 21:19 Alan Scott Note Added: 0029251
2012-09-20 21:19 Alan Scott Status customer review => closed
2012-10-29 17:04 Utkarsh Ayachit Fixed in Version git-master => 3.98.0


Copyright © 2000 - 2018 MantisBT Team