diff --git a/src/LineChart/index.tsx b/src/LineChart/index.tsx index 6aa57c7..e06cb22 100644 --- a/src/LineChart/index.tsx +++ b/src/LineChart/index.tsx @@ -560,7 +560,7 @@ export const LineChart = (props: LineChartPropsType) => { rotateLabel && {transform: [{rotate: '60deg'}]}, ]}> {labelComponent ? ( - labelComponent() + labelComponent(label) ) : ( { rotateLabel && {transform: [{rotate: '60deg'}]}, ]}> {labelComponent ? ( - labelComponent() + labelComponent(label) ) : (