TrellisPlotViewer
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
new TrellisPlotViewer()
new TrellisPlotViewer(
dart):TrellisPlotViewer
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Overrides
Source
Properties
| Property | Modifier | Type | Default value | Description | Inherited from |
|---|---|---|---|---|---|
_functions | protected | Func[] | [] | - | Viewer._functions |
_properties | protected | Property[] | [] | - | Viewer._properties |
_root | protected | HTMLElement | undefined | - | Viewer._root |
dart | public | any | undefined | - | Viewer.dart |
factory | public | null | Func | null | Constructor function. No parameters, returns [Widget]. | Viewer.factory |
isDetached | public | boolean | false | - | Viewer.isDetached |
props | public | ITrellisPlotSettings & ObjectPropertyBag | undefined | - | Viewer.props |
subs | public | Subscription[] | undefined | - | Viewer.subs |
tags | public | any | undefined | - | Viewer.tags |
temp | public | any | undefined | Contains auxiliary information | Viewer.temp |
CORE_VIEWER_TYPES | static | string[] | ... | - | Viewer.CORE_VIEWER_TYPES |
Accessors
children
getchildren():Widget<any>[]
Parent widget up the DOM tree, or null.
Returns
Widget<any>[]