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.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
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
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
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.
method adjustSize()
[ Language = javascript ]
Adjust size and position of components on this page.
method confidenceChange()
[ Language = javascript ]
method fitChange()
[ Language = javascript ]
method getChartData(series)
[ Language = javascript ]
Callback to provide data for the chart.
method getDialogValue()
[ Language = javascript ]
method getLineData()
[ Language = javascript ]
method getXLabel(val)
[ Language = javascript ]
Callback to provide x label for the chart.
method measureChange()
[ Language = javascript ]
Change in measureX value.
method 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.
method ondialogStart()
[ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
method updateMeasureSelect()
[ Language = javascript ]
Update state of the measureX select control