-
What Grafana version and what operating system are you using?
Grafana v7.3.6 -
What are you trying to achieve?
I am trying to plot some series in points only and some series in line only. Also overrides the naming of some series. -
How are you trying to achieve it?
I edited series overrides the series within ‘Edit Panel’ -
What happened?
The overrides shows up correctly on the ‘Edit Panel’ page. But as soon as I exited, the overrides disappeared on the dashboard. -
What did you expect to happen?
I expect the Overrides to be carried over/ after exiting the Edit Panel page -
Can you copy/paste the configuration(s) that you are having problems with?
{
"aliasColors": {},
"dashLength": 10,
"datasource": "Local",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "price {exchange=\"binance\", record=\"trade\", side=\"buy\", strategy=\"MM\", sym=\"XXXYYY\"}"
},
"properties": [
{
"id": "displayName",
"value": "Buys"
}
]
},
{
"matcher": {
"id": "byName",
"options": "price {exchange=\"binance\", record=\"trade\", side=\"sell\", strategy=\"MM\", sym=\"XXXYYY\"}"
},
"properties": [
{
"id": "displayName",
"value": "Sells"
}
]
},
{
"matcher": {
"id": "byName",
"options": "mid {exchange=\"binance\", record=\"price\", sym=\"XXXYYY\"}"
},
"properties": [
{
"id": "displayName",
"value": "mid"
}
]
}
]
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 28
},
"id": 7,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"maxDataPoints": 999999,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"pluginVersion": "7.3.6",
"pointradius": 0.5,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:294",
"alias": "Buys",
"color": "#5794F2",
"lines": false,
"pointradius": 2,
"points": true
},
{
"$$hashKey": "object:295",
"alias": "Sells",
"color": "#F2495C",
"lines": false,
"pointradius": 2,
"points": true
}
],
"spaceLength": 10,
"steppedLine": true,
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "\r\nfrom(bucket: \"trading\")\r\n |> range(start: -15m, stop: now())\r\n |> filter(fn: (r) =>\r\n r._measurement == \"orderbook\" and\r\n r._field == \"mid\" and\r\n r.sym == \"XXXYYY\"\r\n )",
"queryType": "randomWalk",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "\r\nfrom(bucket: \"trading\")\r\n |> range(start: -15m, stop: now())\r\n |> filter(fn: (r) =>\r\n r._measurement == \"trades\" and\r\n r._field == \"price\" and\r\n r.side == \"buy\" and\r\n r.sym == \"XXXYYY\"\r\n )",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "\r\nfrom(bucket: \"trading\")\r\n |> range(start: -15m, stop: now())\r\n |> filter(fn: (r) =>\r\n r._measurement == \"trades\" and\r\n r._field == \"price\" and\r\n r.side == \"sell\" and\r\n r.sym == \"XXXYYY\"\r\n )",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeRegions": [],
"title": "XXXYYY-Binance",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:320",
"decimals": 5,
"format": "none",
"label": "",
"logBase": 1,
"max": "0.11",
"min": "0.05",
"show": true
},
{
"$$hashKey": "object:321",
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
},
"bars": false,
"dashes": false,
"fill": 0,
"fillGradient": 0,
"hiddenSeries": false,
"percentage": false,
"points": false,
"stack": false,
"timeFrom": null,
"timeShift": null
}
- Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
Not that I aware of - Did you follow any online instructions? If so, what is the URL?
https://localhost:3000/t/advanced-graphing-part1-style-overrides/207
Inside the Edit Panel
After Exiting the Panel and view on Dashboard