Skip to content

Commit 35def63

Browse files
committed
fix(chat): fix line chart label error
1 parent 4477783 commit 35def63

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/views/chat/component/charts

1 file changed

+1
-1
lines changed

frontend/src/views/chat/component/charts/Line.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class Line extends BaseG2Chart {
2828
})
2929

3030
this.chart?.line().label({
31-
text: 'value',
31+
text: y[0].value,
3232
style: {
3333
dx: -10,
3434
dy: -12,

0 commit comments

Comments
 (0)