Is it possible to use an expression to only show labels when they are over a certain x value or y value, i.e. using {valueX} inside an expression?
current json below (without expression)
[
{
“enabled”: true,
“render”: “label”,
“width”: 1,
“height”: 1,
“label”: {
“text”: “{valueX}”,
“position”: {
“dx”: 1,
“dy”: -5
}
},
“tooltip”: {
“enabled”: true,
“text”: “{name}: [bold]{valueY}[/]”,
“cornerRadius”: 3,
“pointerLength”: 4,
“background”: {
“color”: “”,
“opacity”: 1
}
},
“fill”: {
“color”: “”,
“opacity”: 1
},
“stroke”: {
“color”: “”,
“width”: 1,
“opacity”: 1
},
“rotation”: 0,
“deriveFieldsFromData”: {
“fill”: {
“color”: “”,
“opacity”: “”
},
“stroke”: {
“color”: “”,
“opacity”: “”,
“width”: “”
},
“rotation”: “”
},
“heatRules”: {
“enabled”: false,
“max”: 100,
“min”: 2,
“dataField”: “”
}
}
]