# Configure standard options

* [Standard options definitions](#standard-options-definitions)
  * [Unit](#unit)
  * [Min](#min)
  * [Max](#max)
  * [Decimals](#decimals)
  * [Display name](#display-name)
  * [Color scheme](#color-scheme)
  * [No value](#no-value)

Field options allow you to change how the data is displayed in your visualizations. Options and overrides that you apply do not change the data, they change how Algology displays the data. When you change an option, it is applied to all fields, meaning all series or columns. For example, if you change the unit to percentage, then all fields with numeric values are displayed in percentages.

You can apply standard options to most built-in Algology panels.&#x20;

1. Open a dashboard. Hover over any part of the panel to display the actions menu on the top right corner.
2. Click the menu and select **Edit**.
3. In the panel display options pane, locate the **Standard options** section.
4. Select the standard options you want to apply.

   For more information about standard options, refer to Standard options definitions.
5. To preview your change, click outside of the field option box you are editing or press **Enter**.

***

### Standard options definitions <a href="#standard-options-definitions" id="standard-options-definitions"></a>

This section explains all available standard options.

You can apply standard options to most built-in Algology panels.

Most field options will not affect the visualization until you click outside of the field option box you are editing or press Enter.

#### Unit <a href="#unit" id="unit"></a>

Lets you choose what unit a field should use. Click in the **Unit** field, then drill down until you find the unit you want. The unit you select is applied to all fields except time.

**Custom units**

You can use the unit dropdown to also specify custom units, custom prefix or suffix and date time formats.

To select a custom unit enter the unit and select the last `Custom: xxx` option in the dropdown.

* `suffix:<suffix>` for custom unit that should go after value.
* `prefix:<prefix>` for custom unit that should go before value.
* `time:<format>` For custom date time formats type for example `time:YYYY-MM-DD`. See formats for the format syntax and options.
* `si:<base scale><unit characters>` for custom SI units. For example: `si: mF`. This one is a bit more advanced as you can specify both a unit and the source data scale. So if your source data is represented as milli (thousands of) something prefix the unit with that SI scale character.
* `count:<unit>` for a custom count unit.
* `currency:<unit>` for custom a currency unit.

You can also paste a native emoji in the unit picker and pick it as a custom unit

**String units**

Algology can sometimes be too aggressive in parsing strings and displaying them as numbers. To configure Algology to show the original string value, create a field override and add a unit property with the `String` unit.

#### Min <a href="#min" id="min"></a>

Lets you set the minimum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.

#### Max <a href="#max" id="max"></a>

Lets you set the maximum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.

#### Decimals <a href="#decimals" id="decimals"></a>

Specify the number of decimals Algology includes in the rendered value. If you leave this field blank, Algology automatically truncates the number of decimals based on the value. For example 1.1234 will display as 1.12 and 100.456 will display as 100.

To display all decimals, set the unit to `String`.

#### Display name <a href="#display-name" id="display-name"></a>

Lets you set the display title of all fields. You can use variables in the field title.

When multiple stats, fields, or series are shown, this field controls the title in each stat. You can use expressions like `${__field.name}` to use only the series name or the field name in title.

Given a field with a name of Temp, and labels of {“Loc”=“PBI”, “Sensor”=“3”}

| Expression syntax            | Example                 | Renders to                     | Explanation                                                                                                                                                                                                         |
| ---------------------------- | ----------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `${__field.displayName}`     | Same as syntax          | `Temp {Loc="PBI", Sensor="3"}` | Displays the field name, and labels in `{}` if they are present. If there is only one label key in the response, then for the label portion, Algology displays the value of the label without the enclosing braces. |
| `${__field.name}`            | Same as syntax          | `Temp`                         | Displays the name of the field (without labels).                                                                                                                                                                    |
| `${__field.labels}`          | Same as syntax          | `Loc="PBI", Sensor="3"`        | Displays the labels without the name.                                                                                                                                                                               |
| `${__field.labels.X}`        | `${__field.labels.Loc}` | `PBI`                          | Displays the value of the specified label key.                                                                                                                                                                      |
| `${__field.labels.__values}` | Same as Syntax          | `PBI, 3`                       | Displays the values of the labels separated by a comma (without label keys).                                                                                                                                        |

If the value is an empty string after rendering the expression for a particular field, then the default display method is used.

#### Color scheme <a href="#color-scheme" id="color-scheme"></a>

The color options and their effect on the visualization depends on the visualization you are working with. Some visualizations have different color options.

You can specify a single color, or select a continuous (gradient) color schemes, based on a value. Continuous color interpolates a color using the percentage of a value relative to min and max.

Select one of the following palettes:

| Color mode | Description |
| ---------- | ----------- |

| Color mode                           | Description                                                                                                                                               |
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Single color**                     | Specify a single color, useful in an override rule                                                                                                        |
| **Shades of a color**                | Selects shades of a single color, useful in an override rule                                                                                              |
| **From thresholds**                  | Informs Algology to take the color from the matching threshold                                                                                            |
| **Classic palette**                  | Algology will assign color by looking up a color in a palette by series index. Useful for Graphs and pie charts and other categorical data visualizations |
| **Classic palette (by series name)** | Algology will assign color based on the name of the series. Useful when the series names to be visualized depend on the available data.                   |
| **Green-Yellow-Red (by value)**      | Continuous color scheme                                                                                                                                   |
| **Red-Yellow-Green (by value)**      | Continuous color scheme                                                                                                                                   |
| **Blue-Yellow-Red (by value)**       | Continuous color scheme                                                                                                                                   |
| **Yellow-Red (by value)**            | Continuous color scheme                                                                                                                                   |
| **Blue-Purple (by value)**           | Continuous color scheme                                                                                                                                   |
| **Yellow-Blue (by value)**           | Continuous color scheme                                                                                                                                   |
| **Blues (by value)**                 | Continuous color scheme (panel background to blue)                                                                                                        |
| **Reds (by value)**                  | Continuous color scheme (panel background color to red)                                                                                                   |
| **Greens (by value)**                | Continuous color scheme (panel background color to green)                                                                                                 |
| **Purples (by value)**               | Continuous color scheme (panel background color to purple)                                                                                                |

#### No value <a href="#no-value" id="no-value"></a>

Enter what Algology should display if the field value is empty or null. The default value is a hyphen (-).

***
