Strictly speaking, the charger is actually in the electric car. The plug, cord, and box that attaches to the wall is called the Electric Vehicle Service Equipment (EVSE) or "Charging Station." The EVSE supplies an AC voltage (not DC) to the car's charging socket. It contains complex circuitry to regulate the charging process. 
The EVSE may be just a small portable unit, with a cord with the J1772 plug for the car on one end and a standard plug for an AC outlet on the other end (either a 110V or 220V outlet or both). 
There are great differences between the voltages and currents of solar panels and electric cars. 
A usable solar panel outputs 15V to 17V at about 8 amps (120 Watts). A typical plug-in EV expects input from 110V at 10-12 amps (Level 1 charging), 240V at 30 amps (Level 2), up to 500V at 30 amps (Level 3 or DC Fast Charge).
So we must have a DC/AC inverter to convert the solar panel's low-voltage DC to higher voltage AC.
We also need batteries to store the daytime solar energy for use at anytime to charge the car. So we will use the solar panels to charge the batteries, then connect the batteries with the inverter to drive the EVSE.
A 2ft. by 5ft. solar panel outputs 15V to 17V at about 8 amps (120 Watts) and costs about $500..
We are considering 12V, deep-cycle, gel cell (sealed, maintenance free)  batteries
A 100AH (amp-hours)  battery costs about $225. A 32AH  battery costs about $75.
Gel cell batteries from China are half the price, with minimum orders of 20 pcs. 
The gel cells are much more expensive than lead-acid (standard car) batteries, but they are designed for the repeated deep discharging needed for the EV.
If we use three 12V 100AH batteries ($225 ea.), we could generate about 15A for 20 hours at 12V. But this is only 1.5A at 120V! This is about one-tenth of the 3.5 kWH total needed to charge the LEAF completely in 15 hours or so.
For level 2 charging, we have a Schneider Electric EV charger that expects 220V at 30 amps input. Again, with three 12V 100AH batteries ($225 ea.), we could generate about 30A for 10 hours at 240V. We could also buy an AeroVironment portable TurboCord for $650, which does both 120 and 240V charging and plugs into standard electric outlets.| Level | Charge Time | 
|---|---|
| Level 1 120V | 15 hours | 
| Level 2 240V, 3.3kW in car | 8 hours | 
| Level 2 240V, 6.6kW in car | 4 hours | 
| Level 3 500V DC Fast Charge | < 1 hour |