Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. 5.2.0 dashboard rack diagram not scaled to fit element size

5.2.0 dashboard rack diagram not scaled to fit element size

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 58.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    N
    normalcy
    wrote on last edited by
    #1

    Upgraded to 5.2.0 on Friday and have just noticed that on a dashboard with a rack diagram element it now seems zoomed to 100% always instead of vertically scaling the rack image into the allocated space of the dashboard element.  So you can never see the full contents of the diagram without using the internal scroll bars.

    Is there a way to zoom to fit the rack element, or can the change to that element be reverted?


    Screenshot 2025-03-31 092603.png

    1 Reply Last reply
    0
    • N
      N
      normalcy
      wrote on last edited by
      #2

      I'm just going to pull a backup to check 5.1.5 but I'm pretty sure it worked then. 

      I can see three recent commits relating to rack diagrams

      • https://github.com/netxms/netxms/commit/e988b7e3df8395d297ab775175c452e8b454109c
      • https://github.com/netxms/netxms/commit/00a158c3a84d2f33d3a6046a64adc9fc123a1dc4
      • https://github.com/netxms/netxms/commit/5708df2ee701060670e63ce1bcaefc8befc616fa

      It seems that the third commit is trying to do a zoom to fit feature for racks NX-2695.  I've got a 42RU rack defined and its definitely not zooming to fit in either the desktop client or web UI (linux server).

      1 Reply Last reply
      0
      • N
        N
        normalcy
        wrote on last edited by
        #3

        Is the new 'zoom to fit' scaling only taking into account the front view and prioritising width over height for fitting? 

        If I adjust the number of columns in a test dashboard it seems to maybe be scaling according to the front view only (see 3-col and 2-col examples).  My original dashboard is a 3-col layout.

        Is that an interaction due to the more recent commit to enable/disable front/back views?


        1col.png

        2col.png

        3col.png

        4-col.png

        1 Reply Last reply
        0
        • F
          F
          Filipp Sudanov
          wrote on last edited by
          #4

          Yes, racks now have scaling limit so that units don't become too small. Looks like this is not ideal for dashboard use, I've created a ticket to improve that: https://track.radensolutions.com/issue/NX-2738

          1 Reply Last reply
          0
          • N
            N
            normalcy
            wrote on last edited by
            #5

            @filipp-sudanov said in 5.2.0 dashboard rack diagram not scaled to fit element size:

            Yes, racks now have scaling limit so that units don't become too small. Looks like this is not ideal for dashboard use, I've created a ticket to improve that: https://track.radensolutions.com/issue/NX-2738

            OK thanks.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups