faheem801 / flot

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

Bar Chart Tool tip issue-Urgent #436

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I want to display a tool tip at the data point for the bar graph.But it is 
working only for the first data point but not for all. below is the sample 
code. i observed when giving "points: { show: true }" then it is working for 
all points. But i don't want to show these points in graph.
I feel it is a bug,if you are not sure please try. 

var  plotvol= $.plot($("#placeholder1"),
  [ { data:d1,color: "rgb(0, 100, 255)",yaxis: 2}],{    
               series: {
 bars: {  show: true,fill: true,fillcolor: "rgb(0, 10, 50)" }

--------------
                            },
$("#placeholder1").bind("plothover",  function (event, pos, item) {
        if(item)
        {
         //showtooltip for x,y   

    });

Original issue reported on code.google.com by knvlngu...@gmail.com on 22 Nov 2010 at 9:14

GoogleCodeExporter commented 9 years ago
here is the full:
var  plotvol= $.plot($("#placeholder1"),
  [ { data:D1,color: "rgb(0, 100, 255)",yaxis: 2}],{    
    series: {
     bars: {  show: true,fill: true,fillcolor: "rgb(0, 10, 50)" }
     },
     xaxis: { mode: "time",timeformat: "%b %d"} ,
      y2axis: {labelWidth: "2"},
      grid: { hoverable: true,, autoHighlight: true
},
          legend: {container: "#placeholder1Legend"}
});

Original comment by knvlngu...@gmail.com on 22 Nov 2010 at 9:39

GoogleCodeExporter commented 9 years ago
looks like it may be a data issue, i am passing the data as,
[[1289869200000,19.72934],[1289955600000,20.19784],[1290042000000,18.49688],[129
0128400000,36.81315],[1290214800000,71.45935]].

It is just coming a simple strait line.

Original comment by knvlngu...@gmail.com on 22 Nov 2010 at 11:42

GoogleCodeExporter commented 9 years ago
Issue 437 has been merged into this issue.

Original comment by olau%iol...@gtempaccount.com on 14 Dec 2010 at 9:28

GoogleCodeExporter commented 9 years ago
Hi, I'm sorry but I don't understand your issue. Could you please attach a 
small HTML page that I can try? If you think it's a problem with your code, I 
would recommend you try the forum/mailing list.

Original comment by olau%iol...@gtempaccount.com on 14 Dec 2010 at 9:32

GoogleCodeExporter commented 9 years ago
I'm going to close this due to lack of activity.

Original comment by olau%iol...@gtempaccount.com on 17 Mar 2011 at 5:04

GoogleCodeExporter commented 9 years ago

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