Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tooltip is cutoff using google charts

The tooltip gets cutoff for certain points (the bottom part gets cutoff).
How can I fix this issue?

following are the current options...

chart.draw(data, {
    width: 275, 
    height: 75, 
    legend:'none',
    gridlineColor:'white',
    pointSize:2, 
    chartArea:{left:0},
    chartArea:{width:275},
    colors:['red','green', 'blue']});    
like image 564
JAB Avatar asked Apr 01 '11 11:04

JAB


1 Answers

use the tooltip.ignoreBounds configuration option

from the documentation...

If set to true, allows the drawing of tooltips to flow outside of the bounds of the chart on all sides.

like image 119
WhiteHat Avatar answered Oct 10 '22 09:10

WhiteHat