It seems that the graph object is still referenced in a few places in the module file (in the bar and line classes), when it should be the open_flash_chart_api object (the object in the API). Just do a search and replace (go through one at a time if you don't want to change one instance of the word "graph" in a comment, but no biggie).

I ran into my error about graph object being undefined in the module file when I was trying to insert extra data with the set_data_tip function for a custom view (http://www.biocomp.utoronto.ca/past-comps/stats). I did the search and replace and everything worked A-OK. This error also seems it would have popped up if you were trying to work with links or keys.

I didn't attach a patch, but it really is as simple as find/replace with "graph" for "open_flash_chart_api" in the open_flash_chart_api.module file. If anyone can suggest a reason this shouldn't be changed, their input would be appreciated.

CommentFileSizeAuthor
#2 open_flash_chart_api.module.patch900 bytestheoldfather

Comments

jvandervort’s picture

Status: Needs review » Fixed

Yes, the dev snapshot for the 6.x-2 branch has this fix. I was just waiting for people to test it. I'll release a new version.

theoldfather’s picture

Version: 6.x-2.9 » 5.x-2.8
Status: Fixed » Reviewed & tested by the community
StatusFileSize
new900 bytes

Here's a patch to the 2.8 version that works.

jvandervort’s picture

Version: 5.x-2.8 » 6.x-2.9
Status: Reviewed & tested by the community » Fixed

That'd be a separate issue (ie for the 5.x-2 branch), but thanks for the patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.