Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic: Barchart Enhancements #59458

Open
7 of 15 tasks
codeincarnate opened this issue Nov 29, 2022 · 2 comments
Open
7 of 15 tasks

Epic: Barchart Enhancements #59458

codeincarnate opened this issue Nov 29, 2022 · 2 comments
Labels
area/panel/barchart type/epic Issue made of smaller issues

Comments

@mdvictor
Copy link
Contributor

mdvictor commented Jan 13, 2023

Added #61454 to the bug list

@GrzegorzLyp
Copy link

GrzegorzLyp commented Jan 30, 2023

Please add this. Screenshot from play.grafana.org. Same issue on 9.4.0pre. When You select not first element in legend then tooltips are not showing. When nothing is selected or first is selected tooltips are showing. Under the screenshot there is a panel json to reproduce.

image

{
  "id": 5,
  "gridPos": {
    "h": 7,
    "w": 16,
    "x": 0,
    "y": 18
  },
  "type": "barchart",
  "title": "client side full page load",
  "datasource": {
    "uid": "9cY0WtPMz",
    "type": "testdata"
  },
  "pluginVersion": "8.0.0-beta3",
  "links": [],
  "description": "",
  "fieldConfig": {
    "defaults": {
      "custom": {
        "lineWidth": 1,
        "fillOpacity": 80,
        "gradientMode": "none",
        "axisPlacement": "auto",
        "axisLabel": "",
        "axisColorMode": "text",
        "scaleDistribution": {
          "type": "linear"
        },
        "axisCenteredZero": false,
        "hideFrom": {
          "tooltip": false,
          "viz": false,
          "legend": false
        },
        "thresholdsStyle": {
          "mode": "off"
        }
      },
      "color": {
        "mode": "palette-classic"
      },
      "mappings": [],
      "thresholds": {
        "mode": "absolute",
        "steps": [
          {
            "color": "green",
            "value": null
          },
          {
            "color": "red",
            "value": 80
          }
        ]
      },
      "unit": "ms"
    },
    "overrides": [
      {
        "matcher": {
          "id": "byName",
          "options": "upper_25"
        },
        "properties": [
          {
            "id": "color",
            "value": {
              "fixedColor": "#F9E2D2",
              "mode": "fixed"
            }
          }
        ]
      },
      {
        "matcher": {
          "id": "byName",
          "options": "upper_50"
        },
        "properties": [
          {
            "id": "color",
            "value": {
              "fixedColor": "#F2C96D",
              "mode": "fixed"
            }
          }
        ]
      },
      {
        "matcher": {
          "id": "byName",
          "options": "upper_75"
        },
        "properties": [
          {
            "id": "color",
            "value": {
              "fixedColor": "#EAB839",
              "mode": "fixed"
            }
          }
        ]
      },
      {
        "__systemRef": "hideSeriesFrom",
        "matcher": {
          "id": "byNames",
          "options": {
            "mode": "exclude",
            "names": [
              "2000"
            ],
            "prefix": "All except:",
            "readOnly": true
          }
        },
        "properties": [
          {
            "id": "custom.hideFrom",
            "value": {
              "viz": true,
              "legend": false,
              "tooltip": false
            }
          }
        ]
      }
    ]
  },
  "targets": [
    {
      "scenarioId": "csv_file",
      "refId": "A",
      "datasource": {
        "type": "testdata",
        "uid": "9cY0WtPMz"
      },
      "csvFileName": "population_by_state.csv"
    }
  ],
  "options": {
    "orientation": "auto",
    "xTickLabelRotation": 0,
    "xTickLabelSpacing": 0,
    "showValue": "auto",
    "stacking": "normal",
    "groupWidth": 0.7,
    "barWidth": 0.97,
    "barRadius": 0,
    "tooltip": {
      "mode": "single",
      "sort": "none"
    },
    "legend": {
      "showLegend": true,
      "displayMode": "table",
      "placement": "right",
      "calcs": [
        "sum"
      ]
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/panel/barchart type/epic Issue made of smaller issues
Projects
None yet
Development

No branches or pull requests

3 participants