json-scada icon indicating copy to clipboard operation
json-scada copied to clipboard

ZOOM CONFIGURATION

Open darkjhesus opened this issue 6 months ago • 4 comments

  1. Is it possible to change the zoom settings so that when you scroll the mouse wheel, the zoom center is where the mouse pointer is, not the top left corner?

  2. Can you configure the panning of the single line diagram by pressing the mouse wheel?

  3. Is it possible to configure a different IP address, so that, I could access to the SCADA in a LAN from different PC?

darkjhesus avatar Jun 04 '25 15:06 darkjhesus

  1. I can implement this, no problem.
  2. Panning can be done by the arrow keys. Can be enabled easily by mouse drag. By wheel requires some development.
  3. You can add virtual/secondary IPs in Windows. External IPs (IP of the client computer) must be allowed in c:\json-scada\conf\nginx _access_control.conf (and restart JSON_SCADA_nginx process).

https://aptaredocs.veritas.com/10.3.00/index.html#page/System%20Administrator's%20Guide/$H_113.html

riclolsen avatar Jun 04 '25 18:06 riclolsen

websage.zip

This will change zoom in/out, pan with mouse click+drag or arrow keys. Change variable "g_wheelDirBackOut: true" (line 229) to invert direction of zoom with wheel if necessary. Unzip to C:\json-scada\src\AdminUI\dist\

riclolsen avatar Jun 04 '25 20:06 riclolsen

Thank you dear @riclolsen, you are amazing. Everything is working perfectly.

darkjhesus avatar Jun 04 '25 21:06 darkjhesus

The change in zoom in/out will be incorporated in the next version.

riclolsen avatar Jun 05 '25 11:06 riclolsen