fix(图表): 修复折线图子维度为日期时图例显示和提示不一致

This commit is contained in:
wisonic-s
2026-04-13 18:52:35 +08:00
committed by wisonic-s
parent 4656329f91
commit c94355f8da

View File

@@ -92,6 +92,11 @@ export class Line extends G2PlotChartView<LineOptions, G2Line> {
yField: 'value',
seriesField: 'category',
appendPadding: getPadding(chart),
meta: {
category: {
type: 'cat'
}
},
color,
interactions: [
{