mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* heatmap: fix converting error when series contains 0 and log scale is selected, issue #8884 * heatmap: fix app crash when Y min set to 0 with log scale * heatmap: fix tooltip for 'zero' buckets in log scale * heatmap: fix tooltip histogram for log scales * heatmap: fix flicker of the highlighted element this was caused by too often fired mouseenter/mouseleave events * heatmap: fix missing X axis option for log scales * heatmap: fix missing zero bucket in tooltip histogram
49 lines
752 B
SCSS
49 lines
752 B
SCSS
.heatmap-canvas-wrapper {
|
|
// position: relative;
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.heatmap-panel {
|
|
position: relative;
|
|
|
|
.axis .tick {
|
|
text {
|
|
fill: $text-color;
|
|
color: $text-color;
|
|
font-size: $font-size-sm;
|
|
}
|
|
|
|
line {
|
|
opacity: 0.4;
|
|
stroke: $text-color-weak;
|
|
}
|
|
}
|
|
|
|
// This hack prevents mouseenter/mouseleave events get fired too often
|
|
svg {
|
|
pointer-events: none;
|
|
|
|
rect {
|
|
pointer-events: visiblePainted;
|
|
}
|
|
}
|
|
}
|
|
|
|
.heatmap-tooltip {
|
|
white-space: nowrap;
|
|
font-size: $font-size-sm;
|
|
background-color: $graph-tooltip-bg;
|
|
color: $text-color;
|
|
}
|
|
|
|
.heatmap-histogram rect {
|
|
fill: $text-color-weak;
|
|
}
|
|
|
|
.heatmap-crosshair {
|
|
line {
|
|
stroke: darken($red,15%);
|
|
stroke-width: 1;
|
|
}
|
|
}
|