diff --git a/src/pages/Index/index.tsx b/src/pages/Index/index.tsx index 2429784..89b5edd 100644 --- a/src/pages/Index/index.tsx +++ b/src/pages/Index/index.tsx @@ -34,9 +34,23 @@ const Index: React.FC = () => { xField: 'date', yField: 'count', smooth: true, // 平滑曲线 - point: { size: 4, shape: 'circle' }, // 小圆点 - tooltip: { showMarkers: true }, - height: 300, + height: 380, + point: { + shape: 'circle', + size: 4, + }, + tooltip: { + title: 'date', + items: [ + { + channel: 'y', + name: '用户注册数', + }, + ], + }, + style: { + lineWidth: 2, + }, }; return ( @@ -164,17 +178,17 @@ const Index: React.FC = () => {