Forum Discussion

toy's avatar
toy
Advocate I
8 years ago
Solved

embedded content justify in frame

does anyone know how to left justify the content in the embedded iframe to the left

right now it comes back as centered

and i dont see anything in the embed doc that has this setting

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details#settings

 

 

  • toy's avatar
    toy
    8 years ago

    i just wanted to get back to you (or anyone reading) on this

     

    the custom layout was seriously complicated

    and to get our one tweak in - (which i think should be a simple setting)

    we had to format the whole thing

    which in the end we gave up

     

    we ended up just making the report full page

    which hacked the need for justification

     

     

2 Replies

  • v-micsh-msft's avatar
    v-micsh-msft
    Microsoft Employee

    Have you checked the custom Layout option?

    Custom Layout

    "

    • pageSize : use page size to control the canvas area size (i.e. report white area).
    • displayOptions: possible values are: FitToWidth, FitToPage or ActualSize. It controls how to scale the canvas to fit into the iframe.
    • pagesLayout: It controls the layout for each visual. see PagesLayout for more details.

    "

    Take a try to set the DisplayOptions to FitToPage.

     

    Regards,

    Michael

    • toy's avatar
      toy
      Advocate I

      i just wanted to get back to you (or anyone reading) on this

       

      the custom layout was seriously complicated

      and to get our one tweak in - (which i think should be a simple setting)

      we had to format the whole thing

      which in the end we gave up

       

      we ended up just making the report full page

      which hacked the need for justification