I am using Grafana 7.5.7
Not able to set min and max of my custom gauge plugin.
const field : Partial [Field] = {
type: FieldType.number,
config: {
thresholds: {
mode: ThresholdsMode.Percentage,
steps: [
{ value: -Infinity, color: ‘green’ },
{ value: 90, color: ‘red’ },
],
},
mappings: ,
color: {
mode: FieldColorModeId.Thresholds
},
min: 25,
max : 50,
},
};
By using the above code , I was able to set threshold values in my custom gauge plugin… But min and max values are not setting…
Can anyone guide me to set min and max fields of custom plugin?