changed method from $.graph to $.chart