Issue
When customizing the flag colors in Vista (Options > Flag Colors) for the Numeric Objects displays and communication status, the Web Diagrams will not reflect the change.
In Vista:
In Web Diagrams:
Product Line
Power Monitoring Expert 9.0
Power Monitoring Expert 2020 (CU2)
Environment
Vista/Web Diagrams
Cause
The flag colors in Vista is a global setting and it works separately from the diagrams.
Resolution
1) Open the file realtime.js located at %\Power Monitoring Expert\Applications\WebReach\Scripts with a HTML editor (or notepad)
2) Make a backup copy for safety
3) The flag colors are defined as below:
Line 934: DiagramManager.m_HiHiFlagColor = "#ff0000"; // red
Line 935: DiagramManager.m_HighFlagColor = "#ff8000"; // orange
Line 936: DiagramManager.m_LowFlagColor = "#00b8ff"; // light blue
Line 937: DiagramManager.m_LoLoFlagColor = "#0000ff"; // blue
Line 938: DiagramManager.m_ErrorFlagColor = DiagramManager.m_HighFlagColor;
Line 938: DiagramManager.m_ErrorFlagColor = DiagramManager.m_HighFlagColor;
Line 939: DiagramManager.m_StaleFlagColor = "#ffff00"; // yellow
4) Use an HTML color code ( https://htmlcolorcodes.com/) and change codes to reflect the ones chosen in Vista
5) Save the file and refresh Web Diagrams
Please note that all Numeric Objects will be affected as well the colors for the communication status, as the stale and error.
Vista will not be affected.
When customizing the flag colors in Vista (Options > Flag Colors) for the Numeric Objects displays and communication status, the Web Diagrams will not reflect the change.
In Vista:
In Web Diagrams:
Product Line
Power Monitoring Expert 9.0
Power Monitoring Expert 2020 (CU2)
Environment
Vista/Web Diagrams
Cause
The flag colors in Vista is a global setting and it works separately from the diagrams.
Resolution
1) Open the file realtime.js located at %\Power Monitoring Expert\Applications\WebReach\Scripts with a HTML editor (or notepad)
2) Make a backup copy for safety
3) The flag colors are defined as below:
Line 934: DiagramManager.m_HiHiFlagColor = "#ff0000"; // red
Line 935: DiagramManager.m_HighFlagColor = "#ff8000"; // orange
Line 936: DiagramManager.m_LowFlagColor = "#00b8ff"; // light blue
Line 937: DiagramManager.m_LoLoFlagColor = "#0000ff"; // blue
Line 938: DiagramManager.m_ErrorFlagColor = DiagramManager.m_HighFlagColor;
Line 938: DiagramManager.m_ErrorFlagColor = DiagramManager.m_HighFlagColor;
Line 939: DiagramManager.m_StaleFlagColor = "#ffff00"; // yellow
4) Use an HTML color code ( https://htmlcolorcodes.com/) and change codes to reflect the ones chosen in Vista
5) Save the file and refresh Web Diagrams
Please note that all Numeric Objects will be affected as well the colors for the communication status, as the stale and error.
Vista will not be affected.