Combine 2 types of panels

Hello guys,

Is there possible to combine 2 visualization in 1 (like in the image below ). So I have vertical bar visualization of data and I want to add a line visualization over that. I have to mention that the data source is the same . Is this possible?

Thank you,
Alex

Hi @AlexM566 ,

in Lens bar, area and line chart have the concept of "layering" where you can stack different configurations of them, even different chart types.

In the example below I'm mixing stacked bar chart with a line chart for a date histogram:

You can see that on the top left of each layer panel there's a chart type icon you can choose from.

Sharing the same date histogram is the best option, but Lens does not limit you to that.
Each layer is kind of independent and it could work cross-index too.

1 Like

Hi @Marco_Liberati

You literally saved me.

Thank you so much !
Have a nice evening
Alex

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.