Search
LabelWidget Class
Remarks See Also
 






Represents a widget that displays a single text label.The text can be a static property or bound to a data source.

Namespace: MindFusion.Dashboards
File: LabelWidget.js

 Syntax

JavaScript  Copy Code

// class
LabelWidget.prototype = {}

 Remarks

Renders formatted text headings, descriptive banners, or custom markdown blocks. The text property sets the string content, or text can be bound to a dynamic data source via dataPath. The fontName, fontSize, fontStyle, and minFontSize properties control typography. minFontSize enables auto-fitting text so long titles scale down gracefully without clipping.

 Inheritance Hierarchy

MindFusion.Dashboards.DashboardWidget
    MindFusion.Dashboards.LabelWidget

 See Also