diff --git a/js/component/card/aggregate_runtime.js b/js/component/card/aggregate_runtime.js index c03a0e0..2a3d40c 100644 --- a/js/component/card/aggregate_runtime.js +++ b/js/component/card/aggregate_runtime.js @@ -299,7 +299,7 @@ beestat.component.card.aggregate_runtime.prototype.decorate_contents_ = function this.chart_.options.series.push({ 'name': beestat.series.outdoor_temperature.name, 'data': series.outdoor_temperature.chart_data, - 'color': beestat.style.color.blue.light, + 'color': beestat.series.outdoor_temperature.color, 'type': 'spline', 'yAxis': 1, 'dashStyle': 'ShortDash', diff --git a/js/component/card/recent_activity.js b/js/component/card/recent_activity.js index 2b3c1b1..e1cd902 100644 --- a/js/component/card/recent_activity.js +++ b/js/component/card/recent_activity.js @@ -559,6 +559,7 @@ beestat.component.card.recent_activity.prototype.decorate_contents_ = function(p }); this.chart_.options.series.push({ + 'color': beestat.series.outdoor_temperature.color, 'data': series.outdoor_temperature.chart_data, 'zones': beestat.component.chart.get_outdoor_temperature_zones(), 'yAxis': 0, @@ -585,14 +586,12 @@ beestat.component.card.recent_activity.prototype.decorate_contents_ = function(p 'type': 'line', 'color': beestat.series.setpoint_heat.color, 'lineWidth': 1, - 'dashStyle': 'ShortDash', 'states': {'hover': {'lineWidthPlus': 0}}, 'step': 'right' }); this.chart_.options.series.push({ 'data': series.setpoint_cool.chart_data, - 'linkedTo': 'setpoint_heat', 'yAxis': 0, 'marker': { 'enabled': false, @@ -602,7 +601,6 @@ beestat.component.card.recent_activity.prototype.decorate_contents_ = function(p 'type': 'line', 'color': beestat.series.setpoint_cool.color, 'lineWidth': 1, - 'dashStyle': 'ShortDash', 'states': {'hover': {'lineWidthPlus': 0}}, 'step': 'right' });