How to remove Hyper Link in XAxis name in Highcharts? -


how remove hyper link in xaxis name. there property in xaxis lable or need write function remove hyper link.

in link below how remove hyper link in animals.

{ "chart":{"defaultseriestype":"column"}, "plotoptions":{"column":{"borderwidth":0}}, "series":[     {"data":[{"x":1.435689e12,"y":6.0,"drilldown":"all-1.435689e12"}],"name":"all","type":"column","tooltip":{"xdateformat":"%m/%d/%y"}},     {"data":[{"x":1.435689e12,"y":2.0,"drilldown":"abcd-1.435689e12"}],"name":"abcd","type":"column","tooltip":{"xdateformat":"%m/%d/%y"}},     {"data":[{"x":1.435689e12,"y":1.0,"drilldown":"efgh-1.435689e12"}],"name":"efgh","type":"column","tooltip":{"xdateformat":"%m/%d/%y"}},     {"data":[{"x":1.435689e12,"y":2.0,"drilldown":"ijkl-1.435689e12"}],"name":"ijkl","type":"column","tooltip":{"xdateformat":"%m/%d/%y"}}], "title":{"text":"artifact created"}, "xaxis":[     {"mintickinterval":8.64e7,"type":"datetime","labels":{"rotation":45.0},"datetimelabelformats":{"day":"%m/%d/%y"},"title":   {"text":"date"},"showempty":false},     {"type":"category","id":"drilldown"}], "yaxis":[     {"min":0.0,"title":{"text":"count"},"showempty":false},     {"labels":{"enabled":false},"title":{"text":""},"id":"drilldown","gridlinewidth":0}], "drilldown":     {"series":[         {"data":[{"y":1.0,"name":"artf1001"},{"y":1.0,"name":"artf1002"},{"y":1.0,"name":"artf1003"},{"y":1.0,"name":"artf1004"},   {"y":1.0,"name":"artf1005"},{"y":1.0,"name":"artf1006"}],"name":"all","type":"column","id":"all-1.435689e12","xaxis":"drilldown","yaxis":"drilldown"},         {"data":[{"y":1.0,"name":"artf1004"},{"y":1.0,"name":"artf1005"}    ],"name":"abcd","type":"column","id":"abcd-1.435689e12","xaxis":"drilldown","yaxis":"drilldown"},         {"data":[{"y":1.0,"name":"artf1001"}],"name":"efgh","type":"column","id":"efgh-1.435689e12","xaxis":"drilldown","yaxis":"drilldown"},         {"data":[{"y":1.0,"name":"artf1002"},{"y":1.0,"name":"artf1003"}    ],"name":"ijkl","type":"column","id":"ijkl-1.435689e12","xaxis":"drilldown","yaxis":"drilldown"}]     } } 

the issue can seen clicking link

the simples way overwrite tick drilldown function empty.

highcharts.tick.prototype.drillable = function () {}; 

example: http://jsfiddle.net/r2u6spa9/


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -