Toottip data issue in jquery flot
- by Muhammad
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",