Class Reference
%ZEN.Report.Display.COSChart.scoreCard
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%ZEN] >  [Report] >  [Display] >  [COSChart] >  [scoreCard]
Private  Storage

deprecatedclass %ZEN.Report.Display.COSChart.scoreCard extends %ZEN.Report.Display.COSChart.cchart

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 38 16


Summary

Properties
%controlBarH %dataDrivenSeriesColors %dataSeries %date1900
%endUnits %firstXLabelWidth %hzMaxStep %labelBottom
%labelPad %labelPadL %labelPadR %lastXLabelWidth
%legendHeight %legendRight %legendVisible %legendWidth
%majorUnits %marginBottom %marginLeft %marginRight
%marginTop %maxScrollLeft %maxXHeight %minorUnits
%offset %oldXMax %pixPerSec %plotBottom
%plotBottomOut %plotHeight %plotLeft %plotLeftOut
%plotRight %plotRightOut %plotTop %plotTopOut
%plotWidth %rplotRight %rplotRightOut %rplotWidth
%scaleX %scaleY %seriesColors %startUnits
%timeEvents %titleHeight %titleImageLeft %titleImageTop
%titleImageWidth %xAxisLabelH %xAxisTitle %xAxisTitleH
%xBaseValue %xGridType %xLabelAngle %xLabelOnTheBottom
%xLabelOnTheTop %xLabelStyle %xLabelUnits %xMajorGrid
%xMajorGridStyle %xMajorUnits %xMaxValue %xMinValue
%xMinorGrid %xMinorGridStyle %xMinorUnits %xRange
%yAxisForSeries %yAxisTitle %yBaseValue %yGridType
%yLabelAngle %yLabelOnTheLeft %yLabelOnTheRight %yLabelStyle
%yLabelUnits %yMajorGrid %yMajorGridStyle %yMajorUnits
%yMaxValue %yMinValue %yMinorGrid %yMinorGridStyle
%yMinorUnits %yRange FontXScale FontYScale
appearance applyLevel arrowSize arrowStyle
autoScaleText axisLineStyle axisTitleStyle backgroundStyle
bandLeft bandLeftStyle bandLower bandLowerStyle
bandRight bandRightStyle bandUpper bandUpperStyle
baseLineStyle blockContainerProperty borderOffset borderRadius
borderStyle caption cardHeight cardSize
cellCaptionStyle chartPivot children class
colcount colspan columnHeaderStyle columns
composite controllerId crosstabDataGroup crosstabFooterDataField
crosstabFooterFormatNumber crosstabFooterGroup crosstabHeaderDataField crosstabHeaderGroup
crosstabHeaderGroupLabels crosstabHeaderGroupTooLongText crosstabHeaderLabelDataField crosstabHeaderMatchField
crosstabRowGroup crosstabTruncationHeight crosstabTruncationWidth currYAxis
dataDrivenSeriesColors dataSeries dateFormat debugBBox
endTime field foblock footersVisible
gridStyle group grouppath hasFooter
hasHeader hasZoom headersVisible height
htmlstyle id ifexpression ifxpath
includeBlockContainer includeColIfExpression includeColIfXPath includeColUnlessExpression
includeColUnlessXPath indicatorStyle indicatorsVisible labelStyle
labelsVisible lampColor lampColorNeg lampLabelStyle
lampSize legendHeight legendLabelStyle legendLabels
legendPosition legendRectStyle legendStyle legendTitle
legendVisible legendWidth legendX legendY
level lineStyle linefeedTreatment marginBottom
marginLeft marginRight marginTop markerScale
markerShapes markerStyle markersVisible maxLabelLen
msgIfNoData multipleTitleStyle noDataFill noDataOpacity
noDataStroke oldLabelCalc ongetData ongetLabelX
ongetLabelY ongetSeriesName ongetTimeEvents onrenderData
passChartObject pivotData plotAreaStyle plotBoxHeight
plotBoxLowerStyle plotBoxMidStyle plotBoxStyle plotBoxValueHeight
plotBoxValueStyle plotBoxValueStyleNeg plotEdgeStyle plotStyle
plotToEdge removeEmpty rowHeight rowspan
scrollButtonStyle selectedIndex selectedItem selectedItemStyle
selectedSeries selectstylecond selectstylelist seriesColorScheme
seriesColors seriesColorsOverride seriesCount seriesNames
seriesNumber seriesSize seriesYAxes showMultiples
startTime stripeStyle stripesVisible style
stylecall styleparamNames styleparams subtitle
subtitleStyle svgGroup tag targetLineStyle
template textSize timeBased title
titleAlign titleBoxStyle titleImage titleImageStyle
titleStyle titleVisible titleX titleY
tooLongText topLevel trendBarsHeight trendBarsStyle
trendLineHeight trendLineStyle truncate truncationHeight
truncationWidth unlessexpression unselectedItemStyle valueBoxStyle
valueLabelFormat valueLabelStyle valueLabelsVisible viewBoxHeight
viewBoxWidth warnIfNoData width withinSmallmultiple
xAxis xmlnamespace xmlnamespaceprefix xpath
xslfostyle yAxis yAxisList zenMonthShortNames

