Graphic above select box

hello everybody! I’m struggling to leave a chart above the pre selected boxes. When I put the graphic above the selectbox, the app complains about not having data to generate the chart in the main() function. But if I pass manually the data, it become static, no changes (of course) even if I change the option selected.
Any suggestions?
Thank you!!

As per my understanding of the problem that you mentioned, you want to show the chart for which data inputs are placed below the chart.



Thank you very much, @Venkatesh !