DocBook|Search
Class Reference
%DeepSee.Component.SVG.scoreCard
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%DeepSee] >  [Component] >  [SVG] >  [scoreCard]
Private  Storage  

class %DeepSee.Component.SVG.scoreCard extends %ZEN.SVGComponent.chart

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).

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 17 15


Summary

Properties
%condition %controller %import %includeFiles
%page %resource appearance arrowStyle
autoScaleText aux axisLineStyle axisTitleStyle
backgroundStyle bandLower bandLowerStyle bandUpper
bandUpperStyle borderRadius borderStyle boundless
cardHeight cardSize columnHeaderStyle columns
composite controller controllerId currYAxis
document gridStyle hasZoom height
hidden id index labelStyle
labelsVisible lampColor lampColorNeg legendHeight
legendLabelStyle legendStyle legendTitle legendVisible
legendWidth legendX legendY marginBottom
marginLeft marginRight marginTop markerScale
markerShapes markerStyle markersVisible multipleTitleStyle
name onclick onclickrow onelementClick
ongetData ongetLabelX ongetLabelY onnotifyView
onrenderData onrenderPlotArea onshowTooltip onupdate
parent pivotData plotAreaStyle plotBoxLowerStyle
plotBoxMidStyle plotBoxStyle plotBoxValueStyle plotBoxValueStyleNeg
plotEdgeStyle plotStyle plotToEdge position
preserveAspectRatio rowHeight scrollButtonStyle selectedIndex
selectedItem selectedItemStyle selectedSeries seriesColorScheme
seriesColors seriesColorsOverride seriesCount seriesNames
seriesNumber seriesSize seriesYAxes showMultiples
stripeStyle stripesVisible svgComponent svgGroup
textSize title titleBoxStyle titleStyle
titleX titleY trendLineStyle tuple
valueLabelStyle valueLabelsVisible viewBoxHeight viewBoxWidth
visible width window x
xAxis y yAxis yAxisList

Methods
%%OIDGet %AddToSaveSet %Attr %BindExport
%ClassIsLatestVersion %ClassName %ConstructClone %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawHTML %DrawJSStrings
%Eval %Extends %ForceClientRender %GetEventHandlers
%GetParameter %GetXMLName %IsA %IsModified
%MakeId %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnDrawObjectProperties %OnObjectSynch
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveFromSaveSet %Self %SerializeObject
%SetModified %ValidateObject XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType addCommas adjustChartTitle
beginWaitState calculateAxisConstraints calculateViewBox calculateXAxisHeight
calculateXAxisTitleHeight calculateYAxisWidth chartElementClickHandler clickHandler
computeEffectiveExtents computeStyle createMarker createSVGTextNode
createXLabelNode embedStyle endWaitState evaluate
findElement findSVGElement fireOnUpdateEvent getChartElement
getChartElementStyle getChartRelatedElements getChartTitle getColorSchemeArray
getComputedFontSize getController getFrame getLegendLabels
getMarkerShape getNumericAbbreviation getPelToPixelHRatio getPelToPixelVRatio
getPlotX getPlotY getProperty getRangeGroupForSeries
getRowValue getSelectedItem getSelectedSeries getSeriesColor
getSeriesCount getSeriesData getSeriesNames getSeriesSVGGroup
getSeriesSize getSeriesType getSettings getSizeAbsolute
getType getXAxis getXAxisTitle getXAxisType
getXLabelText getYAxis getYAxisCount getYAxisIndexForSeries
getYAxisTitle getYAxisType getYLabelText hasAxes
hasMultiples initializeAxisProperties integrateStyleSpec invokeSuper
is3D isOfType lookup makeId
notifyViewHandler onCreate onDelete onSerialize
onloadHandler onunloadHandler onupdateHandler pickVerticalSkips
plotLineForSeries prepareAxisGroup refreshContents removeChildNodes
render renderAxes renderBands renderContents
renderLegend renderPlotArea renderSVG renderScoreCard
renderSeries renderSeriesGroup renderTitle renderXAxisTitle
renderXLabels renderYAxisTitle renderYLabels rowClickHandler
selectElement selectRow sendEventToController setControllerId
setCurrYAxis setOverlayMode setPosition setPositionHandler
setProperty setSize setSizeHandler setTextNode
setXAxis setYAxis sizingMouseDownHandler stripWhitespace
unrender updateChart usePercentForRange useSumForRange
wrapMethod


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";
CSV list of additional include files (either .js or .css) that should be included when this component is used on a page.
By default, the file extension (.js or .css) is used to determine whether an item in the list is a script include or a style include. You can override this behavior by adding the terms "script:" or "style:" to the beginning of the file name or names. This prefix is not used as part of the include filename.
• parameter NAMESPACE = "http://www.intersystems.com/deepsee";
This is the XML namespace used for library components.

Properties

• property arrowStyle as %ZEN.Datatype.style;
Optional. Style to indicator arrows in plotBox.
• property cardHeight as %ZEN.Datatype.integer(XMLPROJECTION="none");
Computed height (pixels) of the scorecard.
• property cardSize as %ZEN.Datatype.string;
How big to show items within this score card.
• property columnHeaderStyle as %ZEN.Datatype.style;
Optional. Style for column headers in plotBox.
• property columns as list of scoreCardColumn(XMLPROJECTION="ELEMENT",XMLREF=1,XMLTYPECONSTRAINT="CHOICE",ZENSETTING=0);
Specification for columns within the scoreCard.
• 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 onclickrow as %ZEN.Datatype.eventHandler;
onclickrow event handler: If defined, this event is fired when the user clicks on a row within the score card.
• property pivotData as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, swap rows and columns within the data source for this scoreCard.
• property plotBoxLowerStyle as %ZEN.Datatype.style;
Optional. Style to apply to lower range rectangle in plotBox.
• property plotBoxMidStyle as %ZEN.Datatype.style;
Optional. Style to apply to mid range rectangle in plotBox.
• property plotBoxStyle as %ZEN.Datatype.style;
Optional. Style to apply to outer rectangle in plotBox.
• property plotBoxValueStyle as %ZEN.Datatype.style [ InitialExpression = "fill:rgb(47,98,128);" ];
Optional. Style to apply to value bar in plotBox.
• property plotBoxValueStyleNeg as %ZEN.Datatype.style [ 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 trendLineStyle as %ZEN.Datatype.style;
Optional. Style for trendLine in plotBox.

Methods

• method evaluate(expr, data, r) [ Language = javascript ]
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 getRowValue(row) [ Language = javascript ]
Return the logical value associated with the given row (0-based).
• method hasAxes() [ Language = javascript ]
No axes for a score card.
• method lookup(key) [ Language = javascript ]
Lookup function for formula engine.
• method renderContents() [ Language = javascript ]
Render the inner SVG contents of this component.
• method renderScoreCard() [ Language = javascript ]
Render the contents of this component.
• method rowClickHandler(evt, row) [ Language = javascript ]
Row click handler.
• method selectRow(row) [ Language = javascript ]
Select the given row.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.