We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b535a01 commit 5a4d1d9Copy full SHA for 5a4d1d9
src/chart/bar/BarChart.tsx
@@ -272,7 +272,7 @@ const NeoBarChart = (props: ChartProps) => {
272
return { width: this.offsetWidth, height: this.offsetHeight };
273
};
274
275
- const extraProperties = positionLabel ? { barComponent: BarComponent } : {};
+ const extraProperties = positionLabel !== 'off' ? { barComponent: BarComponent } : {};
276
const canvas = data.length > 30;
277
const BarChartComponent = canvas ? ResponsiveBarCanvas : ResponsiveBar;
278
0 commit comments