Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Tooltip Hide

$
0
0

@maligan wrote:

I want to hide tooltip when no tooltip value exist ,

 toolTip:
	goJ(go.Adornment, "Auto",
		{ isShadowed: true,shadowColor:"#cccccc",shadowBlur:8},
		goJ(go.Shape, { fill: "#f9f9f9" }),
		goJ(go.TextBlock, {margin:4,alignment: go.Spot.Top, alignmentFocus: go.Spot.Top, stroke: "#000000" ,font:'12px roboto'},
		new go.Binding("text", "value", scope.myTooltipFunction))
	)

myTooltipFunction will return the tool tip message to show , i need to hide the tooltip if there is no value exist.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles