Issue with Data Source Selection in Custom Grafana Plugin

Hi everyone!
I’m developing a custom panel plugin for Grafana using OSIsoft PI as a data source. By default, Grafana retrieves attribute values from the RecordedData key. However, I need to extract values from the EnumerationValues key instead.
How can I configure the plugin to allow users to choose which key to retrieve data from — such as RecordedData, EnumerationValues, or another one?

Hi @maxymzakharkiv it’ll be best if you can provide an example of the kind of code you are writing and maybe some github repository to test it.

it is unlikely anyone will have this very specific answer for you, if you setup a testing repository for someone to take a look maybe you can get help.