Skip to main content

%DeepSee.Dashboard.DataProperty

serial class %DeepSee.Dashboard.DataProperty extends %Library.SerialObject, %XML.Adaptor

This class defines a how a specific dataProperty is displayed within a user-defined DeepSee dashboard widget. Many of the properties are only used by specific widget types. This is what is saved to disk, not part of the actual visual component.

Property Inventory

Method Inventory

Parameters

parameter NAMESPACE = http://www.intersystems.com/deepsee/library;
Inherited description: NAMESPACE specifies the XML namespace to be used when projecting the class to XML. If NAMESPACE = "", the default namespace is used for the XML schema is used as the namespace for his class.
parameter XMLIGNORENULL = 1;
Inherited description: XMLIGNORENULL allows the programmer to override the default XML handling of empty strings for properties of type %String. By default (XMLIGNORENULL = 0), empty strings in the XML input are stored as $c(0) and $c(0) is written to XML as an empty tag. A missing tag in the XML input is always stored as "" and "" is always output to XML as no tag.

If XMLIGNORENULL is set = 1, then both missing tags in the XML and empty strings are input as "", and both "" and $c(0) are output as empty tags (i.e. <tag></tag>).

If XMLIGNORENULL is set = "inputonly", then both missing tags in the XML and empty strings are input as "". Output of "" and $c(0) are for XMLIGNORENULL = 0: $c(0) is output as an empty tag (i.e. <tag></tag>) and "" is output as no tag.

If XMLIGNORENULL = "runtime" (runtime is not case sensitive), then the behavior of XMLIGNORENULL is determined by the format parameter of XMLExport, XMLImport and %XML.Reader.OpenFile. The default behavior for XMLIGNORENULL="runtime is the same as XMLIGNORENULL=0. Adding "ignorenull" to the format argument changes the behavior to that of XMLIGNORENULL=1. "ignorenull" shoud be separated by a comma from literal/encoded part of the format. Example values for format are "", ",ignorenull", "literal,ignorenull" and "encoded,ignorenull". Note that "inputonly" is equivalent to using ,ignorenull for XMLExport and not for %XML.Reader.

parameter XMLNAME = dataProperty;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.

Properties

