LMS-1632 Generalize the graph generation code to accept tabular data, either from a file or from the DB. SVN: 17377