mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-22 15:53:09 +00:00
fix: calculate cardWidth over max datapoints for target
- correct render of inconsistent timestamps between targets
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ let mod = angular.module('grafana.directives');
|
||||
const LEGEND_STEP_WIDTH = 2;
|
||||
|
||||
/**
|
||||
* Color legend for heatmap editor.
|
||||
* Bigger color legend for opacity and spectrum modes editor.
|
||||
*/
|
||||
mod.directive('optionsColorLegend', function() {
|
||||
return {
|
||||
@@ -45,7 +45,7 @@ mod.directive('optionsColorLegend', function() {
|
||||
});
|
||||
|
||||
/**
|
||||
* Heatmap legend with scale values.
|
||||
* Graph legend with values.
|
||||
*/
|
||||
mod.directive('statusHeatmapLegend', function() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user