docs: memory.legend_position -> memory_graph.legend_position (#2096)

This commit is contained in:
Gergő Gutyina
2026-06-20 21:04:17 +02:00
committed by GitHub
parent ed9ffbc865
commit 378dce78c1
4 changed files with 4 additions and 4 deletions
@@ -50,7 +50,7 @@ each time:
| `retention` | String (human readable time, such as "10m", "1h", etc.) | How much data is stored at once in terms of time. |
| `unnormalized_cpu` | Boolean | Deprecated - use `processes.unnormalized_cpu`. Show process CPU% without normalizing over the number of cores. |
| `expanded` | Boolean | Expand the default widget upon starting the app. |
| `memory_legend` | String (one of ["none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right"]) | Deprecated - use `memory.legend_position`. Where to place the legend for the memory widget. |
| `memory_legend` | String (one of ["none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right"]) | Deprecated - use `memory_graph.legend_position`. Where to place the legend for the memory widget. |
| `network_legend` | String (one of ["none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right"]) | Deprecated - use `network_graph.legend_position`. Where to place the legend for the network widget. |
| `average_cpu_row` | Boolean | Deprecated - use `cpu.basic_average_cpu_row`. Moves the average CPU usage entry to its own row when using basic mode. |
| `tree_collapse` | Boolean | Deprecated - use `processes.tree_collapse`. Collapse process tree by default. |
+1 -1
View File
@@ -147,7 +147,7 @@
# How much data is stored at once in terms of time.
#retention = "10m"
# Deprecated - use memory.legend_position.
# Deprecated - use memory_graph.legend_position.
# Where to place the legend for the memory widget. One of "none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right".
#memory_legend = "top-right"
+1 -1
View File
@@ -396,7 +396,7 @@ pub(crate) const CONFIG_TEXT: &str = r#"# This is a default config file for bott
# How much data is stored at once in terms of time.
#retention = "10m"
# Deprecated - use memory.legend_position.
# Deprecated - use memory_graph.legend_position.
# Where to place the legend for the memory widget. One of "none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right".
#memory_legend = "top-right"
+1 -1
View File
@@ -1326,7 +1326,7 @@ fn get_memory_legend_position(
.as_ref()
.and_then(|flags| flags.memory_legend.as_ref())
.map(|s| (s, "memory_legend")),
"memory.legend_position",
"memory_graph.legend_position",
)
}