mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Fixes #109 - Legend colors could be clearer.
Tweaked some colors and line styles to improve readability.
This commit is contained in:
parent
8e72626f79
commit
696af857d9
@ -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',
|
||||
|
@ -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'
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user