Skip to main content

Hi Team,

I am trying to get a line chart on top of bar chart but the bar in many cases are superimposing on line. So how can i get it on top/front?

Adding the chart for reference

image

Hi Rahul,

you can add the order attribute on the section mark with type line. Here you can use order equal 100 for type line and order equal 200 for mark type bar.

image


Hi @Rashid Laamouri 

I tried and it is still showing the same

image


Hi @Rashid Laamouri 

I tried and it is still showing the same

image

HI @Rahul Bhat, can you please try it as a sublevel of the mark section not the encoding? after line 12 at the same level with Point:true


Hi @Rashid Laamouri 

Adding a screenshot with the suggestion.

image


Hi @Rashid Laamouri 

Adding a screenshot with the suggestion.

image

Hi @Rahul Bhat that's weird, could you try order 200 for the line and 100 for the bar?

Hope that helps


@Rashid Laamouri 

coincidently , it worked 🙂

Thank you

 


@Rashid Laamouri 

coincidently , it worked 🙂

Thank you

 

@Rahul Bhat  nice 🙂 I learned something new too, the order here somehow are confusing, because logically (from my point of you) the order = 100 should be on front and order = 200 on the background, so nice to know.

Have a nice day Rahul


@Rahul Bhat  nice 🙂 I learned something new too, the order here somehow are confusing, because logically (from my point of you) the order = 100 should be on front and order = 200 on the background, so nice to know.

Have a nice day Rahul

Yes logically what you described should have worked. But this is celonis 🙂 Somehow they have reversed it

Thank you for your support and you too have a nice day

 


Reply