property align as %String (MAXLEN = 25, XMLPROJECTION = "attribute");
Alignment of column within the widget if appropriate.
Property methods: alignDisplayToLogical(), alignGet(), alignIsValid(), alignLogicalToDisplay(), alignLogicalToOdbc(), alignNormalize(), alignSet()
property baseValue as %ZEN.Datatype.string (XMLPROJECTION = "attribute");
Optional. Base value for this property. This can contain an actual value (numeric) or the name of a property within the dataSource.
Property methods: baseValueDisplayToLogical(), baseValueGet(), baseValueIsValid(), baseValueLogicalToDisplay(), baseValueLogicalToOdbc(), baseValueNormalize(), baseValueSet()
property dataValue as %ZEN.Datatype.string (XMLPROJECTION = "attribute");
Value used for this property. This can be a number or the name of the property in data source that supplies the value for this column. It can also contain a DeepSee formula (starting with "=").
Property methods: dataValueDisplayToLogical(), dataValueGet(), dataValueIsValid(), dataValueLogicalToDisplay(), dataValueLogicalToOdbc(), dataValueNormalize(), dataValueSet()
property display as %ZEN.Datatype.string (VALUELIST = ",itemNo,label,title,value,arrow,lamp,trendLine,plotBox,hidden", XMLPROJECTION = "attribute");
Specify what to display for this property.
Property methods: displayDisplayToLogical(), displayGet(), displayIsValid(), displayLogicalToDisplay(), displayLogicalToOdbc(), displayNormalize(), displaySet()
property format as %ZEN.Datatype.string (XMLPROJECTION = "attribute");
Specify how to format the value for this property.
Property methods: formatDisplayToLogical(), formatGet(), formatIsValid(), formatLogicalToDisplay(), formatLogicalToOdbc(), formatNormalize(), formatSet()
property label as %ZEN.Datatype.caption (XMLPROJECTION = "attribute");
Label displayed for this item within the widget.
Property methods: labelDisplayToLogical(), labelGet(), labelIsValid(), labelLogicalToDisplay(), labelLogicalToOdbc(), labelNormalize(), labelSet()
property name as %String (MAXLEN = 255, XMLPROJECTION = "attribute");
Identifying name for this dataProperty. This is used to logically identify it.
Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property override as %ZEN.Datatype.string (MAXLEN = 32000, XMLPROJECTION = "attribute");
Optional. Style override for this property. This is an object state (as JSON) for the client object that visualizes this property.
Property methods: overrideDisplayToLogical(), overrideGet(), overrideIsValid(), overrideLogicalToDisplay(), overrideLogicalToOdbc(), overrideNormalize(), overrideSet()
property rangeLower as %ZEN.Datatype.string (XMLPROJECTION = "attribute");
Optional. Lower range value for this property. If this is not supplied, the default value for the data source is used.
This can contain an actual value (numeric) or the name of a property within the dataSource.
Property methods: rangeLowerDisplayToLogical(), rangeLowerGet(), rangeLowerIsValid(), rangeLowerLogicalToDisplay(), rangeLowerLogicalToOdbc(), rangeLowerNormalize(), rangeLowerSet()
property rangeUpper as %ZEN.Datatype.string (XMLPROJECTION = "attribute");
Optional. Upper range value for this property. If this is not supplied, the default value for the data source is used.
This can contain an actual value (numeric) or the name of a property within the dataSource.
Property methods: rangeUpperDisplayToLogical(), rangeUpperGet(), rangeUpperIsValid(), rangeUpperLogicalToDisplay(), rangeUpperLogicalToOdbc(), rangeUpperNormalize(), rangeUpperSet()
property showAs as %ZEN.Datatype.string (VALUELIST = ",value,conditional,sum,target,target%,sum%", XMLPROJECTION = "attribute");
Specify how to display values for this property (when displayed in a scoreCard).
If "value" then the value for the property is displayed.
If "conditional" then the value for the property is displayed if the property exists.
If "sum" then the total of all values for the property is displayed.
If "target" then the target value is displayed.
If "target%" then the value as a percentage of the target is displayed.
If "sum%" then the value as a percentage of the sum is displayed.
Property methods: showAsDisplayToLogical(), showAsGet(), showAsIsValid(), showAsLogicalToDisplay(), showAsLogicalToOdbc(), showAsNormalize(), showAsSet()
property style as %ZEN.Datatype.style (XMLPROJECTION = "attribute");
Style to apply to this property if appropriate.
This is a CSS style string: e.g., "color: red;"
Property methods: styleDisplayToLogical(), styleGet(), styleIsValid(), styleLogicalToDisplay(), styleLogicalToOdbc(), styleNormalize(), styleSet()
property subtype as %String (MAXLEN = 255, XMLPROJECTION = "attribute");
For some widget types, such as meters, this lets an individual meter override the overall subtype.
Property methods: subtypeDisplayToLogical(), subtypeGet(), subtypeIsValid(), subtypeLogicalToDisplay(), subtypeLogicalToOdbc(), subtypeNormalize(), subtypeSet()
property summary as %ZEN.Datatype.string (VALUELIST = ",sum,avg,min,max,value", XMLPROJECTION = "attribute");
Type of summary to display for this column.
If "", then no summary is displayed.
"sum" computes and displays the sum of the values within the column.
"avg" computes and displays the average of the values within the column.
"min" finds and displays the minimum of the values within the column.
"max" finds and displays the maximum of values within the column.
"value" evaluates and displays the value of the summaryValue property.
Property methods: summaryDisplayToLogical(), summaryGet(), summaryIsValid(), summaryLogicalToDisplay(), summaryLogicalToOdbc(), summaryNormalize(), summarySet()
property summaryValue as %ZEN.Datatype.string (XMLPROJECTION = "attribute");
Value to use for the summary of the column (if summary is "value").
This can be a literal number, a literal string (enclosed within ""), the name of the property in data source that supplies the value for this column, or an expression (starting with =).
Property methods: summaryValueDisplayToLogical(), summaryValueGet(), summaryValueIsValid(), summaryValueLogicalToDisplay(), summaryValueLogicalToOdbc(), summaryValueNormalize(), summaryValueSet()
property targetValue as %ZEN.Datatype.string (XMLPROJECTION = "attribute");
Optional. Target value for this property. This is used for columns that display a target value. If this is not supplied, the default target value for the data source is used.
This can contain an actual value (numeric) or the name of a property within the dataSource.
Property methods: targetValueDisplayToLogical(), targetValueGet(), targetValueIsValid(), targetValueLogicalToDisplay(), targetValueLogicalToOdbc(), targetValueNormalize(), targetValueSet()
property thresholdLower as %ZEN.Datatype.string (XMLPROJECTION = "attribute");
Optional. Lower threshold value for this property. If this is not supplied, the default value for the data source is used.
This can contain an actual value (numeric) or the name of a property within the dataSource.
Property methods: thresholdLowerDisplayToLogical(), thresholdLowerGet(), thresholdLowerIsValid(), thresholdLowerLogicalToDisplay(), thresholdLowerLogicalToOdbc(), thresholdLowerNormalize(), thresholdLowerSet()
property thresholdUpper as %ZEN.Datatype.string (XMLPROJECTION = "attribute");
Optional. Upper threshold value for this property. If this is not supplied, the default value for the data source is used.
This can contain an actual value (numeric) or the name of a property within the dataSource.
Property methods: thresholdUpperDisplayToLogical(), thresholdUpperGet(), thresholdUpperIsValid(), thresholdUpperLogicalToDisplay(), thresholdUpperLogicalToOdbc(), thresholdUpperNormalize(), thresholdUpperSet()
property valueColumn as %ZEN.Datatype.boolean (XMLPROJECTION = "attribute");
If true, then this column supplies the logical value used to identify a row within the score card. This may be used to tie actions to the scorecard.
Property methods: valueColumnDisplayToLogical(), valueColumnGet(), valueColumnIsValid(), valueColumnLogicalToDisplay(), valueColumnLogicalToOdbc(), valueColumnLogicalToXSD(), valueColumnNormalize(), valueColumnSet(), valueColumnXSDToLogical()
property width as %ZEN.Datatype.length (XMLPROJECTION = "attribute");
Width of column within the widget if appropriate.
Property methods: widthDisplayToLogical(), widthGet(), widthIsValid(), widthLogicalToDisplay(), widthLogicalToOdbc(), widthNormalize(), widthSet()

Methods

method %CopyTo(ByRef pTarget) as %Status
Copy contents of this data property to pTarget.
method %CopyToDao(ByRef pTarget As %DynamicObject = $$$NULLOREF) as %Status
Copy the contents of this definition to an Dao.
method %CopyToDef(ByRef pTarget As %DeepSee.Dashboard.DataProperty) as %Status
Copy contents to a structured DataProperty definition

Inherited Members

Inherited Methods

FeedbackOpens in a new tab