Skip to content

Commit

Permalink
[UnifiedHistogram] Improve breakdown chart when values for the field …
Browse files Browse the repository at this point in the history
…are missing (elastic#181013)

## Summary

This PR changes Lens configuration to visualize data even if values for
the "Breakdown by" field are not provided.

Before:
<img width="600" alt="Screenshot 2024-04-17 at 11 34 41"
src="https://github.com/elastic/kibana/assets/1415710/02957896-4d5b-4a99-b09b-076ee962c219">

After:
<img width="600" alt="Screenshot 2024-04-17 at 11 35 13"
src="https://github.com/elastic/kibana/assets/1415710/a5a89785-71b8-4d77-9423-df573cc21d17">
  • Loading branch information
jughosta authored Apr 23, 2024
1 parent 1b53a8d commit 4c09bc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ describe('LensVisService attributes', () => {
"label": "Top 3 values of extension",
"operationType": "terms",
"params": Object {
"missingBucket": false,
"missingBucket": true,
"orderBy": Object {
"columnId": "count_column",
"type": "column",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export class LensVisService {
},
orderDirection: 'desc',
otherBucket: true,
missingBucket: false,
missingBucket: true,
parentFormat: {
id: 'terms',
},
Expand Down

0 comments on commit 4c09bc9

Please sign in to comment.