sunjavagroups / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

bind bug hope you answer #573

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
$.ajax({
    type: "POST",
    url: "get-month-infor.php",
    data: {Month_F : From , Month_T : To},
    success: function(msg){
}
.....
}

i set a array Date[]=msg[][0] in uccess: function(msg){};

$("#mounth-p").bind("plothover",  function (event, pos, item) {
var x = item.datapoint[0]-1;
var data=Date[x];
}

when the msg change ,but in the function(event, pos, item) the array Date[]
can not change ,but keep the first time to get numbers;

Original issue reported on code.google.com by xmphoe...@gmail.com on 16 Jul 2011 at 3:52

Attachments:

GoogleCodeExporter commented 8 years ago
It's not clear how this relates to Flot; can you explain more clearly how this 
is a bug in Flot, and provide a smaller test-case demonstrating the problem?

Original comment by dnsch...@gmail.com on 30 Apr 2012 at 5:43

GoogleCodeExporter commented 8 years ago
No follow-up; marking as invalid.

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 2:34