简体   繁体   中英

Grafana heatmap: hide y-axis labels

I am creating a heatmap from 201 data fields coming from an Influx-DB. Currently, the result looks like this:

在此处输入图像描述

Is it possible to hide the y-axis tick-labels in this visualization? In the JSON I set show to false:

 "yAxis": {
    "decimals": null,
    "format": "short",
    "logBase": 1,
    "max": null,
    "min": null,
    "show": false,
    "splitFactor": null
  },

But this does not have the desired effect. If possible, I would like to switch off the grid lines too...

You can hide the Y-Axis Labels using the Alias by JSON field, writing a space into that field.

  "targets": [
    {
      "alias": "",

default Result

  "targets": [
    {
      "alias": " ",

result

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM