View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015618 | ParaView | (No Category) | public | 2015-08-05 10:05 | 2015-09-02 16:56 | ||||
Reporter | Utkarsh Ayachit | ||||||||
Assigned To | Cory Quammen | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | git-master | ||||||||
Target Version | 4.4 | Fixed in Version | 4.4 | ||||||
Summary | 0015618: Invalid values in scalar bar | ||||||||
Description | + Wavelet, Apply + Color By "RTData", + Rescale to custom data range 0, 0.5 + Now look at the scalar bar, it shows equidistant values at 0, 0.1, 0.3, 0.4! + Now go the Edit Color Legend Parameters dialog (from the Color Map Editor panel) and then uncheck "Automatic Label Formatting", you'll see values as 0, 0.15, 0.3, 0.45 -- which is better. The default formatting is misleading. Must be fixed. | ||||||||
Tags | No tags attached. | ||||||||
Project | Sandia | ||||||||
Topic Name | |||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0034897) Cory Quammen (developer) 2015-08-05 16:36 |
Utkarsh, I cannot reproduce this on master on linux. The values I get are 0, 0.12, 0.25, 0.38, 0.5. Better values would be 0, 0.125, 0.250, 0.375, 0.5. I will look into getting the automatic label format working better. |
(0034999) Cory Quammen (developer) 2015-08-15 21:08 |
vtkPVScalarBarActor uses a vtkTextActor to check whether a formatted number string fits within a target rectangle. When it does this, the font size is scaled up to fit into the target rectangle's height. This, of course, widens the size of the test string width-wise. More digits = wider string at the same scaled-up font size = false report that the string (0.375) does not fit in the given region. |
(0035010) Cory Quammen (developer) 2015-08-17 17:26 |
Fix is merged into master. commit 1c67a4327a18c8f8252bbd84536f5388d30106ed Author: Cory Quammen <cory.quammen@kitware.com> Date: Sun Aug 16 00:00:22 2015 -0400 BUG: 15618 Fix auto-format label values Auto-formatted labels where often artificially short. The target height for a label value was based on the space between label tick marks. This spacing is often larger than the space required for the desired font size. Using this target height would make the vtkTextActor that figures out whether a particular label fits in its allotted space scale up the font size, making longer labels not fit in the allotted space. Hence, labels would be unnecessarily short. As a fix, reduce the target height to the minimum of the currently computed target height and the height of a '|' character as reported by a helper vtkTextActor. This should produce better label. |
(0035138) Alan Scott (manager) 2015-09-02 16:56 |
Nice. Tested remote server, Linux, master. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-08-05 10:05 | Utkarsh Ayachit | New Issue | |
2015-08-05 10:05 | Utkarsh Ayachit | Assigned To | => Utkarsh Ayachit |
2015-08-05 10:05 | Utkarsh Ayachit | Status | backlog => todo |
2015-08-05 10:06 | Utkarsh Ayachit | Target Version | => 4.4 |
2015-08-05 15:53 | Cory Quammen | Assigned To | Utkarsh Ayachit => Cory Quammen |
2015-08-05 15:53 | Cory Quammen | Status | todo => active development |
2015-08-05 16:36 | Cory Quammen | Note Added: 0034897 | |
2015-08-15 21:08 | Cory Quammen | Note Added: 0034999 | |
2015-08-17 17:26 | Cory Quammen | Note Added: 0035010 | |
2015-08-19 00:59 | Cory Quammen | Status | active development => gatekeeper review |
2015-08-19 00:59 | Cory Quammen | Fixed in Version | => 4.4 |
2015-08-19 00:59 | Cory Quammen | Resolution | open => fixed |
2015-08-19 08:08 | Utkarsh Ayachit | Status | gatekeeper review => customer review |
2015-09-02 16:56 | Alan Scott | Note Added: 0035138 | |
2015-09-02 16:56 | Alan Scott | Status | customer review => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |