Skip to content

Commit

Permalink
Fix PlotLine and PlotBand Label not being set
Browse files Browse the repository at this point in the history
Without this the Labels don't work in webpack production mode.
  • Loading branch information
anajavi committed Sep 30, 2019
1 parent 9e3ccd2 commit abcdbbe
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ import PlotLine from './PlotLine';
import PlotBandLineLabel from './PlotBandLineLabel';
import usePlotBandLine from './UsePlotBandLine';

PlotBand.Label = PlotBandLineLabel;
PlotLine.Label = PlotBandLineLabel;
const ChartPlotBand = PlotBand;
ChartPlotBand.Label = PlotBandLineLabel;
const ChartPlotLine = PlotLine;
ChartPlotLine.Label = PlotBandLineLabel;

export { ChartPlotLine as PlotLine };
export { ChartPlotBand as PlotBand };

export { PlotLine };
export { PlotBand };
export { usePlotBandLine };

0 comments on commit abcdbbe

Please sign in to comment.