MindFusion.Charting for JavaScript Programmer's Guide
TextRenderer.drawLabelInRect Method
See Also
 






Draws the specified label in specified layout rectangle.

Namespace: MindFusion.Charting
File: TextRenderer.js

 Syntax

JavaScript  Copy Code

function drawLabelInRect (series, index, bounds, labelKind, [format])

 Parameters

series

Type: Series
A Series whose label to draw.

index

Type: Number
An integer index of the label.

bounds

Type: Rect
A RectangleF specifying the layout rectangle.

labelKind

Type: LabelKinds
A member of the LabelKinds enumeration.

format
Optional.

Type: StringFormat
A StringFormat instance.

 See Also

TextRenderer Members
TextRenderer Class
MindFusion.Charting Namespace