Methods
%AddToSaveSet %ApplyClass %ApplyLevelParameters %BeginGroup
%BeginGroupNoInc %ClassIsLatestVersion %ClassName %ConstructClone
%DeclareLevelParameters %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawCellFO %DrawCellFO1 %DrawCellToHTML %DrawCellToHTML1
%DrawFooterFO %DrawFooterToAnnotatedXML %DrawFooterToHTML %DrawHeaderFO
%DrawHeaderToHTML %DrawSort %DrawToAnnotatedXML %DrawToHTML
%DrawToXSLFO %EndGroup %EndLevel %Extends
%FooterWidth %GetAbsoluteURL %GetParameter %HeaderWidth
%IncLevel %IsA %IsModified %New
%NormalizeObject %ObjectModified %OldWidth %OriginalNamespace
%PackageName %QuoteValue %QuoteValueEmbedded %QuoteValueL10N
%RemoveFromSaveSet %SerializeObject %SetModified %StyleHTML
%StyleXSLFO %ValidateObject %Width ApplyClass
CSPLinkToFileLink CountSpaces DoDocForHTML FormatNumber
GetBBox GetDocForXSLFO HTMLStyle OutputId
ParseCSSStyle Test XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType XSLFOStyle adjustChartTitle
calcVertex calculateAxisConstraints calculateLegendDimensions calculateViewBox
calculateXAxisHeight calculateXAxisTitleHeight computeEffectiveExtents computeScale
computeStyle computeXAxisTimeLine computeXFontSize computeYFontSize
createMarker createSVGTextNode createXLabelNode embedStyle
evaluate getAvgValue getCellInfo getChartSubtitle
getChartTitle getColorSchemeArray getComputedFontSize getComputedTextLength
getController getCurrYAxis getDataSeriesCount getDataSeriesLength
getEndTime getLegendLabels getLegendRectStyle getLegendsCount
getMarkerShape getMaxValue getMinValue getNumericAbbreviation
getPelToPixelHRatio getPelToPixelVRatio getPlotX getPlotY
getRangeGroupForSeries getSelectedItem getSelectedSeries getSelectedStyle
getSeriesColor getSeriesCount getSeriesData getSeriesNames
getSeriesNamesSize getSeriesSVGGroup getSeriesSize getSeriesType
getStartTime getStyleArray getSumValue getTextWidth
getTimeX getXAxis getXAxisTitle getXAxisType
getXLabelText getYAxis getYAxisCount getYAxisTitle
getYAxisType getYLabelText hasAxes hasFooterGet
hasHeaderGet hasMultiples hasSelectedItem initializeAxisProperties
insertAxis integrateStyleSpec is3D isCSPLink
isTimeBased length lookup makeId
max min myCountSpaces needsURL
parent pickVerticalSkips plotLineForSeries prepareAxisGroup
processExclamationPoint qualify removeChildNodes renderAxes
renderBands renderContents renderLegend renderPlotArea
renderScoreCard renderSeries renderSeriesGroup renderTimeEvents
renderTitle renderXAxisTimeLine renderXAxisTitle renderXLabels
renderYAxisTitle renderYLabels setupTopLevel split
stripWhitespace tagGet unrender updateIndicator
usePercentForRange useSumForRange xToLogical yToLogical
zenGet


Parameters

• parameter DEFAULTVIEWBOXHEIGHT;
Default viewBoxHeight of this component.
• parameter DEFAULTVIEWBOXWIDTH;
Default viewBoxWidth of this component. Turn off for score card.
• parameter DOMAIN = "%DeepSee";
Localization domain
• parameter INCLUDEFILES = "dsparser.js";
DeepSee score card component. This is a subclass of chart as it shares the same data acquisition logic (and uses many of the same style properties).

Properties

