BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
ASP.Net: <ej:Chart OnClientPointRegionClick="pointClick"> </ej:Chart> function pointClick(sender) { //Get series index and point index var seriesIndex = sender.data.region.SeriesIndex, pointIndex = sender.data.region.Region.PointIndex; alert("Series Index : " + seriesIndex + "Point Index : " + pointIndex + "X : " + sender.model.series[seriesIndex].points[pointIndex].x + "Y : " + sender.model.series[seriesIndex].points[pointIndex].y); //Navigated to URL depends upon points if (pointIndex == 0) window.location = 'https://www.syncfusion.com/'; else if (pointIndex == 1) window.location = 'http://asp.syncfusion.com/demos/web/'; else if (pointIndex == 2) window.location = 'https://help.syncfusion.com/'; else if (pointIndex == 3) window.location = 'http://mvc.syncfusion.com/demos/web/'; else if (pointIndex == 4) window.location = 'https://help.syncfusion.com/api/js/global'; else if (pointIndex == 5) window.location = 'https://help.syncfusion.com/api/js/ejchart'; } |