MindFusion.Charting for JavaScript Programmer's Guide
ToolTip.pen Property
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Gets or sets the tooltip border pen.

Namespace: MindFusion.Charting
File: MindFusion.Charting.js

## Syntax

JavaScript Copy Code
get pen() {}

### Property Value

A Pen instance.

## Example

The following code customizes a tooltip rendered on a chart built with MindFusion.Charting for JavaScript:

JavaScript Copy Code
var ToolTip = Charting.ToolTip; // customize tooltips ToolTip.brush = new Drawing.Brush("#fafafa"); ToolTip.pen = new Drawing.Pen("#9caac6"); ToolTip.textBrush = new Drawing.Brush("#5050c0"); ToolTip.horizontalOffset = 2; 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