Skip to content
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

## Widget Query Functions

LogScale's widget functions provide a direct interface to the corresponding Widgets. For more information, see Widgets.

Table: Widget Query Functions

Function | Default Argument | Availability | Description
--- | --- | --- | ---
`sankey(source, target, [weight])` |  |  | Produces data compatible with Sankey widget.
`table(fields, [limit], [order], [reverse], [sortby], [type])` | `fields` |  | Used to create a widget to present the data in a table.
`timeChart([buckets], [function], [limit], [minSpan], [series], [span], [timezone], [unit])` | `series` |  | Used to draw a linechart where the x-axis is time.
`worldMap([ip], [lat], [lon], [magnitude], [precision])` |  |  | Used to produce data compatible with the World Map widget.

#### Enter search term