I am using a QSharedPointer<QCPGraphDataContainer> for storing my data. Up to now I used only Graph plots.
Now I want to plot also some bar charts.
Is there any possibility to overgive a QCPBars the same Data container ?
setData() seems to only accept a QCPBarsDataContainer and I don't want to copy all my Data over to a new container only for that.
If I compare the basic Storage Classes QCPBarsData () and QCPGraphData() they look quite similar so I ask myself weather there exists a possibility to use my original QCPGraphDataContainer also for bar plots.
Any ideas ?
Thanks in advance,