I have a Sparkline in a view that I'm using as a template for a reservoir. the idea is to drop the UDT into the view, then pull 24 hours of level data for the sparkline - the problem is that when I'm binding to Tag History, I don't see a way to get the path for the dropped object. As a work around I've created a parameter on the UTD "PathToLevel", then I edit each instance. It works but it's really not a good solution. Anyone have a better way to do this?
in the template view with the sparkline chart, view.props.dropConfig
has the ability to pass the dropped tag path into a property value. You can use that to then bind the history to in the sparkline
1 Like
Sorry, new to Ignition. How do I pass the dropped tag path?
https://docs.inductiveautomation.com/display/DOC81/Drop+Configuration
This might help. The action
should be set to 'path'