In case of cyclic voltammetry one plots I vs. U obtained when voltage is changed as U=kt. We know that I=dQ/dt, and combining these two equations we get I=k*dQ/dU.
The charge-discharge curve is usually plotted as U vs. Q, but if you exchange the axes and differentiate the obtained plot, you will again get dQ/dU vs. U.
However, it is necessary to take into account that the charging conditions are different: in the first case the voltage increases linearly with time and in the second case this happens with charge. So two obtained dQ/dU vs. U curves will not be exactly the same: some parts will be stretched and some parts will be shrinked. But the peaks should be more or less the same and have more or less the same positions.