You may be able to build something like this on top of a Qwt graph widget.