Scaling StormVue NGX

 

StormVue NGX application window can be scaled to a size that conforms to the dimensions of your website. Obviously smaller scales will make the user interface more difficult to read and operate so while you do have the power to control the size, be careful not to abuse it.
 
To change the size you must edit the StormVue NGX host HTML page. A sample page is provided with the installation. Edit it in a text editor (we recommend using Notepad++) and find the following two lines:
 
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="650" height="520" id="StormVueNG" align="middle">
 
<object type="application/x-shockwave-flash" data="StormVueNG.swf" width="650" height="520">
 
The width and height entries are the ones that need to be changed.
 
Be aware that if not done properly you will change the aspect ratio of the StormVue NGX application window. The aspect ratio is the relationship between the width and the height and is by default 0.8, meaning the window height is 0.8 times the width (or 80%).
 
As an example, let's say we need to change the width of the application window to 800 pixels. What height should we have in this case? Just multiply the desired width by 0.8 and you will have the answer. In this case:
 
800 x 0.8 = 640 pixels
 
So for a width of 800 pixels the height must be 640 pixels in order to retain the correct aspect ratio.
 
Replace the width and height in both places in your HTML file, save it and reload in your browser (CTRL+F5 to force reload).
 
Conversely, if you must constrain the application window height for some reason, just multiply the desired height by 1.25 to get the correct width.
 
 

Background maps for a scaled StormVue NGX

 
While the user interface and all strike and storm symbols are vector based, the background maps are not. They are raster images that will be scaled to fit the map window dimensions. This needs to be taken into consideration when creating maps in NexStorm for your scaled StormVue NGX.
 
The optimal unscaled map size is 500x500 pixels. This is for the default application window width of 650 pixels. Whenever you change the width/height you should account for the change in percent and apply this to the maps. This way you can avoid stretching (or crunching if you are down-scaling) and get clean, crisp maps whichever StormVue NGX size you opt for.
 
As another example, if we have changed the application window to 800 by 640 pixels as described above, which size should our maps be?
 
Easy, just divide the new width of 800 by the default width of 650 to get the multiplication factor, in this case:
 
800/650 = 1.23
 
Our map window has with this change grown 1.23 times, or 123%. To apply this on the maps just multiply the default map size for the unscaled application window with the factor we just calculated:
 
500 x 1.23 = 615
 
So the answer is; To avoid stretching our maps must be 615x615 pixels.
 
Now you just need to use NexStorm and the Map snapshot option to produce your maps in the correct size.