Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ffb5cdb9c |
@@ -133,3 +133,5 @@
|
||||
- 更新中的旧范围结果不能钻取、查看明细或导出;区域独立重试。任务使用真实阶段,写入即时忙碌并防重复,不显示虚构百分比或新增常驻说明。
|
||||
- 返回页面保留筛选、页码、滚动位置及表格高度;隐藏页面和未选管理页签不主动刷新。业务分页、全范围搜索排序和导出不变。
|
||||
- 实现与验证详见 docs/全系统统一加载实现与验收_20261102.md。
|
||||
|
||||
- 2026-11-02:趋势折线使用用户选定的 A 轻度平滑(0.15),沿横轴约束曲线;查询合格率、不良率、智能分析与导出统一。柏拉图累计线保持直线,数据点、缺失断点和计算口径不变。
|
||||
|
||||
@@ -1305,7 +1305,7 @@ export function TrendChart({ rows, mode, stage, rateBasis, targetRate, selectedP
|
||||
xAxis: { type: 'category', data: labels, triggerEvent: true, axisLine: { lineStyle: { color: line } }, axisLabel: { color: ink, fontFamily, fontSize, margin: 12 }, axisTick: { show: false } },
|
||||
};
|
||||
let option: echarts.EChartsCoreOption;
|
||||
const pointStyle = { z: 10, symbol: 'circle', symbolSize: 5, showSymbol: true, emphasis: { focus: 'none' as const, scale: 1.35 }, connectNulls: false };
|
||||
const pointStyle = { smooth: 0.15, smoothMonotone: 'x' as const, z: 10, symbol: 'circle', symbolSize: 5, showSymbol: true, emphasis: { focus: 'none' as const, scale: 1.35 }, connectNulls: false };
|
||||
if (mode === 'production') {
|
||||
const rates = [...rows.flatMap(row => [visibleCompositeRate(row, rateBasis), visibleStageRate(row, 'black'), visibleStageRate(row, 'bright', rateBasis)]).filter((value): value is number => value != null).map(value => value * 100), ...(targetRate == null ? [] : [targetRate])];
|
||||
const minRate = rates.length ? Math.max(0, Math.floor(Math.min(...rates) - 2)) : 0;
|
||||
|
||||
@@ -892,7 +892,8 @@ export function buildAnalysisVisualOption(visual: AnalysisVisual, theme: VisualC
|
||||
}),
|
||||
itemStyle: { color: colors[seriesIndex % colors.length] },
|
||||
connectNulls: false,
|
||||
smooth: false,
|
||||
smooth: ['line', 'area'].includes(visual.type) ? 0.15 : false,
|
||||
smoothMonotone: 'x',
|
||||
...(['bar', 'column'].includes(visual.type) ? {
|
||||
barMaxWidth: combinedDefects ? 18 : 32,
|
||||
...(combinedDefects ? { stack: 'combined-defect-stage', barWidth: 18 } : {}),
|
||||
|
||||
Reference in New Issue
Block a user