Add Center, Min, & Max values to the "Edit Color" dialog

Issue #285 resolved
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

I want to return the color sliders to the min/center/max values of my data when they have become corrupted.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Select View->Color settings...
  2. Double-click a slider

CURRENT BEHAVIOR

The median and mean are displayed, but not the min, max, or center values, so the user has no way in the app to know what the dimensions of their data is.

EXPECTED BEHAVIOR

Min, Max, and Center values should be displayed in the edit color dialog along with the mean and median. Additionally, a reset or "auto determine" button in the "Choose matrix colors" window would be nice as well (and clicking it would reset all sliders to 3 colors with default data values).

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

Add the min/max/center values to the edit color dialog.

FILES AFFECTED (where the changes will be implemented) - developers only

ColorPicker EditThumbDialog

LEVEL OF EFFORT - developers only

trivial

COMMENTS

This issue was inspired by issue #283.

Comments (9)

  1. Robert Leach reporter

    I know you're working on other things Chris, so I hope it's OK I finished this one up since it was simple. I made the values clickable too so that clicking them will change the value in the field.

  2. Robert Leach reporter

    I did not implement the "auto-determine" feature mentioned in this issue's "EXPECTED BEHAVIOR" section. I decided I would create that as a separate issue. This is implemented in branch "issue285".

  3. Robert Leach reporter

    I have added the min/center/max values. I also changed the aesthetics slightly while I was at it:

    mincentermax.png

  4. Log in to comment