Skip to main content

%ZEN.SVGComponent.smiley

Class %ZEN.SVGComponent.smiley Extends meter [ Deprecated, System = 3 ]

SVG Smiley meter.
This displays a range of values using a stylized smiling (or frowning) face.

Properties

persona

Property persona As %ZEN.Datatype.string(VALUELIST = ",classic,alien,pirate") [ InitialExpression = "classic" ];

Specifies what type of face to show.

XDatas

SVGStyle

XData SVGStyle

SVGDef

XData SVGDef

Methods

renderMeter

ClientMethod renderMeter() [ Language = javascript ]

Render the inner SVG contents of this component.

renderFace

ClientMethod renderFace() [ Language = javascript ]

Draw a smiley face

updateMouth

ClientMethod updateMouth() [ Language = javascript ]

Internal method: update position of smiley mouth

renderAlien

ClientMethod renderAlien() [ Language = javascript ]

Draw an alien face

setProperty

ClientMethod setProperty(property, value, value2) [ Language = javascript ]

Set the value of a named property.