Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[Maps] Remove client-side scaling of ordinal values #58528
[Maps] Remove client-side scaling of ordinal values #58528
Changes from 3 commits
27f8825
5578571
acbe878
df2f28f
8b193db
4332be2
86de74e
cb592ee
b80e3c3
0a8063c
78c92a6
4d057ef
371950c
bceda65
14e5fd4
b08e9b0
cd00b43
cf87ce8
52d3b8e
6652c93
37a6016
40c0bf5
2479cbe
d824d11
551b267
8c3ea16
4682b5d
974c221
7610ed7
276ae43
c62b1e5
7c94a0d
aa49420
74147cf
55a4dfd
e678938
dd3fe64
b2fb955
0342357
0257429
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I still think we need to preserve this logic and snap NaN values to less then min so they have the same behavior and do not cause errors. Also, snapping values less then min and over max need to be preserved. When using aggregations to fetch min/max, there will be values greater than and less then min/max
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.
thanks, agreed.
After discussion, we're moving this clamping to the actual mb-expression. This way, we do not need to retain this separate
scaleValue
code-path. It has following template:kibana/x-pack/legacy/plugins/maps/public/layers/styles/vector/style_util.js
Line 67 in 78c92a6