MatrixPlot
Defined in: src/viewer.ts:880
Represents a viewer. See also https://datagrok.ai/help/develop/how-to/manipulate-viewers
See
Use Viewer to control the viewers. To develop a custom viewer, JsViewer.
Example
let view = grok.shell.addTableView(grok.data.demo.demog());
view.scatterPlot({
x: 'height',
y: 'weight',
size: 'age',
color: 'race',
});
Extends
Constructors
Constructor
new MatrixPlot(
dart):MatrixPlot
Defined in: src/viewer.ts:881
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
MatrixPlot
Overrides
Properties
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|---|---|---|---|---|---|---|
_functions | protected | Func[] | [] | - | Viewer._functions | src/widgets/base.ts:243 |
_properties | protected | Property[] | [] | - | Viewer._properties | src/widgets/base.ts:242 |
_root | protected | HTMLElement | undefined | - | Viewer._root | src/widgets/base.ts:241 |
dart | public | any | undefined | - | Viewer.dart | src/widgets/base.ts:246 |
factory | public | Func | null | null | Constructor function. No parameters, returns [Widget]. | Viewer.factory | src/widgets/base.ts:239 |
isDetached | public | boolean | false | - | Viewer.isDetached | src/widgets/base.ts:247 |
props | public | IMatrixPlotSettings & ObjectPropertyBag | undefined | - | Viewer.props | src/widgets/base.ts:244 |
subs | public | Subscription[] | undefined | - | Viewer.subs | src/widgets/base.ts:245 |
tags | public | any | undefined | - | Viewer.tags | src/viewer.ts:82 |
temp | public | any | undefined | Contains auxiliary information | Viewer.temp | src/widgets/base.ts:236 |
CORE_VIEWER_TYPES | static | string[] | undefined | - | Viewer.CORE_VIEWER_TYPES | src/viewer.ts:405 |
Accessors
aiDescription
Get Signature
get aiDescription():
string|null
Defined in: src/viewer.ts:109
AI briefing of the underlying Dart viewer.
Returns
string | null
Set Signature
set aiDescription(
x):void
Defined in: src/viewer.ts:114
A short AI-facing briefing: what this widget is, what its functions do, and how the assistant should approach it (e.g. which getFunctions entries to call first). Shown to the AI assistant as part of the workspace context.
Parameters
| Parameter | Type |
|---|---|
x | string | null |
Returns
void
Inherited from
children
Get Signature
get children():
Widget<any>[]
Defined in: src/widgets/base.ts:328
Parent widget up the DOM tree, or null.
Returns
Widget<any>[]
Inherited from
dataFrame
Get Signature
get dataFrame():
DataFrame
Defined in: src/viewer.ts:242