Description
Converts an array of Json objects into a new array of Json objects that represents a data series.
Data series arrays can be displayed in visual plots via app.plot and ai.insights.plot.
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
array | Any | Yes | Array of Json objects |
label | Text | Yes | Property name used for plot labels |
value | Text | Yes | Property name used for plot values |
Returns
Type: Array (of Json objects)
Returns a new array of Json objects. Each object in the returned array will have two properties: label and value.
Examples
Remarks
Use this function when you have an array of Json objects that you want to convert into a data series for use elsewhere, such as with data visualization plots.
Data series arrays can be displayed in visual plots via app.plot and ai.insights.plot.