How to get All values of grafana variable in script section of plotly panel in grafana

Hi I have to fetch all the values of grafana variable in script section of plotly panel as shown in image below. Right now in variable.test1 i am getting “ALL” and if i select any value from test1 dropdown then i am getting that value here.
But I need All values of test1 variable while selecting all from dropdown.