Jump to content
JChartFX Community
  • 0

Drill down not working on Firefox


Question

Hi,

I have created line chart and added 'click' event as you specified in demo. Here is the code sample:

var chartDiv = document.getElementById('historyChartContainer');

chartDiv.addEventListener("click", gridDrillDown, false);

and callback function is:

function gridDrillDown(evt){

//alert(100);

var iSeries = evt.series;

//alert(event.hitType);

var iPoint = evt.point;

alert(evt.hitType);

alert(iPoint);

if (iSeries != undefined && iPoint != undefined) {

alert(iSeries +" - " +iPoint);

alert(assetForecastedGraph.getData().getItem(iSeries, iPoint));

alert(assetForecastedGraph.getAxisX().getLabels().getItem(iPoint));

//if(iPoint < 4){

//alert(iPoint);

//window.goToIPList("/projectedRunout",iPoint+"");

//}

}

}

Its working correctly in Google Chrome, but not working in FireFox. I am getting right series index, but NaN as point.

Please help me, if I am doing something wrong here.

Thanks!!

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...