Can you explain a bit more what you mean with ‘print’ for me this is not entirely clear at the moment.
What exactly do you do? and what do you expect after ‘printing’?
Furthermore I have seen your panels and whil eI understand what you are trying to achieve i don’t see any the code and requirements from my guide. for e.g. start time and end time (not dates but actual time) are required to change the time in Grafana.
My suggestion follow the guide first and then tweak it with your own code
ps. There is also a part 2:
Plus a Grafana v11 version.