data polling and graphing