score:2

Accepted answer

try the code shown below, FIDDLE DEMO

var links = ['link1', 'link2', 'link3'];

var options = {grid: { clickable: true, hoverable: true } };

$.plot($("#placeholder"),data,options);})

$("#placeholder").bind("plotclick", function (event, pos, item) {
        if (item) { 
            //window.location = links[item.dataIndex];
            window.open(links[dataIndex, '_blank');
            console.log(item);
           // here you can write location = "http://your-doamin.com";
        }
    });

Related Query

More Query from same tag