MantisBT - ParaView
View Issue Details
0015667ParaView(No Category)public2015-08-20 21:572015-12-01 17:13
Alan Scott 
Cory Quammen 
normalminorhave not tried
closedfixed 
git-master 
4.44.4 
Sandia
15667_reduce_label_precision
incorrect functionality
0015667: Color legend is crazy for very precise data.
The color legend gives crazy number of digits of precision.

* Linux, master, local server.
* Open can.exo. All vars on. Apply.
* Calculator filter. Use formula: GlobalElementId*0.000001+1
* Color by Result.

We don't need 20 characters of precision!!!!

Please make the default "automatic mode" the same as the suggested non automatic mode on the Color Legend Editor - i.e., %-#6.3g

No tags attached.
related to 0015851closed Kitware Robot Log scale color legend doesn't limit number of labels 
has duplicate 0015674closed Alan Scott In v4.4.0-RC1, the intermediate labels of the scalar bar are too long 
jpg junkScreenshot1.JPG (199,936) 2015-08-20 21:58
https://www.vtk.org/Bug/file/9879/junkScreenshot1.JPG
jpg

png 15667.png (14,570) 2015-08-24 13:43
https://www.vtk.org/Bug/file/9885/15667.png
png
Issue History
2015-08-20 21:57Alan ScottNew Issue
2015-08-20 21:57Alan ScottStatusbacklog => todo
2015-08-20 21:57Alan ScottTarget Version => 4.4
2015-08-20 21:58Alan ScottFile Added: junkScreenshot1.JPG
2015-08-24 09:31Cory QuammenAssigned To => Cory Quammen
2015-08-24 11:02Christophe BourcierRelationship addedhas duplicate 0015674
2015-08-24 11:05Cory QuammenStatustodo => active development
2015-08-24 13:16Alan ScottNote Added: 0035044
2015-08-24 13:33Cory QuammenNote Added: 0035045
2015-08-24 13:34Cory QuammenNote Added: 0035046
2015-08-24 13:34Cory QuammenNote Edited: 0035046bug_revision_view_page.php?bugnote_id=35046#r1237
2015-08-24 13:43Cory QuammenFile Added: 15667.png
2015-08-24 13:44Cory QuammenNote Added: 0035048
2015-08-24 14:40Alan ScottNote Added: 0035049
2015-08-25 09:25Cory QuammenTopic Name => 15667_reduce_label_precision
2015-08-25 09:25Cory QuammenNote Added: 0035055
2015-08-25 09:25Cory QuammenStatusactive development => gatekeeper review
2015-08-25 09:25Cory QuammenFixed in Version => 4.4
2015-08-25 09:25Cory QuammenResolutionopen => fixed
2015-09-03 09:37Utkarsh AyachitStatusgatekeeper review => customer review
2015-12-01 17:12Alan ScottRelationship addedrelated to 0015851
2015-12-01 17:13Alan ScottNote Added: 0035498
2015-12-01 17:13Alan ScottStatuscustomer review => closed

Notes
(0035044)
Alan Scott   
2015-08-24 13:16   
Alan - be sure to test both bugs. Lets make sure they both resolve.
(0035045)
Cory Quammen   
2015-08-24 13:33   
Alan, I think 3 digit may be too few. It certainly is for the case you illustrate (labels are 1.00, 1.00, 1.01). I propose 6.
(0035046)
Cory Quammen   
2015-08-24 13:34   
Merge request created:

https://gitlab.kitware.com/paraview/paraview/merge_requests/324 [^]

(0035048)
Cory Quammen   
2015-08-24 13:44   
I attached a screenshot of the new precision with the fixed font size.
(0035049)
Alan Scott   
2015-08-24 14:40   
Cory - That looks really good. Lets go with what you have - I believe 6.
(0035055)
Cory Quammen   
2015-08-25 09:25   
commit bf81f8ea407cdb84fa8623750d3b03f2cf88221c
Author: Cory Quammen <cory.quammen@kitware.com>
Date: Mon Aug 24 13:26:03 2015 -0400

    Reduced maximum digits of precision in scalar bar labels
    
    Was 20, now is 6.
    
    Also, fixed a bug in the computation of the height of the label that
    was causing the label text to be much smaller than the desired font
    size specified in the scalar bar settings.
(0035498)
Alan Scott   
2015-12-01 17:13   
Tested local server, master, Linux. Looks nice.

Note that there are too many labels with Log scale. I have related a different bug.

Closing this one.