PDA

View Full Version : Chart Tool Tip



Sesshomurai
3 Oct 2011, 2:11 PM
Hi,
Is there any way to keep the chart column/bar tooltip from getting clipped from view? Its running outside the boundary of the chart in an iframe and getting cut off.

thanks

skirtle
3 Oct 2011, 7:31 PM
Why is the chart in an iframe?

Sesshomurai
4 Oct 2011, 3:07 AM
Because its a widget being used in a 3rd party webtop environment. I can't change that.

But the tooltip should never render partially outside the DOM it is in. It should adjust itself.

Is there a way?

ZachG
4 Oct 2011, 7:15 AM
Ext.tip.Tip.constrainPosition = true

(http://docs.sencha.com/ext-js/4-0/#!/api/Ext.tip.Tip-cfg-constrainPosition)The docs says it's true by default, but this bug (http://www.sencha.com/forum/showthread.php?149412-Series-tips-of-chart.-Do-not-count-the-window-border.) shows otherwise.