Skip to content

Commit

Permalink
Fix getBarLabel return undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas committed May 15, 2024
1 parent 5953014 commit aa88f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-charts/src/BarChart/BarLabel/getBarLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const getBarLabel = (options: {
seriesId: SeriesId;
height: number;
width: number;
}): string | null => {
}): string | null | undefined => {
const { barLabel, value, dataIndex, seriesId, height, width } = options;

if (barLabel === 'value') {
Expand Down

0 comments on commit aa88f54

Please sign in to comment.