Make visualisation use filter parameters in data queries