How to change a dashboard variable value from a plugin?

@ranmeizi The only way to fetch data again from the data source is to render panel, which happens when you update variables.

You may look into Streaming data sources or create a custom panel to fetch data from the data source directly.