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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | open_flash_chart_api.module.patch | 900 bytes | theoldfather |
Comments
Comment #1
jvandervort commentedYes, 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.
Comment #2
theoldfather commentedHere's a patch to the 2.8 version that works.
Comment #3
jvandervort commentedThat'd be a separate issue (ie for the 5.x-2 branch), but thanks for the patch.