diff --git a/src/widget/widget-plot/plot-legend.js b/src/widget/widget-plot/plot-legend.js index 1ada30d..4dd7459 100644 --- a/src/widget/widget-plot/plot-legend.js +++ b/src/widget/widget-plot/plot-legend.js @@ -20,7 +20,7 @@ import { scaleOrdinal} from 'd3-scale'; import {schemeCategory10} from 'd3-scale-chromatic' function Legend(props){ - + const signal = props.sig; const hasScalingFactor = (signal.scalingFactor !== 1); @@ -52,10 +52,15 @@ class PlotLegend extends React.Component { return