Graphs of voltage and time

How do I input voltage from a solart panel into arduino and see it graph on oled screen?