I'm creating an open source application and have quite a few graphs in my software all working lovely. (https://imgur.com/a/bnLh30r)

I'm just refactoring some stuff and have been looking through the documentation and the QCPAbstractPlottable1D template class looks interesting.

Am I correct in thinking that this can be used as a custom data container?

Basically, I'm wondering if I can use this (or maybe a different class) to store a custom data point which is a class that I can store more than just a single value in, so for example I could store jitter and other information and select which is the value that it plotted on the graph?

I can't find any examples of this class. I find examples much more useful than documentation generally as they're obviously much more explicit in what needs to be done.