mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-21 23:42:03 +00:00
fix: make it work in 6.7 and 7.0+
This commit is contained in:
Vendored
+7
-8
@@ -379,15 +379,14 @@ System.register(["lodash", "jquery", "d3", "./libs/d3-scale-chromatic/index", "a
|
||||
} else {
|
||||
rangeFrom = 0;
|
||||
}
|
||||
}
|
||||
} // console.log("legend state:", {
|
||||
// rangeFrom: rangeFrom,
|
||||
// rangeTo: rangeTo,
|
||||
// maxValue: maxValue,
|
||||
// minValue: minValue,
|
||||
// colorMode: panel.color.mode
|
||||
// });
|
||||
|
||||
console.log("legent state:", {
|
||||
rangeFrom: rangeFrom,
|
||||
rangeTo: rangeTo,
|
||||
maxValue: maxValue,
|
||||
minValue: minValue,
|
||||
colorMode: panel.color.mode
|
||||
});
|
||||
|
||||
if (panel.color.mode === 'spectrum') {
|
||||
var colorScheme = _.find(ctrl.colorSchemes, {
|
||||
|
||||
Reference in New Issue
Block a user