=====Gauges===== “Gauges” are meters or bar graphs. Most can contain current values for several Units/Databases. The value displayed is always the current value of the Units and cannot be set to be a historical value. Any update or change from any of the displayed Units will result in the gauge being updated a few moments later and sent to any XTension view or Web Interface that may be displaying them. All your Gauges and Graphs can be opened inside of XTdb from the Graphs menu. (yes the Gauges are there too even though it says Graphs). To edit an existing Gauge or Graph open the display window and select “Edit Graph” from the top of the Graph menu. That will open the Edit Gauge, or edit Graph window. To delete a Gauge open the display window and then select “Delete” from the Edit menu. To create a new Gauge select “New Gauge” from the File menu. Enter a unique name for the gauge and you’ll be ready to do some setup. The top portion of the display is the preview of the Gauge with your current settings and it will be empty until you add a Unit so that it has some value to start displaying. In this case I have added the temperature sensor in my office fridge. {{:xtdb:xtdb_edit_gauge.png?600 |}} **Gauge Type:** There are 12 different types of meter/gauge you can create. Some have different capabilities or settings than others. For those with special setup the “Advanced” tab below will be populated with that extra information. Each gauge type will get an entry below in this page but the types are: Horizontal Meter, Vertical Meter, Horizontal Bar Graph (which is not fully fleshed out yet and just renders as another horizontal meter at the moment), Semicircular Meter, Vertical Bars, Full Circle Meter, Round Meter, 4 types of square meter, each with the pointer coming from a different corner, and the Wide Meter. **Title:** The title of the graph as displayed defaults to the same name you gave the graph but this may not be the best for rendering in the graph. It may not fit or may contain prefixes or something you use in your naming convention that you do not need to display on the gauge itself. In the screen shot I named my gauge “Test Gauge” but changed the title to “Lab Fridge Temperature” in the menus and any selection dialog in XTension the name will be “test gauge” but the title is what will be actually drawn onto the graph. You can also leave this blank. If you wish to edit the actual name of the gauge just open the display window and use the “Rename” menu from the File menu. **Font:** If you wish this gauge to use a different font than the default you can select it here. **Draw Legend:** all Gauges and Graphs have the option of showing a color swatch of the pointer or graph line and showing you what unit is being displayed by that color. If you wish to leave out this legend you can uncheck this checkbox. ----- ====Managing Units In The Gauge==== To add a Unit to the Gauge use the “+” button and select the Unit from the popup. As soon as a single Unit is added the selected Gauge type can begin to display. This will add the unit to the Units tab of the listbox. If you wish to swap this for a different Unit you can click on the triangle to the bottom right in the Unit Name column and the same Unit list will popup allowing you to select a different unit. **Display Name:** The Display Name column contains the label you wish to display for the Unit. It defaults to the Unit name but perhaps I don’t want to use the entire “TEMP Lab Fridge” label but only “Lab Fridge” you can click in this field and edit the label that will be used for this Unit. If you leave the field empty then the Unit will not be included in the Legend but will still be drawn in the Gauge. You can also use a few tags in this field to insert other information. If you include the tag that will be replaced with the current value of the Unit and the