Debian Codegraph @

docs/content/configuration/config-file/temperature-graph.md

raw symbols SCIP
1 # Temperature Graph Configuration
2
3 The temperature graph widget is configured under `[temperature_graph]`.
4
5 ## Legend Position
6
7 The location of the legend can be set with `legend_position`. Valid values are `none`, `top-left`, `top`, `top-right`,
8 `left`, `right`, `bottom-left`, `bottom`, and `bottom-right`. Defaults to `top-right`.
9
10 ```toml
11 [temperature_graph]
12 legend_position = "top-right"
13 ```
14
15 ## Upper Limit
16
17 By default, the y-axis is bounded at 100°C (or the equivalent in the configured temperature unit) and grows
18 automatically if a reading exceeds that. An explicit upper bound can be set with `max_temp` (uses the same unit as
19 the configured temperature unit). Sensor readings above this value will be drawn off the chart.
20
21 ```toml
22 [temperature_graph]
23 max_temp = 90.0
24 ```
25
26 ## Filtering Entries
27
28 You can filter which sensors to plot by configuring `[temperature_graph.sensor_filter]`. This works the same way as
29 the temperature table's filter.
30
31 For example, here we are ignoring any sensor that has "cpu" or "wifi" in its name:
32
33 ```toml
34 [temperature_graph.sensor_filter]
35 # Whether to ignore any matches. Defaults to true.
36 is_list_ignored = true
37
38 # A list of filters to try and match.
39 list = ["cpu", "wifi"]
40
41 # Whether to use regex. Defaults to false.
42 regex = false
43
44 # Whether to be case-sensitive. Defaults to false.
45 case_sensitive = false
46
47 # Whether to require matching the whole word. Defaults to false.
48 whole_word = false
49 ```