mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed lost tooltip on Temperature Profiles from #244
This commit is contained in:
parent
2efcb60fcc
commit
ef2ba2427a
@ -387,12 +387,7 @@ beestat.component.chart.prototype.get_options_xAxis_ = function() {
|
||||
},
|
||||
'formatter': this.get_options_xAxis_labels_formatter_()
|
||||
},
|
||||
'crosshair': {
|
||||
'width': this.get_options_xAxis_crosshair_width_(),
|
||||
'zIndex': 100,
|
||||
'color': 'rgba(255, 255, 255, 0.2)',
|
||||
'snap': this.get_options_xAxis_crosshair_snap_()
|
||||
},
|
||||
'crosshair': this.get_options_xAxis_crosshair_(),
|
||||
'events': {
|
||||
'afterSetExtremes': function() {
|
||||
self.dispatchEvent('after_set_extremes');
|
||||
@ -401,6 +396,20 @@ beestat.component.chart.prototype.get_options_xAxis_ = function() {
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the crosshair.
|
||||
*
|
||||
* @return {object} The crosshair.
|
||||
*/
|
||||
beestat.component.chart.prototype.get_options_xAxis_crosshair_ = function() {
|
||||
return {
|
||||
'width': this.get_options_xAxis_crosshair_width_(),
|
||||
'zIndex': 100,
|
||||
'color': 'rgba(255, 255, 255, 0.2)',
|
||||
'snap': this.get_options_xAxis_crosshair_snap_()
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the crosshair width.
|
||||
*
|
||||
|
@ -244,6 +244,7 @@ beestat.component.chart.temperature_profiles.prototype.get_options_xAxis_ = func
|
||||
},
|
||||
'formatter': this.get_options_xAxis_labels_formatter_()
|
||||
},
|
||||
'crosshair': this.get_options_xAxis_crosshair_(),
|
||||
'plotLines': [
|
||||
{
|
||||
'color': beestat.series.outdoor_temperature.color,
|
||||
|
Loading…
x
Reference in New Issue
Block a user