I want add a unique url to each bar and open that url on click one of bar. But in my case i have two datasets. I am using onClick event which return active record of both dataset.

I am using following code.. It will return both dataset object...it should return only one dataset.
<script>
var barChartData = {
labels: ["Jan","Feb","March"],
datasets: [{
label : "Quoted",
backgroundColor : "#FF7228",
data : [50,20,70],
},
{
label : "Accepted",
backgroundColor : "#FFCC8C",
data : [30,10,20],
},
]
};
window.onload = function() {
var ctx = document.getElementById("canvas").getContext("2d");
window.myBar = new Chart(ctx, {
type: 'bar',
data: barChartData,
options: {
events:['click'],
onClick:function(c,i){
console.log(this.active);
}
},
responsive: true,
legend: {
position: 'top',
},
}
});
};
</script>