ASP.NET Pack Programmer's Guide
ToolTip.text Property
See Also
 





Gets or sets the tooltip text.

Namespace: MindFusion.Charting
Package: ToolTip.js

 Syntax

JavaScript  Copy Code

Object.defineProperty(ToolTip.prototype, "text", { value: String });

 Property Value

 Remarks

In most cases you will use an array or List to set the labels that will render as tooltip-s and use the supportedLabels property to specify that they should be rendered as tooltip-s.

 Example

The following code customizes the ToolTip-s rendered over chart elements:

JavaScript  Copy Code
// customize tooltips
ToolTip.position = new Point (-5, -3);
ToolTip.text = "Click on a bar to see detailed chart";
ToolTip.brush = new Drawing.Brush("#fafafa");
ToolTip.pen = new Drawing.Pen("#9caac6");
ToolTip.textBrush = new Drawing.Brush("#5050c0");
ToolTip.horizontalPadding = 6;
ToolTip.verticalPadding = 4;
ToolTip.font = new Charting.Drawing.Font("Verdana", 12, Charting.Drawing.FontStyle.Italic);

 See Also

ToolTip Members
ToolTip Class
MindFusion.Charting Namespace