mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed #360 - Hidden series are not removed from the tooltip on the Sensor Detail chart
This commit is contained in:
parent
7cce297a04
commit
4394f38bb6
@ -194,7 +194,10 @@ beestat.component.chart.runtime_sensor_detail_temperature.prototype.get_options_
|
||||
|
||||
var occupancy = {};
|
||||
self.get_chart().series.forEach(function(series) {
|
||||
if (series.name.substring(0, 12) === 'temperature_') {
|
||||
if (
|
||||
series.name.substring(0, 12) === 'temperature_' &&
|
||||
visible_series.includes(series.name) === true
|
||||
) {
|
||||
points.push({
|
||||
'series_code': series.name,
|
||||
'value': self.data_.metadata.series[series.name].data[x.valueOf()],
|
||||
|
Loading…
x
Reference in New Issue
Block a user