diff --git a/src/page/Component/LineChartRight/chart.config.ts b/src/page/Component/LineChartRight/chart.config.ts index 7dd7a11..f7fc486 100644 --- a/src/page/Component/LineChartRight/chart.config.ts +++ b/src/page/Component/LineChartRight/chart.config.ts @@ -80,6 +80,11 @@ export default function getOptions(tempData: any) { symbol: "circle", symbolSize: 4, data: tempData.input, + label: { + show: true, + position: 'top', + color:'inherit' + }, }, { name: "产出", @@ -87,6 +92,11 @@ export default function getOptions(tempData: any) { symbol: "circle", symbolSize: 4, data: tempData.output, + label: { + show: true, + position: 'top', + color:'inherit' + }, }, ], tooltip: {