Skip to main content


class %DeepSee.UI.Analysis.Regression extends %DeepSee.UI.Analysis.AbstractAnalysis

This dialog displays various regression analysis of the values behind a cell within a pivot.

Property Inventory

Method Inventory


parameter APPLYBUTTON = 0;


property Fit as %ZEN.Datatype.string;
Property methods: FitDisplayToLogical(), FitGet(), FitIsValid(), FitLogicalToDisplay(), FitLogicalToOdbc(), FitNormalize(), FitSet()
property Intercept as %ZEN.Datatype.float;
Property methods: InterceptDisplayToLogical(), InterceptGet(), InterceptIsValid(), InterceptLogicalToDisplay(), InterceptLogicalToOdbc(), InterceptNormalize(), InterceptSet()
property InterceptErr as %ZEN.Datatype.float;
Property methods: InterceptErrDisplayToLogical(), InterceptErrGet(), InterceptErrIsValid(), InterceptErrLogicalToDisplay(), InterceptErrLogicalToOdbc(), InterceptErrNormalize(), InterceptErrSet()
property R as %ZEN.Datatype.float;
Regression values
Property methods: RDisplayToLogical(), RGet(), RIsValid(), RLogicalToDisplay(), RLogicalToOdbc(), RNormalize(), RSet()
property Slope as %ZEN.Datatype.float;
Property methods: SlopeDisplayToLogical(), SlopeGet(), SlopeIsValid(), SlopeLogicalToDisplay(), SlopeLogicalToOdbc(), SlopeNormalize(), SlopeSet()
property SlopeErr as %ZEN.Datatype.float;
Property methods: SlopeErrDisplayToLogical(), SlopeErrGet(), SlopeErrIsValid(), SlopeErrLogicalToDisplay(), SlopeErrLogicalToOdbc(), SlopeErrNormalize(), SlopeErrSet()
property XMax as %ZEN.Datatype.float;
Property methods: XMaxDisplayToLogical(), XMaxGet(), XMaxIsValid(), XMaxLogicalToDisplay(), XMaxLogicalToOdbc(), XMaxNormalize(), XMaxSet()
property XMin as %ZEN.Datatype.float;
Property methods: XMinDisplayToLogical(), XMinGet(), XMinIsValid(), XMinLogicalToDisplay(), XMinLogicalToOdbc(), XMinNormalize(), XMinSet()
property YMax as %ZEN.Datatype.float;
Property methods: YMaxDisplayToLogical(), YMaxGet(), YMaxIsValid(), YMaxLogicalToDisplay(), YMaxLogicalToOdbc(), YMaxNormalize(), YMaxSet()
property YMin as %ZEN.Datatype.float;
Property methods: YMinDisplayToLogical(), YMinGet(), YMinIsValid(), YMinLogicalToDisplay(), YMinLogicalToOdbc(), YMinNormalize(), YMinSet()
property measureNameX as %ZEN.Datatype.string (ZENURL = "MEASURE");
Measure to use for analysis.
Property methods: measureNameXDisplayToLogical(), measureNameXGet(), measureNameXIsValid(), measureNameXLogicalToDisplay(), measureNameXLogicalToOdbc(), measureNameXNormalize(), measureNameXSet()
property measureNameY as %ZEN.Datatype.string (ZENURL = "MEASURE");
Measure to use for analysis.
Property methods: measureNameYDisplayToLogical(), measureNameYGet(), measureNameYIsValid(), measureNameYLogicalToDisplay(), measureNameYLogicalToOdbc(), measureNameYNormalize(), measureNameYSet()
property valuesX as list of %ZEN.Datatype.float;
Array of X values to plot.
Property methods: valuesXBuildValueArray(), valuesXCollectionToDisplay(), valuesXCollectionToOdbc(), valuesXDisplayToCollection(), valuesXDisplayToLogical(), valuesXGet(), valuesXGetObject(), valuesXGetObjectId(), valuesXGetSwizzled(), valuesXIsValid(), valuesXLogicalToDisplay(), valuesXLogicalToOdbc(), valuesXNormalize(), valuesXOdbcToCollection(), valuesXSet(), valuesXSetObject(), valuesXSetObjectId()
property valuesY as list of %ZEN.Datatype.float;
Array of Y values to plot.
Property methods: valuesYBuildValueArray(), valuesYCollectionToDisplay(), valuesYCollectionToOdbc(), valuesYDisplayToCollection(), valuesYDisplayToLogical(), valuesYGet(), valuesYGetObject(), valuesYGetObjectId(), valuesYGetSwizzled(), valuesYIsValid(), valuesYLogicalToDisplay(), valuesYLogicalToOdbc(), valuesYNormalize(), valuesYOdbcToCollection(), valuesYSet(), valuesYSetObject(), valuesYSetObjectId()


method %ComputeChartValues()
Compute chart valuesX.
method %ComputeRegression() as %Status
method %ComputeValues(Output pCount As %Integer, Output pNullCount As %Integer, Output pMinValue As %Double, Output pMaxValue As %Double) as %Status
Execute query and get raw list of valuesX in temp global.
classmethod %GetAnalysisInfo(Output pInfo) as %Status
Inherited description: Return an array of information about this analysis:
pInfo("caption") - localized caption for this item.
pInfo("tooltip") - localized tooltip for this item.
pInfo("icon") - icon for this item.
pInfo("rank") - optional rank; lower numbers are displayed first.
method %GetPair(i As %Integer, Output x As %Float, Output y As %Float) as %Status
method %OnAfterCreatePage() as %Status
Inherited description: This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
classmethod %Round(x As %Float) as %Float
method %UpdateControls(pCount As %Integer, pNullCount As %Integer, pMinValue As %Double, pMaxValue As %Double)
Update value of controls.
method %UpdateEquation() as %Status
method UpdateConfidence() as %Status [ ZenMethod ]
method UpdateValues() as %String [ ZenMethod ]
Recompute chart values.
clientmethod adjustSize() [ Language = javascript ]
Adjust size and position of components on this page.
clientmethod confidenceChange() [ Language = javascript ]
clientmethod fitChange() [ Language = javascript ]
clientmethod getChartData(series) [ Language = javascript ]
Callback to provide data for the chart.
clientmethod getDialogValue() [ Language = javascript ]
clientmethod getLineData() [ Language = javascript ]
clientmethod getXLabel(val) [ Language = javascript ]
Callback to provide x label for the chart.
clientmethod measureChange() [ Language = javascript ]
Change in measureX value.
clientmethod ondialogFinish(action) as %Boolean [ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.
clientmethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
clientmethod updateMeasureSelect() [ Language = javascript ]
Update state of the measureX select control

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab