diff --git a/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelDriver.cs b/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelDriver.cs
new file mode 100644
index 0000000..e0eb71b
--- /dev/null
+++ b/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelDriver.cs
@@ -0,0 +1,43 @@
+using Avalonia;
+using Avalonia.Controls;
+using Avalonia.Controls.Primitives;
+using Avalonia.Threading;
+using Avalonia.VisualTree;
+
+using SemiPlot.UI.Chart;
+
+using static SemiPlot.Tests.Unit.UI.Chart.ChartViewTestBuilder;
+
+namespace SemiPlot.Tests.Unit.UI.Chart;
+
+/// Opens the axis scale panel on a shown chart and reaches its parts, for the panel's view tests.
+internal static class AxisScalePanelDriver
+{
+ public static (Flyout Flyout, AxisScalePanel Panel) OpenPanel(TrendChartViewModel viewModel, ShownChart shown)
+ {
+ HeadlessInput.Click(shown.Window, shown.PlotControl, AxisRegionPoint(viewModel));
+ Dispatcher.UIThread.RunJobs();
+
+ var flyout = (Flyout)FlyoutBase.GetAttachedFlyout(shown.PlotControl)!;
+
+ return (flyout, (AxisScalePanel)flyout.Content!);
+ }
+
+ public static FlyoutPresenter PresenterOf(AxisScalePanel panel)
+ {
+ return panel.GetVisualAncestors().OfType().First();
+ }
+
+ public static (Size Panel, Size Message, Size Presenter) SizesOf(AxisScalePanel panel, TextBlock message)
+ {
+ return (panel.Bounds.Size, message.Bounds.Size, PresenterOf(panel).Bounds.Size);
+ }
+
+ public static void TypeInto(Window window, AxisScalePanel panel, string fieldName, string text)
+ {
+ var field = panel.FindControl(fieldName)!;
+
+ HeadlessInput.Clear(window, field);
+ HeadlessInput.Type(window, field, text);
+ }
+}
diff --git a/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelLayoutTests.cs b/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelLayoutTests.cs
new file mode 100644
index 0000000..2e99117
--- /dev/null
+++ b/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelLayoutTests.cs
@@ -0,0 +1,189 @@
+using Avalonia;
+using Avalonia.Controls;
+using Avalonia.Headless.XUnit;
+using Avalonia.VisualTree;
+
+using AwesomeAssertions;
+
+using SemiPlot.UI.Localization;
+
+using Xunit;
+
+using static SemiPlot.Tests.Unit.UI.Chart.AxisScalePanelDriver;
+using static SemiPlot.Tests.Unit.UI.Chart.ChartViewTestBuilder;
+using static SemiPlot.Tests.Unit.UI.InterMeasure;
+
+namespace SemiPlot.Tests.Unit.UI.Chart;
+
+// The axis scale panel's layout and its invalid-field glyph, realised through Avalonia's real pipeline.
+[Trait("Component", "UI")]
+[Trait("Area", "Chart")]
+[Trait("Category", "Unit")]
+[Collection(ProcessGlobalStateCollection.Name)]
+public sealed class AxisScalePanelLayoutTests
+{
+ [AvaloniaFact]
+ public void AnInvalidBound_ShowsTheWarningGlyphInsideTheBoxWithoutResizing()
+ {
+ using var culture = new CultureScope("en-US");
+ using var viewModel = CreateLoadedViewModel();
+ viewModel.SetAxisLimits(1, 10.0, 90.0);
+ using var shown = ShowChart(viewModel);
+ var (_, panel) = OpenPanel(viewModel, shown);
+ var maximum = panel.FindControl("AxisScaleMaximum")!;
+ var minimum = panel.FindControl("AxisScaleMinimum")!;
+ var message = panel.FindControl("AxisScaleValidationMessage")!;
+ var (sizes, maximumBounds, minimumBounds) = (SizesOf(panel, message), maximum.Bounds, minimum.Bounds);
+ panel.TryFindResource("WarningGeometry", out var warning).Should().BeTrue();
+
+ TypeInto(shown.Window, panel, "AxisScaleMaximum", "1x");
+ HeadlessInput.Clear(shown.Window, minimum);
+
+ var glyphs = new[] { maximum, minimum }.Select(box =>
+ {
+ box.Classes.Should().Contain("invalid");
+ var glyph = box.InnerRightContent.Should().BeOfType().Subject;
+ glyph.IsEffectivelyVisible.Should().BeTrue();
+ glyph.Data.Should().BeSameAs(warning);
+ ViewProbe.LeftOf(glyph, box).Should().BeGreaterThanOrEqualTo(0);
+ ViewProbe.RightOf(glyph, box).Should().BeLessThanOrEqualTo(box.Bounds.Width, "the glyph sits inside the box");
+ ViewProbe.TopOf(glyph, box).Should().BeGreaterThanOrEqualTo(0);
+ ViewProbe.BottomOf(glyph, box).Should().BeLessThanOrEqualTo(box.Bounds.Height);
+
+ return glyph;
+ }).ToList();
+
+ glyphs[0].Should().NotBeSameAs(glyphs[1], "each box carries a glyph of its own");
+ (SizesOf(panel, message), maximum.Bounds, minimum.Bounds).Should().Be((sizes, maximumBounds, minimumBounds));
+ }
+
+ [AvaloniaFact]
+ public void AValidBound_ShowsNoWarningGlyph()
+ {
+ using var viewModel = CreateLoadedViewModel();
+ viewModel.SetAxisLimits(1, 10.0, 90.0);
+ using var shown = ShowChart(viewModel);
+ var (_, panel) = OpenPanel(viewModel, shown);
+
+ foreach (var name in new[] { "AxisScaleMaximum", "AxisScaleMinimum" })
+ {
+ var box = panel.FindControl(name)!;
+ box.Classes.Should().NotContain("invalid", name);
+ box.InnerRightContent.Should().BeNull(name);
+ }
+ }
+
+ [AvaloniaFact]
+ public void ABoundCorrected_DropsTheWarningGlyph()
+ {
+ using var culture = new CultureScope("en-US");
+ using var viewModel = CreateLoadedViewModel();
+ viewModel.SetAxisLimits(1, 10.0, 90.0);
+ using var shown = ShowChart(viewModel);
+ var (_, panel) = OpenPanel(viewModel, shown);
+ var maximum = panel.FindControl("AxisScaleMaximum")!;
+
+ TypeInto(shown.Window, panel, "AxisScaleMaximum", "1x");
+ maximum.InnerRightContent.Should().BeOfType();
+
+ TypeInto(shown.Window, panel, "AxisScaleMaximum", "50");
+
+ maximum.Classes.Should().NotContain("invalid");
+ maximum.InnerRightContent.Should().BeNull();
+ }
+
+ [AvaloniaTheory]
+ [InlineData("en-US")]
+ [InlineData("ru-RU")]
+ public void TheLogarithmicBox_StartsAtTheFieldEdge_UnderTheScaleTypeLabel(string cultureName)
+ {
+ const double Tolerance = 0.5;
+ using var culture = new CultureScope(cultureName);
+ using var viewModel = CreateLoadedViewModel();
+ using var shown = ShowChart(viewModel);
+ var (_, panel) = OpenPanel(viewModel, shown);
+ var box = panel.FindControl("AxisScaleLogarithmic")!;
+ var bounds = panel.FindControl("AxisScaleBounds")!;
+ var row = panel.FindControl("AxisScaleType")!;
+ var fieldEdge = ViewProbe.LeftOf(panel.FindControl("AxisScaleMaximum")!, panel);
+
+ ViewProbe.LeftOf(box, panel).Should().BeApproximately(fieldEdge, Tolerance, "the box starts at the field edge");
+ ViewProbe.LeftOf(panel.FindControl("AxisScaleMinimum")!, panel).Should()
+ .BeApproximately(fieldEdge, Tolerance);
+ row.GetVisualAncestors().Should().NotContain(bounds, "focus onto the box must leave the pair's grid");
+ box.Parent.Should().BeSameAs(row);
+ row.ColumnDefinitions[0].ActualWidth.Should()
+ .BeApproximately(bounds.ColumnDefinitions[0].ActualWidth, Tolerance, "the two grids share one label column");
+ var label = panel.FindControl("AxisScaleTypeLabel")!;
+ label.Text.Should().Be(Resources.PenFormScaleTypeLabel);
+ label.Parent.Should().BeSameAs(row);
+ Grid.GetColumn(label).Should().Be(0);
+ box.Content.Should().Be(Resources.PenFormLogarithmic);
+ }
+
+ [AvaloniaFact]
+ public void AClickOnTheScaleTypeLabelOrBesideTheBox_LeavesTheFlagAndGivesThePanelTheKeyboard()
+ {
+ using var viewModel = CreateLoadedViewModel();
+ viewModel.SetAxisLimits(1, 1.0, 90.0);
+ using var shown = ShowChart(viewModel);
+ var (flyout, panel) = OpenPanel(viewModel, shown);
+ var box = panel.FindControl("AxisScaleLogarithmic")!;
+ var row = panel.FindControl("AxisScaleType")!;
+ var besideTheBox = new Point(
+ (ViewProbe.RightOf(box, row) + row.Bounds.Width) / 2.0,
+ row.Bounds.Height / 2.0);
+
+ box.Bounds.Width.Should().BeLessThan(row.ColumnDefinitions[1].ActualWidth, "the box does not span its column");
+
+ HeadlessInput.Click(shown.Window, panel.FindControl("AxisScaleTypeLabel")!);
+
+ viewModel.ScaleSettings[1].IsLogarithmic.Should().BeFalse("a click on the label does not toggle");
+ box.IsChecked.Should().BeFalse();
+ box.IsFocused.Should().BeFalse();
+ panel.IsFocused.Should().BeTrue("the panel takes the keyboard");
+
+ HeadlessInput.Click(shown.Window, row, besideTheBox);
+
+ viewModel.ScaleSettings[1].IsLogarithmic.Should().BeFalse("a click beside the box does not toggle");
+ box.IsChecked.Should().BeFalse();
+ box.IsFocused.Should().BeFalse();
+ panel.IsFocused.Should().BeTrue("the panel takes the keyboard");
+ flyout.IsOpen.Should().BeTrue();
+ }
+
+ [AvaloniaTheory]
+ [InlineData("en-US")]
+ [InlineData("ru-RU")]
+ public void TheScaleTypeRow_FitsThePanelInInter(string cultureName)
+ {
+ const double FieldSlack = 24.0;
+ using var culture = new CultureScope(cultureName);
+ using var viewModel = CreateLoadedViewModel();
+ using var shown = ShowChart(viewModel);
+ var (_, panel) = OpenPanel(viewModel, shown);
+ var bounds = panel.FindControl("AxisScaleBounds")!;
+ var row = panel.FindControl("AxisScaleType")!;
+ var field = panel.FindControl("AxisScaleMaximum")!;
+ var box = panel.FindControl("AxisScaleLogarithmic")!;
+ var labels = bounds.Children.OfType()
+ .Append(panel.FindControl("AxisScaleTypeLabel")!)
+ .ToList();
+ labels.Select(label => label.Text).Should().Equal(
+ Resources.AxisScaleMaximumLabel, Resources.AxisScaleMinimumLabel, Resources.PenFormScaleTypeLabel);
+ using var typeface = InterTypeface();
+ var labelWidths = labels.Select(label =>
+ {
+ using var font = InterFont(typeface, label.FontSize);
+ return (double)font.MeasureText(label.Text);
+ }).ToList();
+ var labelColumn = labelWidths.Max();
+ var boxWidth = ContentWidthInInter(shown.Window, box, typeface);
+ TestContext.Current.TestOutputHelper?.WriteLine(
+ $"{cultureName}: labels {string.Join(", ", labelWidths.Select(width => $"{width:0.0}"))} px, "
+ + $"label column {labelColumn:0.0} px, box {boxWidth:0.0} px");
+
+ (labelColumn + bounds.ColumnSpacing + field.Width).Should().BeLessThanOrEqualTo(panel.Width - FieldSlack);
+ (labelColumn + row.ColumnSpacing + boxWidth).Should().BeLessThanOrEqualTo(panel.Width);
+ }
+}
diff --git a/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelViewTests.cs b/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelViewTests.cs
index 4de2e19..5da2608 100644
--- a/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelViewTests.cs
+++ b/SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelViewTests.cs
@@ -4,7 +4,6 @@
using Avalonia.Headless.XUnit;
using Avalonia.Input;
using Avalonia.Threading;
-using Avalonia.VisualTree;
using AwesomeAssertions;
@@ -16,6 +15,7 @@
using Xunit;
+using static SemiPlot.Tests.Unit.UI.Chart.AxisScalePanelDriver;
using static SemiPlot.Tests.Unit.UI.Chart.ChartViewTestBuilder;
namespace SemiPlot.Tests.Unit.UI.Chart;
@@ -326,7 +326,7 @@ public void TheLogarithmicBox_SwitchesTheAxisAndKeepsThePanelOpenAtItsSize()
var box = panel.FindControl("AxisScaleLogarithmic")!;
var panelSize = panel.Bounds.Size;
var presenterSize = PresenterOf(panel).Bounds.Size;
- box.Content.Should().Be(Resources.AxisScaleLogarithmic);
+ box.Content.Should().Be(Resources.PenFormLogarithmic);
box.IsChecked.Should().BeFalse();
HeadlessInput.Click(shown.Window, box);
@@ -393,16 +393,6 @@ public void TheMessageLine_KeepsThePanelsSize_EmptyWithAOneLineRuleAndWithTheLog
logRuleSizes.Should().Be(emptySizes);
}
- private static (Flyout Flyout, AxisScalePanel Panel) OpenPanel(TrendChartViewModel viewModel, ShownChart shown)
- {
- HeadlessInput.Click(shown.Window, shown.PlotControl, AxisRegionPoint(viewModel));
- Dispatcher.UIThread.RunJobs();
-
- var flyout = (Flyout)FlyoutBase.GetAttachedFlyout(shown.PlotControl)!;
-
- return (flyout, (AxisScalePanel)flyout.Content!);
- }
-
private static void ClickOutsideThePanel(ShownChart shown)
{
HeadlessInput.Click(shown.Window, shown.PlotControl, new Point(shown.PlotControl.Bounds.Width - 20.0, 20.0));
@@ -414,22 +404,4 @@ private static void PressThePanelsEmptyArea(ShownChart shown, AxisScalePanel pan
HeadlessInput.Click(shown.Window, panel, new Point(panel.Bounds.Width - 4.0, boundsTop - 5.0));
}
-
- private static FlyoutPresenter PresenterOf(AxisScalePanel panel)
- {
- return panel.GetVisualAncestors().OfType().First();
- }
-
- private static (Size Panel, Size Message, Size Presenter) SizesOf(AxisScalePanel panel, TextBlock message)
- {
- return (panel.Bounds.Size, message.Bounds.Size, PresenterOf(panel).Bounds.Size);
- }
-
- private static void TypeInto(Window window, AxisScalePanel panel, string fieldName, string text)
- {
- var field = panel.FindControl(fieldName)!;
-
- HeadlessInput.Clear(window, field);
- HeadlessInput.Type(window, field, text);
- }
}
diff --git a/SemiPlot/SemiPlot.Tests.Unit/UI/InterMeasure.cs b/SemiPlot/SemiPlot.Tests.Unit/UI/InterMeasure.cs
index d8a3157..f58fe56 100644
--- a/SemiPlot/SemiPlot.Tests.Unit/UI/InterMeasure.cs
+++ b/SemiPlot/SemiPlot.Tests.Unit/UI/InterMeasure.cs
@@ -21,12 +21,12 @@ public static SKFont InterFont(SKTypeface typeface, double fontSize)
return new SKFont(typeface, (float)fontSize) { LinearMetrics = true, Subpixel = true };
}
- /// The header's width with its text measured in Inter, its padding and sort slot as realised.
- public static double HeaderWidthInInter(Window window, DataGridColumnHeader header, SKTypeface semiBold)
+ /// The control's width with its text content measured in Inter, its chrome as realised.
+ public static double ContentWidthInInter(Window window, ContentControl control, SKTypeface typeface)
{
- var text = ViewProbe.Descendants(header).Single(block => Equals(block.Text, header.Content));
- var chrome = ViewProbe.UnconstrainedWidthOf(window, header) - ViewProbe.UnconstrainedWidthOf(window, text);
- using var font = InterFont(semiBold, header.FontSize);
+ var text = ViewProbe.Descendants(control).Single(block => Equals(block.Text, control.Content));
+ var chrome = ViewProbe.UnconstrainedWidthOf(window, control) - ViewProbe.UnconstrainedWidthOf(window, text);
+ using var font = InterFont(typeface, text.FontSize);
return chrome + font.MeasureText(text.Text);
}
diff --git a/SemiPlot/SemiPlot.Tests.Unit/UI/PenEditor/PenGroupsViewTests.cs b/SemiPlot/SemiPlot.Tests.Unit/UI/PenEditor/PenGroupsViewTests.cs
index ec21b7d..ed9a350 100644
--- a/SemiPlot/SemiPlot.Tests.Unit/UI/PenEditor/PenGroupsViewTests.cs
+++ b/SemiPlot/SemiPlot.Tests.Unit/UI/PenEditor/PenGroupsViewTests.cs
@@ -782,8 +782,8 @@ public void TheGroupColumns_LeaveTheNameAtLeast100PxInInter(string culture)
var viewport = ViewportOf(list);
var membership = list.Columns[0].ActualWidth;
var actions = Math.Max(
- ActionsOpeningWidth, HeaderWidthInInter(window, HeaderOf(list, Resources.PenGroupsColumnActions), semiBold));
- var groupHeader = HeaderWidthInInter(window, HeaderOf(list, Resources.PenGroupsColumnGroup), semiBold);
+ ActionsOpeningWidth, ContentWidthInInter(window, HeaderOf(list, Resources.PenGroupsColumnActions), semiBold));
+ var groupHeader = ContentWidthInInter(window, HeaderOf(list, Resources.PenGroupsColumnGroup), semiBold);
var groupColumn = viewport - membership - actions;
var name = groupColumn - NameInsets - CountGap - countFont.MeasureText("999");
diff --git a/SemiPlot/SemiPlot.Tests.Unit/UI/PenEditor/PenListViewTests.cs b/SemiPlot/SemiPlot.Tests.Unit/UI/PenEditor/PenListViewTests.cs
index e505c2f..cdfd7e1 100644
--- a/SemiPlot/SemiPlot.Tests.Unit/UI/PenEditor/PenListViewTests.cs
+++ b/SemiPlot/SemiPlot.Tests.Unit/UI/PenEditor/PenListViewTests.cs
@@ -524,7 +524,7 @@ public void AtTheOpeningWidth_EveryPenListColumnFitsTheViewportInInter(string cu
var widths = list.Columns
.Select((column, index) =>
{
- var headerWidth = HeaderWidthInInter(window, HeaderOf(list, (string)column.Header!), semiBold);
+ var headerWidth = ContentWidthInInter(window, HeaderOf(list, (string)column.Header!), semiBold);
return HeaderMeasuredColumns.GetIsFill(column) ? headerWidth : Math.Max(declaredWidths[index], headerWidth);
})
diff --git a/SemiPlot/SemiPlot.UI/Chart/AxisScalePanel.axaml b/SemiPlot/SemiPlot.UI/Chart/AxisScalePanel.axaml
index 7e210f9..3872b68 100644
--- a/SemiPlot/SemiPlot.UI/Chart/AxisScalePanel.axaml
+++ b/SemiPlot/SemiPlot.UI/Chart/AxisScalePanel.axaml
@@ -19,7 +19,8 @@
+ RowSpacing="10"
+ Grid.IsSharedSizeScope="True">
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
The minimum must be below the maximum
-
- Logarithmic scale
-
A logarithmic scale needs a minimum above zero
diff --git a/SemiPlot/SemiPlot.UI/Localization/Resources.ru.resx b/SemiPlot/SemiPlot.UI/Localization/Resources.ru.resx
index 7ddb143..4bf736e 100644
--- a/SemiPlot/SemiPlot.UI/Localization/Resources.ru.resx
+++ b/SemiPlot/SemiPlot.UI/Localization/Resources.ru.resx
@@ -165,9 +165,6 @@
Минимум должен быть меньше максимума
-
- Логарифмическая шкала
-
Для логарифмической шкалы минимум должен быть больше нуля
diff --git a/SemiPlot/SemiPlot.UI/PenEditor/PenEditorWindow.axaml b/SemiPlot/SemiPlot.UI/PenEditor/PenEditorWindow.axaml
index d74bea8..90452f5 100644
--- a/SemiPlot/SemiPlot.UI/PenEditor/PenEditorWindow.axaml
+++ b/SemiPlot/SemiPlot.UI/PenEditor/PenEditorWindow.axaml
@@ -76,17 +76,6 @@
-
diff --git a/SemiPlot/SemiPlot.UI/Styles/Forms.axaml b/SemiPlot/SemiPlot.UI/Styles/Forms.axaml
index 90d42d9..10fd889 100644
--- a/SemiPlot/SemiPlot.UI/Styles/Forms.axaml
+++ b/SemiPlot/SemiPlot.UI/Styles/Forms.axaml
@@ -6,6 +6,18 @@
+
+
diff --git a/docs/architecture/trend-feature-spec.md b/docs/architecture/trend-feature-spec.md
index 4cfc0b1..a6c4fc2 100644
--- a/docs/architecture/trend-feature-spec.md
+++ b/docs/architecture/trend-feature-spec.md
@@ -74,7 +74,7 @@ Acceptance-criterion labels: "UI" — verified in the running application; "Core
`Auto` is the window-bounded mode; there is no second autoscale mode to switch into.
### AY-6 — Logarithmic scale (SHOULD)
-**Definition.** A log10 axis type beside the auto and manual modes; Ln and other bases are not built. Values ≤ 0 are skipped by the auto range, and there is a default range on empty data. The type is stored per pen as `log_scale_on_start` and edited in the pen editor; the axis scale panel's Logarithmic scale checkbox switches it for the session of one window, and Restore initial scale brings the stored type back. The type **changes the axis in the render**: majors and minor gridlines on log positions, the line projected through the same transform, readable majors over a range narrower than a decade.
+**Definition.** A log10 axis type beside the auto and manual modes; Ln and other bases are not built. Values ≤ 0 are skipped by the auto range, and there is a default range on empty data. The type is stored per pen as `log_scale_on_start` and edited in the pen editor; the axis scale panel's Logarithmic checkbox switches it for the session of one window, and Restore initial scale brings the stored type back. The type **changes the axis in the render**: majors and minor gridlines on log positions, the line projected through the same transform, readable majors over a range narrower than a decade.
**Acceptance.** Core/test: an auto log range over 1e-6..1e-2 has `Min < 1e-6` and `Max > 1e-2`, and a flat log pen at 0.3 has `Min < 0.3 < Max` (`PenScaleModelTests`); `LogAxis.Ticks` gives majors at the six decades of 1e-6..1e-1 over 400 px and at least two majors with no gap under 40 px over 2..50 and 0.9..1.4 (`LogAxisTests`). UI: over 1e-6..1e-2 the 1e-4 plateau draws within 2 px of the data area's middle and a plateau at `0` draws 2 px above its bottom (`LogAxisRenderTests`); the panel's checkbox switches the axis at once, from a positive minimum typed just before the tick, and is refused over a manual minimum ≤ 0. DB: a written `log_scale_on_start` reads back through both catalogue reads.
**Note.** Closed by the log10 axis (`charting.md#log10-y-axis`). Before it, the model supported log but the UI had no toggle and `ChartAxisBinder` only did a linear `SetLimitsY`.
diff --git a/docs/architecture/trend-interaction.md b/docs/architecture/trend-interaction.md
index 81a491f..a089e45 100644
--- a/docs/architecture/trend-interaction.md
+++ b/docs/architecture/trend-interaction.md
@@ -165,7 +165,7 @@ as-built mechanics that realize them:
place that types limits: the navigation bar carries time navigation only. The scale modes are
`auto`, which ranges over the columns inside the visible window, and `manual` (§AY-3, §AY-4); the
log10 axis is an axis *type* beside either mode (§AY-6). A pen opens on the type its
- `log_scale_on_start` stores, the panel's Logarithmic scale checkbox switches it for the session of the
+ `log_scale_on_start` stores, the panel's Logarithmic checkbox switches it for the session of the
window, and Restore initial scale brings the stored type back with the stored bounds. A log axis
needs a minimum above zero: the auto range skips values ≤ 0, the panel refuses the type over a manual
minimum ≤ 0, and a sample ≤ 0 draws 2 px above the bottom of the data area while every readout
@@ -382,8 +382,9 @@ control in `TrendChartView.axaml` and shown at the pointer) over `Chart/AxisScal
field takes the `invalid` border, the message line names the rule, and no commit writes the pair. While
the axis is logarithmic, a minimum ≤ 0 is invalid the same way, under `ScaleLogMinimumPositive`. The
panel keeps its size (`ui-theme.md#the-axis-scale-panel`).
-- The Logarithmic scale checkbox sits in its own row under the bounds, outside `AxisScaleBounds`, so a
- press on it ends the pair's edit. It reads the pen's session flag, `IsLogarithmic`, `Mode=OneWay`,
+- The Logarithmic checkbox sits in its own row under the bounds, outside `AxisScaleBounds`, so a
+ press on it ends the pair's edit; the row's label column is shared with the bounds grid
+ (`ui-theme.md#the-axis-scale-panel`). It reads the pen's session flag, `IsLogarithmic`, `Mode=OneWay`,
seeded from the chart's settings at every seed, and writes it only through `ToggleLogarithmicCommand`,
which orders its two writes by direction. Switching on, the pending pair is in the chart before
`TrendChartViewModel.SetLogarithmic(penId, true)` checks the log rule: in the view the press or Tab onto
diff --git a/docs/architecture/ui-text.md b/docs/architecture/ui-text.md
index 256683a..a1c5bcf 100644
--- a/docs/architecture/ui-text.md
+++ b/docs/architecture/ui-text.md
@@ -239,7 +239,8 @@ and `PenEditorColumnUnit` from the pen list, `PenFormMaskPreviewLabel`, and the
rest are its own: `PenFormMaskLabel`, `PenFormColorLabel`, `PenFormLineStyleLabel`, `PenFormVisibilityLabel`
("Visibility" / "Видимость") and `PenFormScaleTypeLabel` ("Scale type" / "Тип шкалы"). The visibility box
reads `PenFormShowOnChart`, "Show on the chart" / "Показывать на графике", and the scale type box
-`PenFormLogarithmic`, "Logarithmic" / "Логарифмическая". The line-style combo box reads
+`PenFormLogarithmic`, "Logarithmic" / "Логарифмическая". The axis scale panel reads these two scale type
+keys as the pen form reads its bound labels. The line-style combo box reads
`PenLineStyleInterpolated` and `PenLineStyleStepped` through `PenLineStyleConverters.ToLabel`, a
`FuncValueConverter` consumed through `{x:Static}`.
@@ -334,7 +335,8 @@ English log line, names a statement the same way (`data-integration.md#two-error
## The axis scale panel's text
`Chart/AxisScalePanel` reads `AxisScaleMaximumLabel` and `AxisScaleMinimumLabel` ("Maximum" / "Максимум",
-"Minimum" / "Минимум") and `AxisScaleInitialScale`; it has no apply button, because the pair is written
+"Minimum" / "Минимум"), `AxisScaleInitialScale`, and the pen form's `PenFormScaleTypeLabel` and
+`PenFormLogarithmic`; it has no apply button, because the pair is written
when its edit ends (`trend-interaction.md#the-axis-scale-panel`). Its Autoscale button reads
`MenuViewAutoscale`, the same key as the menu item, so one word names the command in both places. The
pen's name and unit are data, shown in two `TextBlock`s, so no format key joins them.
@@ -342,8 +344,8 @@ The message line shows `AxisScaleBoundInvalid` ("Enter a number in each field" /
число") for a field that is not a number in the operator's regional format, `AxisScaleBoundsRequired`
("Enter both bounds" / "Укажите обе границы") for an empty field and `AxisScaleMinimumBelowMaximum` ("The
minimum must be below the maximum" / "Минимум должен быть меньше максимума") for an inverted or equal
-pair. The checkbox under Minimum reads `AxisScaleLogarithmic` ("Logarithmic scale" / "Логарифмическая
-шкала"), the scale type in the industry form the pen editor's log column uses, and
+pair. The Scale type row reads `PenFormScaleTypeLabel` ("Scale type" / "Тип шкалы") and its box
+`PenFormLogarithmic` ("Logarithmic" / "Логарифмическая"), the pen form's pair for the same setting, and
`ScaleLogMinimumPositive`, the pen form's key, fills the message line for a minimum at or below zero on a
logarithmic axis and for a tick the chart refuses over a manual minimum at or below zero. A tick refused
over a pair that does not read shows that pair's rule instead. The Russian rule wraps to two lines in the
diff --git a/docs/architecture/ui-theme.md b/docs/architecture/ui-theme.md
index 1cd5d29..606ed3c 100644
--- a/docs/architecture/ui-theme.md
+++ b/docs/architecture/ui-theme.md
@@ -177,7 +177,7 @@ Semi owns the controls; these twenty keys are ours, and each exists in both vari
| `AppSecondaryForegroundBrush` | Minimap end labels, hover line and hover time, chart crosshair, plot axis furniture, the chart's empty-catalogue message, the sidebar group header caption, its fold chevron and a row's unit, the axis scale panel's unit, the message panel's empty text and an entry's remedy, repeat count and time, the pen editor's groups cell, the pen pane's empty hint, its title's id and its mask preview, the groups pane's subtitle, a group row's pen count and "..." glyph, and the delete confirmation's note | `#818594` | `#6F737A` |
| `AppAccentBrush` | Minimap window highlight border, the active sidebar row's left bar, a group header's fold chevron under the pointer (`overview.md#the-sidebar-fold`) | `#3574F0` | `#3574F0` |
| `AppAccentFillBrush` | Minimap window highlight fill, the active sidebar row's background | `#3574F0` at 0.25 opacity | `#3574F0` at 0.25 opacity |
-| `AppSeverityErrorBrush` | The message panel's dot on an `Error` entry; a form's invalid field border, the pen form's warning glyph and a form's message line | `#DB3B4B` | `#E55765` |
+| `AppSeverityErrorBrush` | The message panel's dot on an `Error` entry; a form's invalid field border, the warning glyph of the pen form and the axis scale panel, and a form's message line | `#DB3B4B` | `#E55765` |
| `AppSeverityWarningBrush` | The same dot on a `Warning` entry | `#E3AE4D` | `#F2C55C` |
| `AppSeverityInfoBrush` | The same dot on an `Info` entry | `#3574F0` | `#3574F0` |
| `AppConnectionOkBrush` | The status bar's connection indicator, `connection-ok` | `#208A3C` | `#5FAD65` |
@@ -220,12 +220,17 @@ colour and text, never size:
`Classes.invalid` to its `Is*Valid` flag, and `Styles/Forms.axaml` paints that border with
`AppSeverityErrorBrush`. The glyph is a 16 px `PathIcon` of `WarningGeometry` (`Styles/Icons.axaml`) in
`AppSeverityErrorBrush`, 8 px from the box's right edge, set as the box's `InnerRightContent` through a
- `` setter, so every invalid box builds its own icon. The pen editor's form carries the glyph
- through its window-scoped style `Panel#PenForm TextBox.invalid`; another form adopts it when it is next
- touched, and until then marks an invalid field by the border alone.
+ `` setter, so every invalid box builds its own icon. The setter is the one style
+ `.invalid-glyph TextBox.invalid` in `Styles/Forms.axaml`: a form adopts the glyph by putting the class
+ `invalid-glyph` on the panel that holds its fields. The pen editor's form (`Panel#PenForm`) and the axis
+ scale panel's bounds (`Grid#AxisScaleBounds`) carry it; another form adopts it when it is next touched, and
+ until then marks an invalid field by the border alone.
`PenFormPaneViewTests.AnInvalidField_ShowsTheWarningGlyphInsideTheBoxWithoutResizing` gates two boxes
invalid at once, each with its own visible glyph inside its bounds and nothing resized, and
`AValidField_ShowsNoWarningGlyph` the valid state.
+ `AxisScalePanelLayoutTests.AnInvalidBound_ShowsTheWarningGlyphInsideTheBoxWithoutResizing`,
+ `AValidBound_ShowsNoWarningGlyph` and `ABoundCorrected_DropsTheWarningGlyph` gate the panel's two bounds the
+ same way.
- One message line sits left of the buttons, or on its own full-width row above them (the export window), or
as the last row of a form (the time window panel, and the axis scale panel below its buttons). It is a
`TextBlock.form-message`: two lines of 20 px
@@ -364,22 +369,37 @@ languages before it ships.
`Chart/AxisScalePanel` is a `Flyout` form under the same rule. The panel is 280 px wide, with rows that exist
in every state: the header with the pen name and its unit right after it, the two `TextBox` rows of the
-bounds grid, the Logarithmic scale `CheckBox` row, the Autoscale toggle and the Restore initial scale button
-one per row across the full width, and the reserved message line (`form-message`, 40 px) last, so its empty
-band reads as the bottom margin. Each bound is a 140 px `TextBox` aligned left in the field column, on
-Semi's default fill. The checkbox spans the panel from the left edge under the labels. The Autoscale toggle
-keeps Semi's checked look, the one the navigation bar's Sticky and Delta toggles show. The panel has no apply
-button. An invalid or empty field takes the `invalid` border, and a refused Logarithmic scale click leaves
-the box as it was and fills the message line, so nothing appears or disappears.
+bounds grid, the Scale type row (the label `PenFormScaleTypeLabel` in the label column and the Logarithmic
+`CheckBox` in the field column), the Autoscale toggle and the Restore initial scale button one per row across
+the full width, and the reserved message line (`form-message`, 40 px) last, so its empty band reads as the
+bottom margin. Each bound is a 140 px `TextBox` aligned left in the field column, on Semi's default fill.
+
+The Logarithmic box starts at the fields' left edge. The bounds grid and the Scale type grid `AxisScaleType`
+each name their `Auto` label column `SharedSizeGroup="AxisScaleLabel"` under the outer grid's
+`Grid.IsSharedSizeScope`, so the column is the widest of the three labels in each language and the form has
+one label edge and one field edge (`desktop-ui` Alignment). Both grids use a 14 px `ColumnSpacing`. The box
+keeps its own grid outside `AxisScaleBounds`, so focus onto it ends the pair's edit
+(`trend-interaction.md#the-axis-scale-panel`). The box is `HorizontalAlignment="Left"`, so only the box and
+its text toggle the flag, and a click on the label or on the empty right part of the row gives the panel the
+keyboard; `AxisScalePanelLayoutTests.AClickOnTheScaleTypeLabelOrBesideTheBox_LeavesTheFlagAndGivesThePanelTheKeyboard`
+gates both clicks. `AxisScalePanelLayoutTests.TheLogarithmicBox_StartsAtTheFieldEdge_UnderTheScaleTypeLabel` gates
+the edge and the shared column in both cultures, and `TheScaleTypeRow_FitsThePanelInInter` the fit in Inter: the
+label column, the gap and the 140 px field leave at least 24 px of the panel free, and the label column, the
+gap and the box fit the panel.
+
+The Autoscale toggle keeps Semi's checked look, the one the navigation bar's Sticky and Delta toggles show.
+The panel has no apply button. An invalid or empty field takes the `invalid` border and the warning glyph,
+and a refused Logarithmic click leaves the box as it was and fills the message line, so nothing appears or
+disappears.
Measured on 2026-10-16 with Skia and HarfBuzz, in the real theme at 14 px on the Windows machine fonts, off a
realised panel with no view model, so the header row is empty:
| | English | Russian |
| --- | --- | --- |
-| Panel | 280 x 264 px | 280 x 264 px |
-| Field column start, field width | 82.0 px, 140 px | 88.0 px, 140 px |
-| Logarithmic scale checkbox | 141 x 19 px, ends 141.0 px from the left | 199 x 19 px, ends 199.0 px from the left |
+| Panel, before the Scale type row | 280 x 264 px | 280 x 264 px |
+| Field column start, field width, before the Scale type row | 82.0 px, 140 px | 88.0 px, 140 px |
+| Logarithmic scale checkbox, before the Scale type row | 141 x 19 px, ends 141.0 px from the left | 199 x 19 px, ends 199.0 px from the left |
| Button text in a 280 x 32 px button, Autoscale and Restore initial scale | 69.1 and 135.8 px | 99.1 and 145.8 px |
| `AxisScaleBoundInvalid` | 188.6 px, one line | 211.0 px, one line |
| `AxisScaleBoundsRequired` | 125.2 px, one line | 152.7 px, one line |
@@ -387,6 +407,15 @@ realised panel with no view model, so the header row is empty:
| `ScaleLogMinimumPositive` | 255.5 and 73.8 px, two lines | 283.2 and 185.4 px, two lines (the first with its trailing space) |
| Panel size with each message shown | unchanged | unchanged |
+The three rows marked "before the Scale type row" predate the current layout; the current row, measured in
+Inter at 14 px through Skia by `TheScaleTypeRow_FitsThePanelInInter` (2026-11-03):
+
+| Inter | English | Russian |
+| --- | --- | --- |
+| Labels Maximum, Minimum, Scale type | 63.7, 59.8, 69.6 px | 72.8, 66.1, 75.0 px |
+| Label column | 69.6 px | 75.0 px |
+| Logarithmic box, its 24.0 px chrome included | 101.9 px | 149.2 px |
+
The submenu header with the pen "Damper valve 01" in mTorr, measured at 360 px: 181.3 px in a 270 px item in
English, 215.1 px in a 304 px item in Russian.
diff --git a/docs/plans/completed/20261103-axis-scale-checkbox-column.md b/docs/plans/completed/20261103-axis-scale-checkbox-column.md
new file mode 100644
index 0000000..f4c9167
--- /dev/null
+++ b/docs/plans/completed/20261103-axis-scale-checkbox-column.md
@@ -0,0 +1,562 @@
+# Axis scale panel: the log checkbox in the field column, under a Scale type label
+
+## Overview
+
+- The axis scale panel's form has two left edges. The bound fields start at the field column, after the labels
+ Maximum and Minimum. The log-scale checkbox `AxisScaleLogarithmic` starts at the panel's left edge, under the
+ labels (`AxisScalePanel.axaml:86-90`).
+- The checkbox moves into the field column. The label column of its row reads "Scale type" / "Тип шкалы", and the
+ box reads "Logarithmic" / "Логарифмическая", the pen form's pair for the same setting. The form then has one
+ label edge and one field edge.
+- The checkbox keeps its own grid outside `AxisScaleBounds`, so a press or a Tab onto it still ends the pair's
+ edit. The two grids share one label column width.
+- An invalid bound shows the warning glyph inside its box, as the pen form's fields do, because
+ `ui-theme.md:223-225` binds the glyph to the next form touched.
+- The key `AxisScaleLogarithmic` loses its one consumer and goes from both resource files.
+- Scope guard: no change to the scale rules or the panel's commit behaviour. No view model or code-behind change.
+ The glyph is a style on the existing `invalid` class: it changes no validation rule and no commit path, so the
+ guard holds.
+
+## Context (from discovery)
+
+Roadmap: docs/plans/roadmaps/20261102-visual-chore-roadmap.md — slice axis-scale-checkbox-column
+
+The slice has no issue (`20261102-visual-chore-roadmap.md:259`), so the PR body closes none. Its scope is `:256-258`,
+its scope guard `:265`. The roadmap's table names the defect "log checkbox at the label edge" with the cost "two
+left edges in one form" (`:37`), and the target state puts the checkbox "in the field column, with a label in the
+label column" (`:89-90`). The pen pane's target row for the same setting is "Тип шкалы (checkbox
+"Логарифмическая")" (`:68`).
+
+Stacking: this branch, `axis-scale-checkbox-column`, starts at `9c2f74c`, the tip of `export-pen-choice-list`
+(verified 2026-11-03: `git rev-parse HEAD export-pen-choice-list` prints the same hash). Its merge base with
+`master` is `df129f7`; the branches between are not merged.
+
+- Panel (`SemiPlot/SemiPlot.UI/Chart/AxisScalePanel.axaml`):
+ - The `UserControl` is `Width="280"` (`:11`), focusable and no tab stop (`:13-14`). It carries
+ `UserControl.KeyBindings` (`:16-19`) and no `Resources` or `Styles` block.
+ - The outer `Grid` has five `Auto` rows at `RowSpacing="10"` (`:21-22`): the header (`:24-39`), the bounds grid
+ (`:41-84`), the checkbox (`:86-90`), the two buttons (`:92-111`) and the message line (`:113-116`).
+ - The bounds grid `AxisScaleBounds` is `ColumnDefinitions="Auto,*"`, `ColumnSpacing="14"`, `RowSpacing="10"`
+ (`:44-46`). Column 0 holds the labels `AxisScaleMaximumLabel` and `AxisScaleMinimumLabel`, unnamed
+ `TextBlock`s with `VerticalAlignment="Center"` (`:48-51`, `:66-69`). Column 1 holds the `TextBox`es
+ `AxisScaleMaximum` and `AxisScaleMinimum`, `Width="140"`, `HorizontalAlignment="Left"`, with
+ `Classes.invalid="{Binding !IsMaximumValid}"` and `{Binding !IsMinimumValid}` (`:53-64`, `:71-82`).
+ - The checkbox is `Grid.Row="2"` of the outer grid, `Name="AxisScaleLogarithmic"`,
+ `Content="{x:Static text:Resources.AxisScaleLogarithmic}"`, `IsChecked="{Binding IsLogarithmic, Mode=OneWay}"`,
+ `Command="{Binding ToggleLogarithmicCommand}"` (`:86-90`). It sets no column and no `HorizontalAlignment`, so it
+ starts at the panel edge and stretches across the row; a click anywhere on the row toggles it.
+- Code-behind `AxisScalePanel.axaml.cs`: `OnLoaded` subscribes to `AxisScaleBounds`'s `IsKeyboardFocusWithinProperty`
+ (`:21-22`), and `OnBoundsFocusWithinChanged` calls `CommitBounds` when it turns false (`:45-60`). This is the
+ pair's commit trigger. A control inside `AxisScaleBounds` keeps focus-within true, so a Tab onto it would not
+ commit. `trend-interaction.md:385-386` states the rule: the checkbox "sits in its own row under the bounds,
+ outside `AxisScaleBounds`, so a press on it ends the pair's edit".
+- Pen form precedents (`SemiPlot/SemiPlot.UI/PenEditor/PenEditorWindow.axaml`):
+ - `ColumnDefinitions x:Key="PenFormColumns" x:Shared="False"` with a 112 px label column and a 240 px field
+ column (`:24-28`), read by each form grid as `ColumnDefinitions="{StaticResource PenFormColumns}"` (`:419-421`,
+ `:441`).
+ - The glyph style `Panel#PenForm TextBox.invalid` sets `InnerRightContent` through a `` to a 16 x 16
+ `PathIcon`, `Margin="0,0,8,0"`, `Data="{StaticResource WarningGeometry}"`,
+ `Foreground="{DynamicResource AppSeverityErrorBrush}"` (`:79-89`).
+ - The scale type row: a `PenFormScaleTypeLabel` label in column 0 and a `PenFormLogarithmic` checkbox in column 1
+ with `HorizontalAlignment="Left"` (`:472-483`).
+- `ui-theme.md:219-225`: an invalid field shows the `invalid` border and the warning glyph; "The pen editor's form
+ carries the glyph through its window-scoped style `Panel#PenForm TextBox.invalid`; another form adopts it when it
+ is next touched, and until then marks an invalid field by the border alone."
+- Resources:
+ - `AxisScaleLogarithmic`: "Logarithmic scale" / "Логарифмическая шкала" (`Resources.resx:168-170`,
+ `Resources.ru.resx:168-170`). Its one consumer is `AxisScalePanel.axaml:88`; its one test read is
+ `AxisScalePanelViewTests.cs:329` (`git grep -n AxisScaleLogarithmic -- SemiPlot`).
+ - `PenFormScaleTypeLabel`: "Scale type" / "Тип шкалы" (`Resources.resx:684-686`, `Resources.ru.resx:684-686`).
+ - `PenFormLogarithmic`: "Logarithmic" / "Логарифмическая" (`Resources.resx:687-689`, `Resources.ru.resx:687-689`).
+ - `ui-text.md:236-238`: the pen form's labels "reuse a key wherever the term is the same concept", and the pen form
+ already reads the axis scale panel's `AxisScaleMinimumLabel` and `AxisScaleMaximumLabel`.
+ - The resource class is generated from `Resources.resx` (`SemiPlot.UI.csproj:12`, `GenerateSource="true"`), so a
+ deleted key deletes its accessor.
+- Measured widths (`ui-theme.md:375-388`, Skia and HarfBuzz, 2026-10-16): the field column starts at 82.0 px in
+ English and 88.0 px in Russian; the checkbox is 141 px wide in English and 199 px in Russian. The Russian field
+ column is 280 - 88 = 192 px, narrower than the 199 px box that reads "Логарифмическая шкала".
+- Headless measurement: the headless shaper advances every glyph by the font size (`ui-theme.md:347-348`), so a
+ headless label is about twice as wide as in Inter. A headless `Auto` column therefore does not stand for the
+ column on screen.
+- Avalonia 12.0.5 carries `SharedSizeGroup` and `IsSharedSizeScope`: both strings occur in
+ `~/.nuget/packages/avalonia/12.0.5/lib/net10.0/Avalonia.Controls.dll` (checked 2026-11-03 with `grep -c -a`). No
+ AXAML in this repository uses them (`grep -rn SharedSizeGroup --include=*.axaml SemiPlot` prints nothing).
+- Label fit: no test measures this panel's label column, which is `Auto` (`AxisScalePanel.axaml:44`). The pen
+ form's `PenFormPaneViewTests.EveryPenFormLabel_FitsTheLabelColumnInInter` (`PenFormPaneViewTests.cs:256-282`)
+ measures its ten labels in Inter against its fixed 112 px column (`:31`), in `en` and `ru`.
+- Test helpers:
+ - `InterMeasure.InterTypeface` and `InterFont` (`UI/InterMeasure.cs:11-22`); `HeaderWidthInInter` takes a
+ control's chrome as `ViewProbe.UnconstrainedWidthOf(window, header) - ViewProbe.UnconstrainedWidthOf(window,
+ text)` and adds the Inter width of the text (`:25-32`).
+ - `ViewProbe.UnconstrainedWidthOf(Window, Control)` measures at `Size.Infinity`, ceils the desired width, then
+ invalidates and re-lays out the window (`UI/ViewProbe.cs:91-99`); `LeftOf(Control, Visual ancestor)` (`:68`);
+ `Descendant(Visual, string)` (`:34`).
+ - The glyph test model: `PenFormPaneViewTests.AnInvalidField_ShowsTheWarningGlyphInsideTheBoxWithoutResizing`
+ (`PenFormPaneViewTests.cs:176-215`) and `AValidField_ShowsNoWarningGlyph` (`:217-234`).
+- Tests (`SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelViewTests.cs`, traits `Component=UI`, `Area=Chart`,
+ `Category=Unit`, `ProcessGlobalStateCollection`, `:25-28`). The checkbox reads:
+ - `:234` `TabbingBetweenTheBounds_WritesNothing_UntilFocusLeavesThePair` (`:218-237`): the second Tab from
+ Maximum focuses the box and the pair is written.
+ - `:252` `OnAnAutoscaledPen_TabAndEnterThroughUntouchedBounds_KeepTheAxisAuto` (`:239-255`): Tab out of the pair
+ focuses the box.
+ - `:290` `EnterOnTheFocusedAutoscaleButton_Autoscales_AfterThePairWasWrittenOnLeavingIt` (`:280-298`): Tab from
+ Minimum focuses the box, the pair is written, the next Tab focuses the Autoscale button.
+ - `:326-338` `TheLogarithmicBox_SwitchesTheAxisAndKeepsThePanelOpenAtItsSize` (`:319-345`): `box.Content` equals
+ `Resources.AxisScaleLogarithmic` (`:329`); the panel and presenter sizes are equal before and after a click.
+ - `:355` `TheLogarithmicBox_OverAManualMinimumOfZero_StaysClearAndNamesTheRule` (`:347-367`).
+ - `:388` `TheMessageLine_KeepsThePanelsSize_EmptyWithAOneLineRuleAndWithTheLogRule` (`:369-394`, `en-US`,
+ `ru-RU`): sizes equal across three message states.
+ - `AnUnreadableEntry_IsMarkedAndEnterWritesNothing` (`:80-98`) types "1x" under `en-US` and asserts the
+ `invalid` class on `AxisScaleMaximum` (`:92`).
+ - Helpers: `OpenPanel` (`:396-404`); `PressThePanelsEmptyArea` presses 5 px above `AxisScaleBounds` at the panel's
+ right edge less 4 px (`:411-416`); `SizesOf` (`:423-426`); `TypeInto` through `HeadlessInput.Clear` and `Type`
+ (`:428-434`).
+ - `ResourcesTests.TheRussianSet_CarriesEveryKeyTheNeutralSetCarries` (`UI/Localization/ResourcesTests.cs:93`) and
+ `EveryGeneratedAccessor_ResolvesToANonEmptyValue` (`:24`).
+- Docs: `ui-theme.md:219-225` (the glyph bullet); `ui-theme.md:363-398` (the panel paragraph `:365-373`: "the
+ Logarithmic scale `CheckBox` row" `:367`, "The checkbox spans the panel from the left edge under the labels"
+ `:370`, "a refused Logarithmic scale click" `:372`; the measured table `:381-382`); `ui-text.md:334-353` (the keys
+ the panel reads `:336-337`, the checkbox "under Minimum reads `AxisScaleLogarithmic`" `:345-346`);
+ `trend-interaction.md:168`, `:385` ("Logarithmic scale checkbox"); `trend-feature-spec.md:77` ("the axis scale
+ panel's Logarithmic scale checkbox").
+- Rules applied: `desktop-ui` Alignment (`SKILL.md:119-132`: one grid, one field edge, a checkbox in the field
+ column, a label when the box's text does not name the setting), Field widths (`:148-150`: at least 24 px of slack
+ after the widest field), Validation (`:215`: a red border plus an icon inside the field), Text in the UI
+ (`:224-230`: labels never wrap, one term per concept, measure in every language), Spacing (`:108`, `:111-112`: the
+ 4 grid, off-scale values are debt); `base.md` Dead code; `AGENTS.md` UI (every operator string in both resx files,
+ every colour a palette key) and Test (HeadlessInput, traits).
+
+## Development Approach
+
+- **Testing approach**: TDD. Task 1 writes the reproduction first and runs it red before the AXAML changes; Task 2
+ writes the glyph test first and runs it red before the style lands.
+- Complete each task fully before the next; every task ends with its tests passing.
+- **CRITICAL: every task MUST include new/updated tests** for the code it changes.
+- **CRITICAL: all tests must pass before starting the next task.**
+- **CRITICAL: update this plan file when scope changes during implementation.**
+- Every existing assertion of `AxisScalePanelViewTests` keeps its meaning; one line changes its expected key.
+
+## Testing Strategy
+
+- **View tests**: the one-edge reproduction, the Inter fit guard, the hit-area test and the glyph tests live in
+ `AxisScalePanelLayoutTests`, beside `AxisScalePanelViewTests`, both over `AxisScalePanelDriver`; one content
+ assertion in `AxisScalePanelViewTests` moves to the new key.
+- **Resource tests**: `ResourcesTests` runs unchanged over both sets after the key goes.
+- **E2E**: none beyond the headless view tests; the project has no separate e2e suite.
+- `AxisScalePanelLayoutTests` carries the three traits and the collection of `AxisScalePanelViewTests`.
+- Every click, cleared field, typed text and key press goes through `HeadlessInput` (`AGENTS.md`, Test).
+- Widths the operator sees are measured in Inter, as the pen form and the export window do; the headless font only
+ gates edges and equal sizes.
+
+## Acceptance Evidence
+
+The defect is automatable. At HEAD the new
+`AxisScalePanelLayoutTests.TheLogarithmicBox_StartsAtTheFieldEdge_UnderTheScaleTypeLabel` compiles and fails at run
+time: the box's left edge is 0 px in panel coordinates, and `AxisScaleMaximum`'s is the label column plus 14 px.
+
+After the change:
+
+```powershell
+dotnet test SemiPlot/SemiPlot.Tests.Unit/SemiPlot.Tests.Unit.csproj --filter "FullyQualifiedName~AxisScalePanelViewTests|FullyQualifiedName~AxisScalePanelLayoutTests|FullyQualifiedName~AxisScalePanelViewModelTests|FullyQualifiedName~ResourcesTests"
+```
+
+It must report 0 failed. These named tests must be present and pass:
+
+- `AxisScalePanelLayoutTests.TheLogarithmicBox_StartsAtTheFieldEdge_UnderTheScaleTypeLabel` (the reproduction;
+ theory: `en-US`, `ru-RU`) - Task 1
+- `AxisScalePanelLayoutTests.TheScaleTypeRow_FitsThePanelInInter` (theory: `en-US`, `ru-RU`) - Task 1
+- `AxisScalePanelLayoutTests.AClickOnTheScaleTypeLabelOrBesideTheBox_LeavesTheFlagAndGivesThePanelTheKeyboard` -
+ review
+- `AxisScalePanelViewTests.TheLogarithmicBox_SwitchesTheAxisAndKeepsThePanelOpenAtItsSize` (reads
+ `PenFormLogarithmic`) - Task 1
+- `AxisScalePanelViewTests.TabbingBetweenTheBounds_WritesNothing_UntilFocusLeavesThePair` (unchanged) - Task 1
+- `AxisScalePanelViewTests.OnAnAutoscaledPen_TabAndEnterThroughUntouchedBounds_KeepTheAxisAuto` (unchanged) - Task 1
+- `AxisScalePanelViewTests.EnterOnTheFocusedAutoscaleButton_Autoscales_AfterThePairWasWrittenOnLeavingIt`
+ (unchanged) - Task 1
+- `AxisScalePanelViewTests.TheLogarithmicBox_OverAManualMinimumOfZero_StaysClearAndNamesTheRule` (unchanged) - Task 1
+- `AxisScalePanelViewTests.TheMessageLine_KeepsThePanelsSize_EmptyWithAOneLineRuleAndWithTheLogRule` (unchanged) -
+ Task 1
+- `AxisScalePanelViewTests.APressOnThePanelsEmptyArea_WritesThePendingPairWithThePanelOpen` (unchanged) - Task 1
+- `AxisScalePanelLayoutTests.AnInvalidBound_ShowsTheWarningGlyphInsideTheBoxWithoutResizing` - Task 2
+- `AxisScalePanelLayoutTests.AValidBound_ShowsNoWarningGlyph` (both bounds) - Task 2
+- `AxisScalePanelLayoutTests.ABoundCorrected_DropsTheWarningGlyph` - review
+- `AxisScalePanelViewTests.AnUnreadableEntry_IsMarkedAndEnterWritesNothing` (unchanged) - Task 2
+- `ResourcesTests.TheRussianSet_CarriesEveryKeyTheNeutralSetCarries` (unchanged) - Task 3
+- `ResourcesTests.EveryGeneratedAccessor_ResolvesToANonEmptyValue` (unchanged) - Task 3
+
+`$BASE` is `9c2f74c`, this branch's start (Context). If `git merge-base --is-ancestor 9c2f74c HEAD` exits 1 after a
+rebase, `$BASE` is `$(git merge-base HEAD origin/master)`.
+
+Gates, each run fresh:
+
+```powershell
+dotnet build SemiPlot.slnx # 0 errors, no warning beyond the two NU1902 the base reports
+dotnet test SemiPlot/SemiPlot.Tests.Unit/SemiPlot.Tests.Unit.csproj # 0 failed
+dotnet format SemiPlot.slnx --verify-no-changes # exit 0
+dotnet tool restore; dotnet terse # exit 0
+git grep -nE "static void (Click|Clear|Type|Press)\(" -- SemiPlot/SemiPlot.Tests.Unit # only HeadlessInput.cs lines
+git grep -nE "Resources\.AxisScaleLogarithmic|name=\"AxisScaleLogarithmic\"" -- SemiPlot # prints nothing
+git grep -n AxisScaleLogarithmic -- docs/architecture # prints nothing, or only mentions of the control's Name
+git diff $BASE...HEAD --stat -- SemiPlot/SemiPlot.UI ':!SemiPlot/SemiPlot.UI/Chart/AxisScalePanel.axaml' ':!SemiPlot/SemiPlot.UI/Localization' ':!SemiPlot/SemiPlot.UI/Styles/Forms.axaml' ':!SemiPlot/SemiPlot.UI/PenEditor/PenEditorWindow.axaml' # prints nothing
+git diff $BASE...HEAD --stat -- SemiPlot/SemiPlot.Core SemiPlot/SemiPlot.DataSource.Postgres ConfigFiles # prints nothing
+```
+
+The key gate's lowercase `name=` is intentional: `git grep` is case-sensitive, so it matches the resx entry
+`
+
+
+ ```
+
+- The outer grid (`:21-22`) gains `Grid.IsSharedSizeScope="True"`.
+- `AxisScaleBounds` (`:41-46`) replaces `ColumnDefinitions="Auto,*"` with the element form, because the attribute
+ shorthand cannot carry `SharedSizeGroup`:
+
+ ```xml
+
+
+
+
+ ```
+
+- The `CheckBox` (`:86-90`) becomes:
+
+ ```xml
+
+
+
+
+
+
+
+
+
+
+ ```
+
+- The fallback, only if the shared-size ASSUMPTION fails: drop `Grid.IsSharedSizeScope` and both `SharedSizeGroup`
+ columns; add to a new `UserControl.Resources` block
+
+ ```xml
+
+
+
+
+ ```
+
+ and give both grids `ColumnDefinitions="{StaticResource AxisScaleColumns}"`. 80 is the example; the run sets the
+ smallest multiple of 4 at or above the widest Inter label the fit test reports, at most 100.
+
+### `Localization/Resources.resx`, `Resources.ru.resx`
+
+- Delete the `AxisScaleLogarithmic` entry from both (`:168-170` in each). No entry is added.
+
+### Test changes
+
+| Test | Today | After |
+| --- | --- | --- |
+| `TheLogarithmicBox_SwitchesTheAxisAndKeepsThePanelOpenAtItsSize` `:329` | `box.Content` is `Resources.AxisScaleLogarithmic` | `box.Content` is `Resources.PenFormLogarithmic` |
+| `:234`, `:252`, `:290` | Tab out of the pair focuses `AxisScaleLogarithmic` | unchanged: the label `TextBlock` is not focusable, so the box is still the next tab stop after Minimum |
+| `:355`, `:388` | the box by name | unchanged |
+| `:326-338`, `:369-394` size checks | sizes equal before and after a state change | unchanged: both sides of each comparison see the new row and the glyph |
+| `AnUnreadableEntry_IsMarkedAndEnterWritesNothing` `:92` | the `invalid` class on `AxisScaleMaximum` | unchanged: the class drives the glyph |
+| `PressThePanelsEmptyArea` `:411-416` | 5 px above `AxisScaleBounds` | unchanged: rows 0 and 1 do not move |
+
+### The fit test's label column
+
+`TheScaleTypeRow_FitsThePanelInInter` takes the label column as the widest Inter label of the three, since the
+shipped column 0 of `AxisScaleBounds` is `Auto`; it reads the gap from each grid's `ColumnSpacing` and the field width
+from `AxisScaleMaximum`. A headless `Auto` column is the headless font's width, 140 px for "Scale type" in
+English (Context), and would fail a fit that holds in Inter; a fixed column is the same width headless and on
+screen, so its realised width counts.
+
+### ASSUMPTIONs, each with its guard and fallback
+
+- ASSUMPTION: `SharedSizeGroup` on an `Auto` column, inside a `Grid.IsSharedSizeScope` ancestor, gives both grids
+ one label column width in Avalonia 12.0.5. Guard: the `ActualWidth` and left-edge assertions of
+ `TheLogarithmicBox_StartsAtTheFieldEdge_UnderTheScaleTypeLabel` in both cultures. Fallback: the
+ `AxisScaleColumns` resource (Technical Details), gated in Inter by `TheScaleTypeRow_FitsThePanelInInter`, which
+ then also asserts every label at most the column width in `en-US` and `ru-RU`. The run records a ⚠️ under Task 1
+ with the width chosen, and Task 5 states the fixed width.
+- ASSUMPTION: headless, the English label column grows from 98 px ("Maximum", 7 glyphs at 14 px) to 140 px ("Scale
+ type", 10 glyphs), so the 140 px bounds end at 294 px and overflow the 280 px panel by 14 px under the test font.
+ The fields' centres stay inside the panel, so the clicks of the existing tests still land. Guard: the full
+ `AxisScalePanelViewTests` run in Task 1. Fallback: none needed for Inter, which `TheScaleTypeRow_FitsThePanelInInter`
+ checks; if a headless click misses, the run records which test and a ⚠️ under Task 1.
+- ASSUMPTION: the box's string content is shown through one `TextBlock` among the box's visual descendants, so the
+ chrome is `UnconstrainedWidthOf(window, box) - UnconstrainedWidthOf(window, text)`, the `HeaderWidthInInter`
+ pattern. Guard: the fit test asserts one such `TextBlock` with `Text` equal to `Resources.PenFormLogarithmic` and a
+ positive chrome. Fallback: the chrome is the 2026-10-16 English box width, 141 px, less the Inter width of
+ "Logarithmic scale", recorded as a ⚠️ under Task 1.
+- ASSUMPTION: `WarningGeometry` resolves as a `StaticResource` from inside the flyout, as it does in the pen editor
+ window. Guard: `AnInvalidBound_ShowsTheWarningGlyphInsideTheBoxWithoutResizing` asserts the glyph's `Data` is the
+ resource `panel.TryFindResource("WarningGeometry", out _)` returns. Fallback: `DynamicResource` for `Data`, and a ⚠️
+ under Task 2.
+
+## What Goes Where
+
+- **Implementation Steps** (`[ ]` checkboxes): the reproduction and the fit guard, the row's AXAML, the glyph style
+ and its tests, the key deletion, the gates, the architecture docs.
+- **Post-Completion** (no checkboxes): the look in the running viewer and the re-measure of the 2026-10-16 table.
+
+## Implementation Steps
+
+### Task 1: Move the checkbox into the field column under a label, tests first
+
+**Files:**
+- Modify: `SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelViewTests.cs`
+- Modify: `SemiPlot/SemiPlot.UI/Chart/AxisScalePanel.axaml`
+
+- [x] write the failing `[AvaloniaTheory]` `TheLogarithmicBox_StartsAtTheFieldEdge_UnderTheScaleTypeLabel` with
+ `[InlineData("en-US")]` and `[InlineData("ru-RU")]`, in the pattern of `:369-394` (`CultureScope`,
+ `CreateLoadedViewModel`, `ShowChart`, `OpenPanel`). With `box` = `AxisScaleLogarithmic`, `bounds` =
+ `panel.FindControl("AxisScaleBounds")` and `row` = `panel.FindControl("AxisScaleType")`, it asserts
+ in this order: `ViewProbe.LeftOf(box, panel)` equals `LeftOf(AxisScaleMaximum, panel)` and
+ `LeftOf(AxisScaleMinimum, panel)` within 0.5 px; `row` exists and is no visual descendant of `bounds`, and
+ `box`'s parent is `row`; `row.ColumnDefinitions[0].ActualWidth` equals `bounds.ColumnDefinitions[0].ActualWidth`
+ within 0.5 px; `panel.FindControl("AxisScaleTypeLabel")` has `Text` `Resources.PenFormScaleTypeLabel`,
+ parent `row` and `Grid.GetColumn` 0; `box.Content` is `Resources.PenFormLogarithmic`
+- [x] run it at HEAD: red in both cultures at the first assertion (the box at 0 px, the fields at the label column
+ plus 14 px); note the two actual values under this task
+ - red at the first assertion, headless: `en-US` box 0.0 px, fields 112.0 px; `ru-RU` box 0.0 px, fields 126.0 px
+- [x] write `[AvaloniaTheory]` `TheScaleTypeRow_FitsThePanelInInter` (`en-US`, `ru-RU`): with `InterTypeface()` and
+ `InterFont(typeface, label.FontSize)`, `labelColumn` is computed as Technical Details states over the two
+ bounds labels and `AxisScaleTypeLabel`; `labelColumn + 14 + 140` is at most `panel.Width - 24`; `labelColumn +
+ 14 + chrome + InterWidth(Resources.PenFormLogarithmic)` is at most `panel.Width`, with the chrome measured as the
+ chrome ASSUMPTION states. If the fallback runs, it also asserts each label's Inter width is at most the fixed
+ column width. The test writes the Inter label widths and the box width to the test output
+- [x] change `:329` to `box.Content.Should().Be(Resources.PenFormLogarithmic)`
+- [x] change the AXAML row and columns as Technical Details states (the style is Task 2)
+- [x] run `AxisScalePanelViewTests` and `AxisScalePanelViewModelTests`: every case passes; note under this task
+ whether the shared-size fallback ran, and the Inter widths the fit test reported in each culture
+ - 69 passed, 0 failed. The shared-size fallback did not run: the `SharedSizeGroup` column lines up in both
+ cultures
+ - Inter, `en-US`: labels Maximum 63.7, Minimum 59.8, Scale type 69.6 px; label column 69.6 px; box 101.9 px
+ (chrome 24.0 px)
+ - Inter, `ru-RU`: labels 72.8, 66.1, 75.0 px; label column 75.0 px; box 149.2 px (chrome 24.0 px)
+
+### Task 2: Show the warning glyph inside an invalid bound, tests first
+
+**Files:**
+- Modify: `SemiPlot/SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelViewTests.cs`
+- Modify: `SemiPlot/SemiPlot.UI/Chart/AxisScalePanel.axaml`
+
+- [x] write the failing `AnInvalidBound_ShowsTheWarningGlyphInsideTheBoxWithoutResizing`, modelled on
+ `PenFormPaneViewTests.cs:176-215`: under `CultureScope("en-US")`, record `SizesOf(panel, message)` and both
+ boxes' `Bounds`; `TypeInto(..., "AxisScaleMaximum", "1x")`; `HeadlessInput.Clear(shown.Window, minimum)`. For
+ each box: the `invalid` class is set; `InnerRightContent` is a visible `PathIcon` whose `Data` is the resource
+ `panel.TryFindResource("WarningGeometry", out var warning)` returns; the glyph's left, right, top and bottom
+ edges lie inside the box (`ViewProbe.LeftOf` and the box's `Bounds`). The two glyphs are different instances;
+ both boxes' `Bounds` and `SizesOf(panel, message)` are unchanged (red at HEAD: `InnerRightContent` is null)
+ - red at HEAD: `InnerRightContent` was null on `AxisScaleMaximum`
+- [x] write `AValidBound_ShowsNoWarningGlyph`: on the opened panel `AxisScaleMaximum` has no `invalid` class and a
+ null `InnerRightContent`
+- [x] add the `UserControl.Styles` block as Technical Details states
+- [x] run `AxisScalePanelViewTests`: every case passes, the Task 1 tests and
+ `AnUnreadableEntry_IsMarkedAndEnterWritesNothing` included; note whether the resource fallback ran
+ - 71 passed, 0 failed (with `AxisScalePanelViewModelTests`). The resource fallback did not run:
+ `StaticResource WarningGeometry` resolves inside the flyout
+
+### Task 3: Remove the key the panel no longer reads
+
+**Files:**
+- Modify: `SemiPlot/SemiPlot.UI/Localization/Resources.resx`
+- Modify: `SemiPlot/SemiPlot.UI/Localization/Resources.ru.resx`
+
+- [x] confirm the guard first: `git grep -nE "Resources\.AxisScaleLogarithmic" -- SemiPlot` prints nothing after
+ Task 1
+- [x] delete the `AxisScaleLogarithmic` entry from both files (`:168-170` in each)
+- [x] run `ResourcesTests` and the full `SemiPlot.Tests.Unit`: every case passes
+ - `ResourcesTests` 11 passed; `SemiPlot.Tests.Unit` 2746 passed, 0 failed
+
+### Task 4: Verify acceptance criteria
+
+- [x] run the filtered command under Acceptance Evidence: 0 failed, every named test present (note the pass count)
+ - 82 passed, 0 failed; all 14 named tests present and passed, the three theories in both cultures
+- [x] run `dotnet test SemiPlot/SemiPlot.Tests.Unit/SemiPlot.Tests.Unit.csproj`: 0 failed
+ - 2746 passed, 0 failed
+- [x] run `dotnet build SemiPlot.slnx`: 0 errors and no warning beyond the two NU1902 for `MessagePack` 2.5.302 in
+ `SemiPlot.AppHost` that the base reports
+ - 0 errors; the only warning is NU1902 for `MessagePack` 2.5.302 in `SemiPlot.AppHost`
+- [x] set `$BASE` as Acceptance Evidence states
+ - `$BASE` is `9c2f74c`: `git merge-base --is-ancestor 9c2f74c HEAD` exits 0
+- [x] run `dotnet format SemiPlot.slnx --verify-no-changes`, then `dotnet tool restore` and `dotnet terse` over every
+ `.cs` file `git diff --name-only $BASE...HEAD` lists: both exit 0
+ - both exit 0; the one `.cs` file is `SemiPlot.Tests.Unit/UI/Chart/AxisScalePanelViewTests.cs`
+- [x] run the HeadlessInput gate, the key gate, the docs gate (after Task 5) and the two scope gates under
+ Acceptance Evidence: each prints what it must
+ - HeadlessInput gate: only `HeadlessInput.cs` lines; key gate: nothing; both scope gates: nothing
+ - ⚠️ docs gate: still prints `docs/architecture/ui-text.md:345`, the resource key in the prose Task 5
+ rewrites; Task 5 reruns it
+
+### Task 5: [Final] Update documentation
+
+- [x] `docs/architecture/ui-theme.md:223-225`: the pen editor's form and the axis scale panel carry the glyph, the
+ panel through its own `Grid#AxisScaleBounds TextBox.invalid` style; another form adopts it when it is next
+ touched. Name the gate `AxisScalePanelLayoutTests.AnInvalidBound_ShowsTheWarningGlyphInsideTheBoxWithoutResizing`
+- [x] `ui-theme.md:365-373`: the rows are the header, the bounds grid, the Scale type row (the label
+ `PenFormScaleTypeLabel` in the label column and the Logarithmic `CheckBox` in the field column), the two
+ buttons and the message line. Replace "The checkbox spans the panel from the left edge under the labels"
+ (`:370`) with: the box starts at the fields' left edge; the bounds grid and the Scale type grid share their
+ `Auto` label column through `SharedSizeGroup`, so the form has one label edge and one field edge
+ (`desktop-ui` Alignment); the box keeps its own grid outside `AxisScaleBounds`, so focus onto it ends the
+ pair's edit (`trend-interaction.md#the-axis-scale-panel`); the box is `HorizontalAlignment="Left"`, so only the
+ box and its text toggle the flag, and a click on the label or the empty right part of the row gives the panel
+ the keyboard. Name the gate
+ `AxisScalePanelLayoutTests.TheLogarithmicBox_StartsAtTheFieldEdge_UnderTheScaleTypeLabel` and the Inter guard
+ `TheScaleTypeRow_FitsThePanelInInter`. `:372`: "a refused Logarithmic click"
+- [x] `ui-theme.md:381-382`: the measured table predates this layout. Mark the field column row and the checkbox row
+ as measured before the Scale type row, and add the Inter widths Task 1 noted, labelled as Inter measurements;
+ the Skia and HarfBuzz re-measure is a Post-Completion check
+- [x] `docs/architecture/ui-text.md:336-337`: the panel also reads `PenFormScaleTypeLabel` and `PenFormLogarithmic`;
+ `:345-346`: the Scale type row reads `PenFormScaleTypeLabel` ("Scale type" / "Тип шкалы") and its box
+ `PenFormLogarithmic` ("Logarithmic" / "Логарифмическая"), the pen form's pair for the same setting;
+ `:236-238`: the axis scale panel reads the pen form's two scale type keys as the pen form reads its bound
+ labels
+- [x] `docs/architecture/trend-interaction.md:168`, `:385` and `docs/architecture/trend-feature-spec.md:77`: "the
+ Logarithmic checkbox" in place of "the Logarithmic scale checkbox"; `:385` keeps its rule (own row, outside
+ `AxisScaleBounds`) and adds that the row's label column is shared with the bounds grid
+- [x] if the shared-size fallback ran, state the `AxisScaleColumns` resource and its fixed width in `ui-theme.md`
+ instead of the shared group
+ - the fallback did not run (Task 1), so `ui-theme.md` states the shared group
+- [x] ➕ rerun the docs gate `git grep -n AxisScaleLogarithmic -- docs/architecture`: prints nothing
+- [x] move this plan to `docs/plans/completed/`
+
+## Post-Completion
+
+**Manual verification** in the running viewer (a press on the active pen's axis), in both languages and both
+theme variants:
+
+1. The Logarithmic box starts at the left edge of the Maximum and Minimum fields; "Scale type" / "Тип шкалы" starts
+ at the labels' edge.
+2. "Логарифмическая" fits on one line in the field column; nothing is trimmed and nothing passes the panel's right
+ edge.
+3. Tab from Minimum lands on the box and writes the pair; a click on the box switches the axis and the panel keeps
+ its size; a click on the "Scale type" label does not toggle the box.
+4. "1x" in Maximum shows the red border and the warning glyph inside the box; the panel keeps its size.
+5. Re-measure the panel with Skia and HarfBuzz on the Windows machine fonts, the 2026-10-16 method
+ (`ui-theme.md:375-376`), and replace the field column and checkbox rows of the table.
+
+**Remaining slices** of `docs/plans/roadmaps/20261102-visual-chore-roadmap.md`: ui-spacing-scale (every remaining
+inset onto the 4/8/12/16/24/32 scale, the `12,2` button padding with them). It depends on this slice
+(`20261102-visual-chore-roadmap.md:281`).
+
+**Executed by exec:**
+- branch: axis-scale-checkbox-column
+
+## Verify it yourself
+
+1. One left edge. Press the active pen's axis: the Logarithmic box starts where the Maximum and Minimum fields
+ start, under a "Scale type" / «Тип шкалы» label. At `export-pen-choice-list` the box starts at the labels' edge
+ (`AxisScalePanelLayoutTests.TheLogarithmicBox_StartsAtTheFieldEdge_UnderTheScaleTypeLabel`, en-US and ru-RU).
+2. Fit. «Логарифмическая» fits on one line and nothing passes the panel's right edge
+ (`TheScaleTypeRow_FitsThePanelInInter`).
+3. Hit area. A click on the label or beside the box leaves the flag and gives the panel the keyboard; a click on the
+ box switches the axis and the panel keeps its size
+ (`AClickOnTheScaleTypeLabelOrBesideTheBox_LeavesTheFlagAndGivesThePanelTheKeyboard`,
+ `AxisScalePanelViewTests.TheLogarithmicBox_SwitchesTheAxisAndKeepsThePanelOpenAtItsSize`).
+4. Glyph. "1x" in Maximum shows the red border and the warning glyph inside the box without resizing; "50" removes
+ both (`AnInvalidBound_ShowsTheWarningGlyphInsideTheBoxWithoutResizing`, `ABoundCorrected_DropsTheWarningGlyph`).
+ The pen editor's form keeps its glyph from the same shared style
+ (`PenFormPaneViewTests.AnInvalidField_ShowsTheWarningGlyphInsideTheBoxWithoutResizing`).
+5. The commit rules are unchanged: Tab between the bounds writes nothing until focus leaves the pair
+ (`TabbingBetweenTheBounds_WritesNothing_UntilFocusLeavesThePair`).
+
+Run all of it: the Acceptance Evidence command of this plan (84 passed, 0 failed on `c093478`).