I would like to know if the approach of obtaining a target value for each item in the dataset is on the radar.
Currently, only one config JSON is used for all the datasets present, which limits the use of this graph.
For this to work, I need to pass a single config to the component, selecting a global target... in other words, in terms of usability, this breaks a correct KPI.
Using a javascript map, I can create a config and a dataset for each object in the array, but I can't use the respective config.
I would like to know if the approach of obtaining a target value for each item in the dataset is on the radar. Currently, only one config JSON is used for all the datasets present, which limits the use of this graph.
Example:
For this to work, I need to pass a single config to the component, selecting a global target... in other words, in terms of usability, this breaks a correct KPI.
Using a javascript map, I can create a config and a dataset for each object in the array, but I can't use the respective config.
But for it to work, I need to change the return code to return the first item in the index:
So all the items in the dataset will have the same config and respectively the same target.