Unverified Commit af16a31d authored by Alan Mitchell's avatar Alan Mitchell Committed by GitHub

Merge pull request #86 from iseralaska/timeseries_config_key_fix

Remove unnecessary timeseries chart key deletion for charts with > 20 sensors
parents fcf0c632 3ebeca08
......@@ -87,7 +87,6 @@ class TimeSeries(basechart.BaseChart):
# If there there are more than 20 sensors, hide the legend
if len(sensor_list) > 20:
opt['layout']['showlegend'] = False
del opt['layout']['margin']['b']
opt['layout']['xaxis']['title'] = "Date/Time (%s)" % self.timezone
opt['layout']['xaxis']['type'] = 'date'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment