-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Lens] Add some more documentation for dynamic coloring #101369
Changes from 3 commits
720d7a6
fd88b1f
6166ebe
f09064d
4b3f4d9
4f303b4
2acdf52
6185cf3
43faf14
a594405
08414b9
0359ab3
a9dd5a1
f27c3f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -303,3 +303,22 @@ Pagination in a data table is unsupported in *Lens*. However, the <<types-of-vis | |||||
===== Is it possible to have more than one y-axis scale in visualizations? | ||||||
|
||||||
*Lens* lets you pick, for each Y dimension, up to two distinct axis: *left* and *right*. Each axis can have a different scale. | ||||||
|
||||||
[float] | ||||||
[[why-my-value-is-not-of-the-right-color-using-dynamic-coloring]] | ||||||
===== Why mt value is not of the right color when using dynamic coloring? | ||||||
|
||||||
There could be various reason for a specific value in the table to have a different color than expected. | ||||||
dej611 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
Here's a short list of few different aspects to check: | ||||||
* Make sure the value falls within the desidered color stop value defined in the panel. Color stop values are "inclusive". | ||||||
dej611 marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm a little out of my realm here. Do users know what "inclusive" means when it comes to color stop values? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inclusivity, in this context refers to "ranges", so I would expect they are. I do not have a strong opinion here on the terminology, so if anything better comes I'm open. |
||||||
|
||||||
* Make sure to have the right value precision setup: value formatters could round up or down numeric values. | ||||||
dej611 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
* Make sure the right color continuity option is selected: if the number is below the first color stop value a continuity of type `Below` or `Above and below range` is required | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
* The values set by default by the Value type are based on the current data range displayed on the data table. | ||||||
dej611 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
** If a `Number` custom configuration is used, check the color stops value are covering the current data range. | ||||||
dej611 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
** If a `Percent` configuration is used, when the data range changes this has an effect on colors displayed. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we using the term "dynamic coloring" anywhere else? I don't think it's self-explanatory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point. I assumed here it will be in the release notes.
Probably I'd suggest then
datatable coloring
, wdyt?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me. Other things that would work IMHO: