faheem801 / flot

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

Bar Chart Tool tip issue-Urgent #437

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:19

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:46

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 7 May 2012 at 11:29