I am using a line graph to show a trend in license usage. This data is retrieved with a script and is written to the SCOM database.
When I render this data in SquaredUp using a line graph it shows the data as a float instead of an integer, which is weird since I only write integer values to the database. This gives the weird values as seen in the below screenshot.
We have a total of 75 licenses for this product, not 74.56.
Is there a way to force the graph to show integers instead of floats?
This is the code for this tile:
{
"_type": "tile/scomperf-as-line-graph",
"config": {
"context": {
"scope": {
"classId": "",
"groupId": "220...de1",
"criteria": ""
}
},
"source": {
"aggregateValueType": "average",
"resolution": "auto",
"timeframe": {
"type": "inherit"
},
"topn": 10,
"customMetricLabel": true,
"metricLabel": "",
"objectname": "XXXYYYZZZ",
"countername": "XYZ Licenses",
"instancename": "XYZ | Available Licenses, XYZ | Used Licenses"
},
"display": {
"range": "zero-fit",
"height": 200,
"label": "custom",
"showKey": true,
"customLabel": "{{key.instance.replace(\"XYZ | \",\"\")}}",
"enablePointDetails": true
}
},
"description": "Refresh rate: 5 min",
"title": "XYZ"
}