Getting dashboard variables in a panel's code

Hey, is there a way to get dashboard variables in a panel’s code?

Thanks!