-----□-----------

| | |
| ○ | □ resistor
| | □ -
| _____ | _ : DC power
| _____ | supply
- | | ○ :ammeter
_ | | ___
|_________/ \_____| ___:capacitor
1 2 /\: key (open or closed switch).

Could someone please give me the explanation of the capacitor diagram at charge and discharge.

Can you explain your problem in words instead of drawing a diagram? I understand electrical circuits, but I don't understand your diagram.