diff --git a/CHANGELOG.md b/CHANGELOG.md index e5fc7d34398dcb9a2918e897426711764cac0f97..bfd44c8e45616f2d9be4eb4f7c4dbc0b7f3a65a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Daily statistical data will now appear under the parameter selection list. - Data tables accordion shows a table for a secondary instantaneous value parameter data when a second parameter (that has data) is selected. - Retrieve data controls now show a radio button for secondary parameter data when appropriate. +- Title, legend and time series data line will now show for a secondary parameter, if selected. ### Changed - Data download component was converted to Vue. diff --git a/assets/src/scripts/monitoring-location/components/daily-value-hydrograph/time-series-graph.js b/assets/src/scripts/monitoring-location/components/daily-value-hydrograph/time-series-graph.js index f48d112d9aa27de1eb103e64f7e453506ff2da23..c5b4f860df9c670259af2061ebb8776b017604dc 100644 --- a/assets/src/scripts/monitoring-location/components/daily-value-hydrograph/time-series-graph.js +++ b/assets/src/scripts/monitoring-location/components/daily-value-hydrograph/time-series-graph.js @@ -171,9 +171,9 @@ export const drawTimeSeriesGraph = function(elem, store) { .call(link(store, (elem, layout) => elem.attr('transform', `translate(${layout.margin.left},${layout.margin.top})`), getMainLayout)) .call(link(store, appendAxes, createStructuredSelector({ xAxis: getXAxis(), - yAxis: getYAxis(), + primaryYAxis: getYAxis(), layout: getMainLayout, - yTitle: getCurrentTimeSeriesYTitle + primaryYTitle: getCurrentTimeSeriesYTitle }))) .call(link(store, drawDataSegments, createStructuredSelector({ segments: getCurrentTimeSeriesSegments,