diff --git a/assets/src/scripts/components/dailyValueHydrograph/legend.js b/assets/src/scripts/components/dailyValueHydrograph/legend.js index a094cf05b7bb9199a516a7f7f5e1bf8fa7d136ef..4c31c686baaf4db83dfa399fa75e6bb17c3301ed 100644 --- a/assets/src/scripts/components/dailyValueHydrograph/legend.js +++ b/assets/src/scripts/components/dailyValueHydrograph/legend.js @@ -1,7 +1,6 @@ // functions to facilitate DV legend creation for a d3 plot import {createStructuredSelector} from 'reselect'; -import {defineLineMarker} from '../../d3-rendering/markers'; import {getLayout} from './selectors/layout'; import {getLegendMarkerRows} from './selectors/legend-data'; diff --git a/assets/src/scripts/components/dailyValueHydrograph/selectors/legend-data.js b/assets/src/scripts/components/dailyValueHydrograph/selectors/legend-data.js index c132a76d09a92970133352e31fbc08b225656938..0496cae942454e9746400485f91fcbae8f493166 100644 --- a/assets/src/scripts/components/dailyValueHydrograph/selectors/legend-data.js +++ b/assets/src/scripts/components/dailyValueHydrograph/selectors/legend-data.js @@ -7,13 +7,13 @@ const tsLineMarkers = function(lineClasses) { let result = []; if (lineClasses.default) { - result.push(defineLineMarker(null, `line-segment ts-dv`, 'Provisional')); + result.push(defineLineMarker(null, 'line-segment ts-dv', 'Provisional')); } if (lineClasses.approved) { - result.push(defineLineMarker(null, `line-segment approved ts-dv`, 'Approved')); + result.push(defineLineMarker(null, 'line-segment approved ts-dv', 'Approved')); } if (lineClasses.estimated) { - result.push(defineLineMarker(null, `line-segment estimated ts-dv`, 'Estimated')); + result.push(defineLineMarker(null, 'line-segment estimated ts-dv', 'Estimated')); } return result; }; @@ -69,6 +69,6 @@ export const getUniqueClasses = createSelector( export const getLegendMarkerRows = createSelector( getUniqueClasses, displayItems => { - return createLegendMarkers(displayItems) + return createLegendMarkers(displayItems); } ); \ No newline at end of file