[Exploratory view] use percentages in distribution chart#103080
[Exploratory view] use percentages in distribution chart#103080shahzad31 merged 23 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/uptime (Team:uptime) |
flash1293
left a comment
There was a problem hiding this comment.
Kibana app changes LGTM
| } | ||
|
|
||
| getMainYAxis(layerConfig: LayerConfig) { | ||
| getMainYAxis(layerConfig: LayerConfig, layerId: string, columnFilter: string) { |
There was a problem hiding this comment.
I don't think I fully understand the idea of a mainYAxis and a childYAxis of yet. Can you explain to me how they relate to one another?
There was a problem hiding this comment.
Sorry again for confusing naming here. Seems like i need to clean up this part as well.
So as far as Lens is concerned there are no main/child axis. I coined these because i thought we will have a main series concept in lens.
Essentially child columns here means there are more than one column in the layer.
| accessors: [ | ||
| `y-axis-column-layer${index}`, | ||
| ...Object.keys(this.getChildYAxises(layerConfig)), | ||
| // ...Object.keys(this.getChildYAxises(layerConfig)), |
There was a problem hiding this comment.
Did you intend to comment this out?
There was a problem hiding this comment.
no, i removed it now.
| string, | ||
| CountIndexPatternColumn | MathIndexPatternColumn | OverallSumIndexPatternColumn | ||
| > = { | ||
| [`${yAxisColId}X0`]: countColumn, |
There was a problem hiding this comment.
the name column is still confusing to me, but I know it maps back to lens nicely.
There was a problem hiding this comment.
i will probably spend more time in tech sync or dedicated session to go over this concept.
💚 Build SucceededMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
History
To update your PR or re-run it, just comment with: cc @shahzad31 |
justinkambic
left a comment
There was a problem hiding this comment.
Smoke test went well; I'm ++ to @dominique in thinking we should continue sessions on this codebase as a lot of it seems arcane to me.
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Summary
fix #103469
should be merged/reviwed after #103214
Using lens formula overall count implemented to display percentages in Distribution charts on Y axis in exploratory view.