Skip to main content

%ZEN.SVGComponent.bubbleChart

Class %ZEN.SVGComponent.bubbleChart Extends chart [ Deprecated, System = 3 ]

This is an SVG chart component that displays a bubble chart.
This chart expects at least 2 data series, the first supplying x values and the second supplying y values.
Additional series are interpreted as:
Series 2: radius (radius of each bubble).
Series 3: colors (items are grouped into buckets by value).
Series 4: opacity (opacity of items from 0 to 1 -- values are not normalized).

Parameters

DEFAULTPLOTTOEDGE

Parameter DEFAULTPLOTTOEDGE = 1;

Default value for plotToEdge property.

DEFAULTMARKERSVISIBLE

Parameter DEFAULTMARKERSVISIBLE = 0;

Default value for the markersVisible property.

Properties

radius

Property radius As %ZEN.Datatype.float [ InitialExpression = 3 ];

Default radius (in logical units) for bubbles. If there is a radius series, its values are scaled and multiplied by this value.

opacity

Property opacity As %ZEN.Datatype.float [ InitialExpression = 0.75 ];

Default opacity (from 0 to 1) for bubbles. If there is a opacity series, its values are scaled and multiplied by this value.

xCenterValue

Property xCenterValue As %ZEN.Datatype.float;

Center value along x-axis. Used to draw background "quadrants".

yCenterValue

Property yCenterValue As %ZEN.Datatype.float;

Center value along y-axis. Used to draw background "quadrants".

showQuadrant

Property showQuadrant As %ZEN.Datatype.boolean [ InitialExpression = 1 ];

If true, then draw background "quadrants".

showRegression

Property showRegression As %ZEN.Datatype.boolean [ InitialExpression = 0 ];

If true, then draw a computed linear regression line.

tag

Property tag As %ZEN.Datatype.string(XMLPROJECTION = "none") [ InitialExpression = "bubbleChart", Internal ];

upperRightStyle

Property upperRightStyle As %ZEN.Datatype.svgStyle;

Optional: style applied to the upper right quadrant background.

lowerLeftStyle

Property lowerLeftStyle As %ZEN.Datatype.svgStyle;

Optional: style applied to the lower left quadrant background.

XDatas

SVGStyle

XData SVGStyle

Methods

getXAxisType

ClientMethod getXAxisType() [ Language = javascript ]

Return the type of x axis (category or value) used by this chart.

getYAxisType

ClientMethod getYAxisType() [ Language = javascript ]

Return the type of y axis (category or value) used by this chart.

findDataRange

ClientMethod findDataRange() [ Language = javascript ]

Internal method: return (as an object) the minimum and maximum data values for this chart. This is used for ranges that are automatically calculated.

renderSeries

ClientMethod renderSeries(group) [ Language = javascript ]

Draw data series for this chart. group is the SVG container for the chart components.

getLegendLabels

ClientMethod getLegendLabels() [ Language = javascript ]

Return an array of labels to display within the Legend box.
For xy chart we have to skip the first series, as it contains x-values, and not a logical data series.

setProperty

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

Set the value of a named property.

renderBands

ClientMethod renderBands() [ Language = javascript ]

Draw the upper/lower bands for the chart. Override standard "bands" and replace with "quadrant" boxes.

getSeriesNames

ClientMethod getSeriesNames() [ Language = javascript ]

Override and use seriesNames only.

getXAxisTitle

ClientMethod getXAxisTitle() [ Language = javascript ]

Return the x axis title.

getYAxisTitle

ClientMethod getYAxisTitle() [ Language = javascript ]

Return the y axis title.

getToolTipInfo

ClientMethod getToolTipInfo(series, item, captions, values) [ Internal, Language = javascript ]

Return an object containing tooltip information for the given element.