Carl_Sevron
Members-
Content count
3 -
Joined
-
Last visited
About Carl_Sevron
-
Rank
Forum Newbie
-
link and labelLink data attributes conflict
Carl_Sevron replied to Carl_Sevron's topic in Javascript Problems
Any update on this..? There's been 4 releases since this and it's still broken. -
link and labelLink data attributes conflict
Carl_Sevron replied to Carl_Sevron's topic in Javascript Problems
Actually works correctly in v3.10.1 ... -
Taking the following fiddle as an example; http://fiddle.jshell.net/fusioncharts/k1s6y3qp/ if you edit the data to look something like this; "data": [{ "label": "Apple", "value": "810000", "link": "newchart-xml-apple", "labelLink": "j-foo" }, { "label": "Cranberry", "value": "620000", "link": "newchart-xml-cranberry", "labelLink": "j-bar" },{...}] the labelLink functions never run because the labels act on the link attribute and load the linked charts. However if you remove the link attribute completely the labelLink works as you would assume it to, and runs foo() or bar() when clicking the label. How can I have both of these attributes work together correctly?