fix: calculate cardWidth over max datapoints for target

- correct render of inconsistent timestamps between targets
This commit is contained in:
Ivan Mikheykin
2019-03-05 15:47:43 +03:00
parent 27b674640b
commit 51623fdc72
9 changed files with 43 additions and 35 deletions
+2 -2
View File
@@ -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 {