Toottip data issue in jquery flot

Posted by Muhammad on Stack Overflow See other posts from Stack Overflow or by Muhammad
Published on 2013-10-19T08:09:28Z Indexed on 2013/10/19 9:54 UTC
Read the original article Hit count: 268

Filed under:
|

I am using Jquery plot.Every thing is working except tooltip data.

Total data shown on a line is 190 which is equal to total published PLUS total unpublished.Total Published is 51 which is shown in tooltip.Now the other portion of tooltip shows 190 instead of 190-51 = 139

here is my code

 var options1 = {
    series: {stack: stack,
             lines: { show: lines, fill: false, steps: steps },
             bars: { show: bars, barWidth: 0.4 },
             points: { show: true}
             },
             grid: {
      hoverable: true //IMPORTANT! this is needed for tooltip to work
        },
  tooltip: true,
  tooltipOpts: {
  content: "%s : %y", 
  shifts: {
       x: -60,
       y: 25
        }
  },
        legend:{'position':'ne','show':true,'margin':[-3, -20],'backgroundOpacity':0.1, 'noColumns': 4, 'container': null},
            xaxis: {ticks: dest4 ,},

};

what i should do with this line to show exact data

content: "%s : %y", 

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about plot