AMBARI-5928. Dynamic determination of graphs from view api. (srimanth)