Constructors
constructor
- new UIMetrics(ui): UIMetrics
Properties
Private _drawCircle
_drawCircle: any
Private _graphMargin
_graphMargin: any
Private Optional _html
_html?: any
Private _labelWidth
_labelWidth: any
Private _legendFontSize
_legendFontSize: any
Private _lineHeight
_lineHeight: any
Private Optional _mouseX
_mouseX?: any
Private _ranges
_ranges: any
Private _stepSize
_stepSize: any
Private _textMargin
_textMargin: any
Private _ui
_ui: any
Accessors
averageDisplayWidth
- get averageDisplayWidth(): number
Returns number
displayableCount
- get displayableCount(): number
Returns number
graphMargin
- get graphMargin(): number
Returns number
- set graphMargin(value): void
Returns void
labelWidth
- get labelWidth(): number
Returns number
- set labelWidth(value): void
Returns void
legendFontSize
- get legendFontSize(): number
Returns number
- set legendFontSize(value): void
Returns void
lineHeight
- get lineHeight(): number
Returns number
- set lineHeight(value): void
Returns void
stepSize
- get stepSize(): number
Returns number
- set stepSize(value): void
Returns void
textMargin
- get textMargin(): number
Returns number
- set textMargin(value): void
Returns void
Methods
display
- display(stats): void
Parameters
- stats: Map<string, (string | number)[]>
Returns void
reset
- reset(): void
Returns void
An user-interface compoment to vizualize real-time metrics