Is there any way to set an upper or lower bound of an axis on a chart in the reporting module to a data source key? I have a tag I would like the upper bound of the axis to look at.
This should be possible through the configureChart
extension function, but wouldn’t be doable through direct bindings.
I don’t have a ready example of what you would have to do, but it’d be something like:
chart.plot.rangeAxis.setRange(lower, upper)
Where lower
and upper
could be either directly read tags, or, better, report input parameters.
Thanks for the that, I found the exact function from that code snippet.