Add initial support for multiquery in histogram panel