mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add series override option to hide tooltip (#12378)
* add series override option to hide tooltip * fix test * invert option * fix test * remove initialization
This commit is contained in:
committed by
Torkel Ödegaard
parent
a8976f6c36
commit
04fcd2a054
@@ -76,6 +76,7 @@ export default class TimeSeries {
|
||||
valueFormater: any;
|
||||
stats: any;
|
||||
legend: boolean;
|
||||
hideTooltip: boolean;
|
||||
allIsNull: boolean;
|
||||
allIsZero: boolean;
|
||||
decimals: number;
|
||||
@@ -181,6 +182,9 @@ export default class TimeSeries {
|
||||
if (override.legend !== void 0) {
|
||||
this.legend = override.legend;
|
||||
}
|
||||
if (override.hideTooltip !== void 0) {
|
||||
this.hideTooltip = override.hideTooltip;
|
||||
}
|
||||
|
||||
if (override.yaxis !== void 0) {
|
||||
this.yaxis = override.yaxis;
|
||||
|
||||
Reference in New Issue
Block a user