%DeepSee.Dashboard.PivotCondition
Class %DeepSee.Dashboard.PivotCondition Extends (%SerialObject, %XML.Adaptor) [ System = 4 ]
This class defines a formatting condition within a DeepSee saved pivot.
This is used to fill in the values of a pivotCondition within a DeepSee pivot table.
Parameters
NAMESPACE
Parameter NAMESPACE = "http://www.intersystems.com/deepsee/library";
XMLNAME
Parameter XMLNAME = "formatRule";
XMLIGNORENULL
Parameter XMLIGNORENULL = 1;
Properties
range
Property range As %ZEN.Datatype.string(XMLPROJECTION = "attribute");
Range of cells for which this rule applies. This is comma-seperated list of integers. The list is of the form:
startRow,startCol,endRow,endCol
For now, only the start values are used.
operator
Property operator As %ZEN.Datatype.string(VALUELIST = ",=,<>,>,<,>=,<=,BETWEEN,IN,IS NULL", XMLPROJECTION = "attribute");
Condition operator.
value
Property value As %ZEN.Datatype.csv(XMLPROJECTION = "attribute");
Value (or values) to test. For IN and BETWEEN this is a comma-delimited list.
style
Property style As %ZEN.Datatype.style(XMLPROJECTION = "attribute");
CSS style to apply to cells that match this condition.
text
Property text As %ZEN.Datatype.string(XMLPROJECTION = "attribute");
If defined, replace value with this text.
icon
Property icon As %ZEN.Datatype.uri(XMLPROJECTION = "attribute");
If defined, replace value with this icon.
iconCount
Property iconCount As %ZEN.Datatype.integer(XMLPROJECTION = "attribute") [ InitialExpression = 1 ];
If defined and icon is defined, replace value with this number of icons.
Methods
%CopyToComponent
Method %CopyToComponent(pCondition As %DeepSee.Component.pivotCondition) As %Status [ Internal ]
Copy the contents of this pivot condition definition to pivot table condition pCondition.
%CopyFromComponent
Method %CopyFromComponent(pCondition As %DeepSee.Component.pivotCondition) As %Status [ Internal ]
Set the contents of this pivot condition definition from pivot table condition pCondition.