• property arrowSize as %ZEN.Datatype.float [ InitialExpression = 0.8 ];
Optional. Size (as a percentage between 0 and 1) of an arrow.
• property arrowStyle as %ZEN.Datatype.svgStyle;
Optional. Style to indicator arrows in plotBox.
• property cardHeight as %ZEN.Datatype.integer(XMLPROJECTION="none") [ InitialExpression = 0 ];
Computed height (pixels) of the scorecard.
• property cardSize as %ZEN.Datatype.string;
How big to show items within this score card. This can be "big" or "" (regular).
• property cellCaptionStyle as %ZEN.Datatype.svgStyle;
Optional. Style to apply to cell captions.
• property columnHeaderStyle as %ZEN.Datatype.svgStyle;
Optional. Style for column headers in plotBox.
• property columns as list of scoreCardColumn(XMLPROJECTION="ELEMENT",XMLREF=1,XMLTYPECONSTRAINT="CHOICE");
Specification for columns within the scoreCard.
• property footersVisible as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Optional: if true, display column footers.
• property headersVisible as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Optional: if true, display column headers.
• property lampColor as %ZEN.Datatype.string [ InitialExpression = "#80F080" ];
Optional. Color of indicator lamp.
• property lampColorNeg as %ZEN.Datatype.string [ InitialExpression = "#F08080" ];
Optional. Color of negative indicator lamp.
• property lampLabelStyle as %ZEN.Datatype.svgStyle;
Optional. Style to apply to labels within lamps.
• property lampSize as %ZEN.Datatype.float [ InitialExpression = 0.6 ];
Optional. Radius (as a percentage between 0 and 1) of a lamp.
• property pivotData as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, swap rows and columns within the data source for this scoreCard.
• property plotBoxHeight as %ZEN.Datatype.float [ InitialExpression = 0.8 ];
Optional. Height (as a percentage between 0 and 1) of a plot box.
• property plotBoxLowerStyle as %ZEN.Datatype.svgStyle;
Optional. Style to apply to lower range rectangle in plotBox.
• property plotBoxMidStyle as %ZEN.Datatype.svgStyle;
Optional. Style to apply to mid range rectangle in plotBox.
• property plotBoxStyle as %ZEN.Datatype.svgStyle;
Optional. Style to apply to outer rectangle in plotBox.
• property plotBoxValueHeight as %ZEN.Datatype.float [ InitialExpression = 0.5 ];
Optional. Height (as a percentage between 0 and 1) of the value bar within a plot box.
• property plotBoxValueStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill:rgb(47,98,128);" ];
Optional. Style to apply to value bar in plotBox.
• property plotBoxValueStyleNeg as %ZEN.Datatype.svgStyle [ InitialExpression = "fill:rgb(128,47,47);" ];
Optional. Style to apply to negative value bar in plotBox.
• property rowHeight as %ZEN.Datatype.integer;
Height (pixels) of rows within the scorecard.
• property selectedIndex as %ZEN.Datatype.integer [ InitialExpression = -1 ];
Index of selected row (0-based).
• property targetLineStyle as %ZEN.Datatype.svgStyle;
Optional. Style for targetLine in plotBox.
• property titleAlign as %ZEN.Datatype.string(VALUELIST=",center,left,right") [ InitialExpression = "left" ];
Optional: alignment for title and subtitle. (Default is left for scorecard).
• property titleImage as %ZEN.Datatype.uri;
Optional: URL of image to display within the title area.
• property titleImageStyle as %ZEN.Datatype.svgStyle;
Optional. Style for titleImage: left,top,width, and height.
• property titleVisible as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Optional: if true, display the title area.
• property trendBarsHeight as %ZEN.Datatype.float [ InitialExpression = 0.8 ];
Optional. Height (as a percentage between 0 and 1) of a trend bar chart.
• property trendBarsStyle as %ZEN.Datatype.svgStyle;
Optional. Style for trendBars in plotBox.
• property trendLineHeight as %ZEN.Datatype.float [ InitialExpression = 0.8 ];
Optional. Height (as a percentage between 0 and 1) of a trend line.
• property trendLineStyle as %ZEN.Datatype.svgStyle;
Optional. Style for trendLine in plotBox.

Methods

• method FormatNumber(value, format)
• classmethod Test()
• method evaluate(expr, ByRef data, r)
Evaluate a value expression. expr is the expression; data is an array of data values subscripted by name and row; r is the row.
• method getAvgValue(ByRef args)
Implementation of avg() function within formulae. Return average of items within current data set.
• method getController()
• method getMaxValue(ByRef args)
Implementation of max() function within formulae. Return max value of given property within current data set. or max of values within a list of items.
• method getMinValue(ByRef args)
Implementation of min() function within formulae. Return min value of given property within current data set.
• method getSumValue(ByRef args)
Implementation of sum() function within formulae. Return sum of items within current data set.
• method hasAxes()
No axes for a score card.
• classmethod length(ByRef array)
• classmethod lookup(key)
Lookup function for formula engine.
• method renderContents()
Render the inner SVG contents of this component.
• method renderScoreCard()
Render the contents of this component.
• method setupTopLevel(scaleX, scaleY)


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.