Forum Discussion

LaurenceSD's avatar
LaurenceSD
Icon for Advocate II rankAdvocate II
5 years ago

Line and bar chart y-axis mis-aligned

Hi,

 

I've got a line and bar chart showing enquiries per day and then a rolling 7 day average, but despite turning off the secondary axis, the line still appears to be using this "hidden" axis. On the example below you can see that for date shown the number of enquiries was 43 and the 7 day average was 40, but the line is higher up than the bar, when it should be below it. I found one idea which was to show secondary axis, then align 0s and then turn off secondary axis, but this hasn't resolved this issue. Any suggestions would be appreciated. Thanks

 

 

4 Replies

    • LaurenceSD's avatar
      LaurenceSD
      Icon for Advocate II rankAdvocate II

      amitchandak thanks for the suggestion, i've given that a go but no joy I've confirmed I'm on Feb 2021 and I've tested by putting them on the same axis in a clustered chart and it's working fine, but just the visual I want. Thanks for your help

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi LaurenceSD ,

     

    To my knowledge, the Show Secondary option is disable by default and based on my test,everything works fine. So I agree with @amitchandak ,it is a little strange...

    But If re-create visuals could not make sense, and the Desktop version has been the latest,

    you could input Start and End of Y-axis by yourself and enable "Show Secondary" and "Align zeros" options like this:

     

    Here is the pbix file.

     

    Best Regards,
    Eyelyn Qin
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • LaurenceSD's avatar
      LaurenceSD
      Icon for Advocate II rankAdvocate II

      thanks Anonymous  that's what i ended up doing was fixing the axis and using zoom slider to assist as well. It does seem as thought something is up to my end, because on the bugs forum amitchandak  directed me to my post on there also got a response that it worked fine for others, but thanks.