Drawing an chart with object with data

Hey all,
Is it possible to draw simple, line chart with some data i give? And update it in realtime?

I solved it using very useful lib i found on devforum.