Dynamic qtip not loading jquery sparkline graph
<p>I have values stored in JQuery.data method and are successfully placing a div with a sparkline graph (http://omnipotent.net/jquery.sparkline/) next to the input. I want to then place those sparkline graphs in the tip for the input. The tip appears and seems to resize to the size of the graphs but the tip is empty, nothing appears.</p>

<p>Any help would be much appreciated.</p>

<p>Thanks,</p>

<p>Rob</p>

<p><strong>Code Updated</strong>  </p>

<p>I added  $.sparkline_display_visible() and the graph now partially appears.  The bottom half of the sparkline now appears.  I have tried to add padding or margin to the div but only the bottom of the half of the graph appears?</p>

<p>$("input").each(function() {</p>

<p>var theinput = $(this);
var newValue = $(theinput).data( "Data" )</p>

<p>if ( $(newValue).length ) { 
   var theclass = $(theinput).attr('class');
    //alert(theclass + '=' + newValue.theValue );               </p>

<p>theclass = 'rob_' + theclass</p>

<p>var theplaceholder = $(theinput).after('' + newValue.theValue + '');
   var myvalues = [newValue.theValue,thetotal];
   $('.' + theclass ).sparkline(myvalues, {type: 'pie', offset: '+90' }).attr('title', newValue.theValue + ' of ' + thetotal );                                                         </p>

<pre><code>$(theplaceholder).qtip({    
prerender: true,                                
content: $('.' + theclass),
show: { ready: true },
style: { name: 'cream', tip: true, padding: '10' }              
});
$.sparkline_display_visible()  
</code></pre>

<p>$('canvas,span').css('overflow','visible');</p>

<p>$('[class^=qtip]').css('overflow','visible');  </p>

<p>}</p>

<p>});</p>

<p><strong>Update</strong><br>
From within Firebug I found that the canvas for the sparkline graph is set to overflow: hidden which is a known bug with FireFox 3.6x.  </p>

<p>I updated the code above and it works perfectly in Internet Explorer (amazing LOL).  Is there any fix for FireFox?</p>
