My task is to create one report that will be used for several devices.
I have created a report and I am passing in a parameter called ‘tagName’ to switch between the device tag structures.
I am populating a timeseries chart with 2 historical tags. Using a script data source, I can switch between the historical tags and write it to the “bandwidth” key.
In the screenshot above, the range key has been populated using the default value of the deviceName tag. The issue is that this Range Key will only work with one of my devices. I want to make it “devices[‘deviceName’]ratedown_”. How do I make the Range Key dynamic? I have looked at scripting and the JFreeChart but I don’t know where to start. Any help would be most welcome.