Generate graphs for active triggers only

Hi All,

i m using Zabbix 3.0 and we want to implement Grafana for its Dashboard.
We have a requirement to have a dashboard that displays graphs only for active triggers i.e if the triggers are active then show the graph else no.

Is there any way to achieve this.

can a graph panel value be changed based on values of Trigger panel ?

Thanks,
Raza