P26:标签按"标签列"1:1 落到记录、窗口、元素、文本四处(规范 §35)
- XChartColumnMath 补标签半边(LabelCount / LabelSlotOf / DefinitionOfLabelSlot / SizedLabels),
记录的标签长度只由这一处定;TryAddRecord 在 labels 长度≠标签列数时整条拒收
- 导入按标签字段个数校验并点名行号;记录行少到连时间戳都没有时点名拒绝(不再抛异常)
- 数据窗口:一个显示序两个读者(标签列在前),格子身份 CellRef{IsLabel,Slot},
标签格走 TrySetLabel 的字符串分支,「+标签」走 SetDimensions 这唯一定长路径
- 新标签元素 ChartToolLabels + XChartLabelConfig:13 旋钮全自动置脏、位置/折法同散点、
文本走池且多余槽位必须擦、锚点与对齐出自同一张表(anchorMin/Max 不写)
- 面板把"要几个标签列、表里有几个"与数值维、记录数一起印(§25.1 第三半 RequiredLabelColumns)
- 探针先红的两个真缺陷:SizedLabels(null,n) 补 null 不是空串;锚点表漏 MiddleRight 与 Center 重合
- 雷达 AddSeries 带系列名,两个 SetDimensions 重载都声明 series 标签列(否则新门口整条拒收)
- 判据:探针 492/0、label_gate 15 claim/15 臂全红、dirty_gate 149/149、slot_reset PASS、
编译门三臂+3 对照绿(source present 点名四个新文件)、p4_control 78 支各红在点名断言
(同一棵树指纹 478727e6748c67cddda40995874b20968e9eae3706f2a21c24726d3412059747)
This commit is contained in:
@@ -114,6 +114,13 @@ namespace XericUI.XChart
|
||||
/// </summary>
|
||||
public virtual int RequiredRecordCount => 0;
|
||||
|
||||
/// <summary>
|
||||
/// 这个元素要<b>几个标签列</b>才画得出来(0=不需要)。标签元素读的是那一列在每一行上的那一格:
|
||||
/// 表里没有标签列时它一条都不画,而这在画面上和"没数据"长得一模一样——所以"要几个、表里有几个"
|
||||
/// 必须和数值维、记录数一起印出来(§25.1 的第三半)。
|
||||
/// </summary>
|
||||
public virtual int RequiredLabelColumns => 0;
|
||||
|
||||
/// <summary>
|
||||
/// 互斥显示:<paramref name="fieldName"/> 这个字段在当前配置下要不要从面板上<b>藏掉</b>。
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user