MantisBT - ParaView
View Issue Details
0010385ParaViewBugpublic2010-03-08 15:252011-01-13 17:00
Utkarsh Ayachit 
Marcus D. Hanwell 
normalminorhave not tried
closedfixed 
 
WhenPossible3.8 
0010385: Marks: Top axis labels are incorrectly positioned.
* Plot Over Line
* New XY Plot
* Open View Settings
* Click "Show Axis" for Top Axis.
Bugs:
- Labels appear under the top axis instead of above it. (Same is true for right axes, labels should appear on the right of the axis).
- Labels from bottom axis disappear (and don't reappear even if you turn off top axis).
No tags attached.
duplicate of 0010387closed Marcus D. Hanwell Marks: Left/Top axis ranges are never set correctly 
Issue History
2010-03-08 15:25Utkarsh AyachitNew Issue
2010-03-08 15:25Utkarsh AyachitStatusbacklog => tabled
2010-03-08 15:25Utkarsh AyachitAssigned To => Marcus D. Hanwell
2010-03-08 15:30Utkarsh AyachitNote Added: 0019762
2010-03-08 15:35Utkarsh AyachitDescription Updated
2010-03-10 17:48Marcus D. HanwellNote Added: 0019822
2010-03-11 16:52Marcus D. HanwellNote Added: 0019847
2010-04-16 01:31Utkarsh AyachitTarget Version3.8 => WhenPossible
2010-05-10 13:32Marcus D. HanwellRelationship addedduplicate of 0010387
2010-05-10 13:33Marcus D. HanwellNote Added: 0020697
2010-05-10 13:33Marcus D. HanwellStatustabled => @80@
2010-05-10 13:33Marcus D. HanwellFixed in Version => 3.8
2010-05-10 13:33Marcus D. HanwellResolutionopen => fixed
2010-05-21 14:09Alan ScottNote Added: 0020807
2010-05-21 14:09Alan ScottStatus@80@ => @20@
2010-05-21 14:09Alan ScottResolutionfixed => reopened
2010-05-21 14:21Marcus D. HanwellNote Added: 0020809
2010-05-21 14:21Marcus D. HanwellStatus@20@ => @80@
2010-05-21 14:21Marcus D. HanwellResolutionreopened => fixed
2010-06-01 21:16Alan ScottNote Added: 0020888
2010-06-01 21:16Alan ScottStatus@80@ => closed
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709

Notes
(0019762)
Utkarsh Ayachit   
2010-03-08 15:30   
Looks like the label disappearing happened because of "Log scale for bottom" axes.
However the weird behavior is this:

* I opened a XY plot, check log scale for bottom axis.
* I deleted that view. Created a new one--by default showed up without Log scale for x axis- which is good. But now when I go to view settings, the log-scale option of the bottom axis is already checked (guess it remembered) and hitting "Apply" resulted in changing to log scale without my explicit knowledge.
(0019822)
Marcus D. Hanwell   
2010-03-10 17:48   
Partial fix in Qt/Components/pqXYChartOptionsEditor.cxx 1.7, for the loading of the log scale property and the refresh of the axes pages. The label positions will be follow.
(0019847)
Marcus D. Hanwell   
2010-03-11 16:52   
Added some code to position the axis labels correctly, VTK/Charts/vtkAxis.cxx 1.19, I need to do some more work to request the entire chart is laid out again once font metrics determine the appropriate amount of space needed for each axis..
(0020697)
Marcus D. Hanwell   
2010-05-10 13:33   
So the major issues here are resolved, with some related issues in the bug I marked this a duplicate of.
(0020807)
Alan Scott   
2010-05-21 14:09   
I believe that the labels are now correctly positioned, but they are not the same color as other axis. All axis labels should be the same color, unless the user specifically changes them.

If you want to resolve this bug, and have me open another bug for color, let me know.

Alan
(0020809)
Marcus D. Hanwell   
2010-05-21 14:21   
Ah, I think I copied the defaults from the old charts. It is a simple change in the XML...commit 45c78c2 contains the change. Please let me know if this is what you wanted.
(0020888)
Alan Scott   
2010-06-01 21:16   
Tested local server, Windows, trunk.