From 4c89c8c4682d306572386a85d583bb09e951ecc8 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Fri, 1 Apr 2022 13:54:16 -0700 Subject: [PATCH] Heatmap: make x axis a time field (#47168) --- public/app/plugins/panel/heatmap-new/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/plugins/panel/heatmap-new/utils.ts b/public/app/plugins/panel/heatmap-new/utils.ts index caca5fc1dc0..82c3084cb3e 100644 --- a/public/app/plugins/panel/heatmap-new/utils.ts +++ b/public/app/plugins/panel/heatmap-new/utils.ts @@ -126,6 +126,7 @@ export function prepConfig(opts: PrepConfigOpts) { builder.addAxis({ scaleKey: 'x', placement: AxisPlacement.Bottom, + isTime: true, theme: theme, });