You're very welcome! I see your point, conditional rendering seems like a valid use-case to me. I would recommend approach 1️⃣, simply running the execution "beforehand" and making the decision whether to render the chart or not.
There will be two executions happening, but assuming the payload will be the same, our platform will compute the first one, and use a cached result for the second one (provided it was decided to render the chart), so the performance should not be affected by a lot.