Starting at grafana 7.1, Flux is supported directly in grafana. See:
https://grafana.com/docs/grafana/latest/features/datasources/influxdb/#using-influxdb-in-grafana
and
https://www.influxdata.com/blog/how-grafana-dashboard-influxdb-flux-influxql/
The 7+ version of this plugin will be archived, and will revert to the previous frontend only 5x option.