Gauges – build your own

Of course, you are not limited to the set of built-in gauges – you can build your own gauge as well.

To prepare yourself for building your own gauge, you must first consider which graphics you will need to include in the gauge.

The following example is using two separate graphics:

  • One is a background “wallpaper” – in this case a four-rowed banner, each row in different colors. By the way, this type of graphics is easily made as a table in PowerPoint, which is then exported to a graphics format, e.g. a .png file.
  • The other is a white circle. The white circle (with transparent background color) will work as an indicator in my new gauge. It will change color according to data values.

mceclip0.png

Gauge Builder App Download

You will need TARGIT’s Gauge Builder App to create new, custom gauges. Download and install it from the Download Center in the Other downloads section: https://portal.targit.com/Download-Support/Download-center/Other-Documents.

After installation, it is recommended to run the TARGIT Gauge Builder in Administrator mode:

mceclip3.png

Use the app to create a new gauge:

mceclip4.png

Choose the Icon type. The Speedometer type should be picked only if a speedometer with moving needles is specifically needed.

mceclip5.png

If you add your background image at this point, you will get a nice starting point once you get into the app.

mceclip6.png

As soon as you get into the app, you may want to add extra images as the first thing. The colorable circle must be added while standing on the “State 1” Layer.

mceclip7.png

Make sure that the “Color” property for the circle is enabled.

mceclip8.png

Next, drag a Scale onto your background image.

mceclip9.png

A Scale comes in two flavors: Labels or Values. In this case, pick Value. Label is intended for labels along a speedometer perimeter only.

mceclip10.png

Choose Name, Font and Number Format for the inserted Scale. You should consider selecting some settings that you think will cover most end-user needs, as this will become the default formatting for the gauge when used in the TARGIT client. Of course, in the client, you can overwrite these default settings with settings of your own, if necessary.

mceclip11.png

Furthermore, consider if the inserted scale is supposed to show a value (number) or a text.

For numbers, simply pick a suitable default number format.

For texts, you may need to pre-format it in this way:

mceclip12.png

The same text is inserted twice. This is necessary in order to prevent texts to become pre-fixed with a minus sign.

As texts or numbers may grow in size (due to number of characters or changed font size), you can set their growth directions:

mceclip13.png

 

Addition to article:

If you remembered to run the app as administrator, you should be able to save your gauge diretly in the right folder: C:\ProgramData\TARGIT\ANTServer\VFS\Gauges

If, for some reason, you are not allowed to save in this destination, just save on your desktop and use Windows Explorer to move the gauge to the folder mentioned above.

Once your gauge is in place in the right folder, you might need to restart the TARGIT application before it becomes available from the develop client.

Was this article helpful?
0 out of 0 found this helpful

Comments

2 comments
  • The existing gauges can be found here on TARGIT server:

     

    I am trying to modify an existing gauge:

    I open the Gauge Builder to do so:

     

    Unfurtunately the progress bars cannot be edited, because their are not supported anymore:

     

    All other exiting cab files could be modified e.g. with logos and colour: -->

    0
  • Hi Marlene,

    That is correct. The Progress bar type Gauge has been deprecated.

    We are hoping to be able to replace Gauges with something better soon.

    BR / Ole

    0

Please sign in to leave a comment.