I would be very grateful to man who can give me source code(example) of eac

I would be very grateful to man who can give me source code(example) of each second updating graph. I tried to copy paste parts of code and that showed nothing, and JavaScriptException: (TypeError): Cannot read property ‘Chart’ of undefine