Gauge chart in the Profile view
Learn more about the gauge chart in the Profile view .
A gauge chart displays a single value within a predefined range, typically represented as a semi-circular gauge with a needle pointing to the relevant value. You've likely seen these in common use cases, such as tracking sales targets or checking internet speed.
The Profile view in Hub hosts gauge charts that can be configured based on your requirements. For example, you can configure your chart to view the financial credit score of your customers or vendors.
Here's a sample gauge chart in the Profile view:
Notice the gauge chart that shows the credit score for the entity.
So, how do you do this? Edit your UI JSON configuration file to include the required configuration.
Here's an example configuration for the gauge chart:
{
"id": "com.reltio.plugins.GaugeView",
"class": "com.reltio.plugins.entity.GaugeView",
"caption": "Caption",
"label": "test label",
"point": "com.reltio.plugins.ui.view"
"attributeUri": "configuration/entityTypes/HCP/attributes/Int",
"ranges": [
{
"color": "rgb(219, 78, 32)",
"value": 100
},
{
"color": "rgb(182, 232, 19)",
"value": 100
}
]
},