Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

Shape arrangement (top, bottom) unexpected behaviour

In both the service and publish to web.

 

Make a new report.

Insert two shapes, ie rectangles.

Make one partially overlap the other.

Send the bottom shape to the back; format -> send backward -> send to back

Upload to service

So the upper shape will be on top and the lower shape will be in the back

Click on the lower/back shape on the part where they dont overlap

Move your mouse to the part where the shapes overlap

Now the lower shape will be on top

 

Identical behaviour occurs with images on top of a rectangle, the images wil disappear behind the rectangle if you click on the rectangle.

If you use shapes as background objects behind an image or button, for aesthetic purposes, this behavour is unwanted.

Is this a bug or by design? Can i disable this behaviour?

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous Expected behaviour.. You can get around this by covering both objects with a transparent shape on top. Depending on how you did this it can get tedious as you might need to make many of these transparent shapes to go around the actual visuals. This is typically why we create our background images using Illustrator for our layouts. Some examples of what i'm talking about can be found on our site here -> http://powerbi.tips/layouts

    • Anonymous's avatar
      Anonymous
      Not applicable

      Anonymous Thanks. Do you know if this behaviour has a functional use? If not maybe it can be changed and there is less need for custom templates like you suggested.

       

      I know your site and templates, kudos to you its really helpful :)

       

      Do you know more details about the snap to grid? I mean if I make a custom template like yours, how do i make sure everything aligns pixel perfect? What are the snap distances and can i customize it?

      • Anonymous's avatar
        Anonymous
        Not applicable

        Anonymous It is likely something you could label a "bug" especially when even after you lock the objects the same behaviour occurs. I was being a bit glib, it isn't the best behaviour.

        Snap to grid is a decent start if you are building things in the PBIX file, but if you need pixel perfect alignment, I would recommend using the formatting of the shape or visual, under the "General tab" you have a full x/y of the object on the page. We use this in order to make sure the object is placed where we want it. Also, when grabbing multiple objects we use the Align function under the Format ribbon to align those objects left,right, top, bottom depending on your needs.

        All in all, it can be quite a bit of work each and every time especially in the tool itself, which is why we use illustrator pretty heavily.

  • Select the shape which you want set to back. Turn on the maintenance layer.