View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014980ParaView(No Category)public2014-09-01 07:222016-08-12 09:59
ReporterVadim SANDLER 
Assigned ToTristan Coulange 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version4.1 
Target VersionFixed in Version 
Summary0014980: Scalar bar legend labels have not reliable behaviour for display
DescriptionIn the "Color map editor", there is a dialog box "Edit color legend parameters".
It allows to choose the number of labels that you want to show along the scalar bar legend by filling the field "Number Of Labels".
But the number of the labels asked for the displaying doesn't correspond to the real number of the displayed labels.
The behaviour is similar to the following:

Number Of Labels = 1 --> 0 label is displayed
Number Of Labels = 2 --> 1 label is displayed
Number Of Labels = 3 to 5 --> 2 labels are displayed
Number Of Labels = 6 to 14 --> 5 labels are displayed
Number Of Labels = 15 to 23 --> 14 labels are displayed
Number Of Labels = 24 to 29 --> 23 labels are displayed
Number Of Labels = 30 to 59 --> 29 labels are displayed
Number Of Labels => 60 OR = 0 --> 59 labels are displayed


Could it be possible that the number of labels asked is exactly the number of labels displayed ?
TagsNo tags attached.
ProjectParaViS
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0033308)
Tristan Coulange (developer)
2014-09-04 11:25
edited on: 2014-09-04 11:26

Hello,

Actually this number is the "Maximum number of labels", so it was renamed in ParaView 4.2. ParaView computes the real number of labels using this maximum, and in most cases it is not the same.

For now, the only way to set an exact number of labels is the "Annotation" functionality:
- Open the "Color Map Editor" panel
- Click on the "Advanced properties" button
- At the bottom of the panel there is a table in which you can add Annotations
- Then you can show/hide them in the "Edit Color Legend Parameters" panel
This is not user-friendly but it works.

If you want we can develop an improvement of this functionality to create automatically these Annotations from a number of Annotations and a range defined by the user. The development is estimated at about 3 days.
What do you think about this?

Tristan

(0034222)
Tristan Coulange (developer)
2015-02-17 07:48

The improvement is done and merged into master:

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

Add a PV scalar bar option to automatically generate annotations.

The option allows to automatically create annotations at the
boundary of two dicreet colors. This allows to see the bounds
each color represents when working with a small amount of colors.

Change-Id: I73096651406f21d01d58ae8ce57fea69557f1256
(0038648)
Kitware Robot (administrator)
2016-08-12 09:59

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-09-01 07:22 Vadim SANDLER New Issue
2014-09-01 07:22 Vadim SANDLER Assigned To => Tristan Coulange
2014-09-04 11:25 Tristan Coulange Note Added: 0033308
2014-09-04 11:26 Tristan Coulange Note Edited: 0033308
2015-02-17 07:48 Tristan Coulange Note Added: 0034222
2016-08-12 09:59 Kitware Robot Note Added: 0038648
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team