Publish data to client-side

Description

Specify that all data series data should be published client-side, making it available in offline applications and client-side JavaScript.

Discussion

You define Date Series either by clicking on the smart field for the Data Series property (on the UX Builder Properties pane), or by click on the Menu button.

Use the Menu button to define a Data Series.
The Data series UX Component property is used to create data series definitions.

Your Javascript code can reference the data in a Data Series using the following syntax:

{dialog.object}._dataSeriesData.SeriesName.SubSeriesName

If the Data Series has no sub-series, then syntax for referencing the Data Series is:

{dialog.object}._dataSeriesData.SeriesName

 Understanding Data Series

A Data Series is a series of values. Say you have a SQL query that returns the data shown in the table below.

Each column in the table is a series of data. For example, the data series in the first Firstname column is

Fred, Jane, Susan

Firstname

Lastname

Age

Fred

Smith

23

Jane

Jones

35

Susan

Ganon

29

The name of the Data Series represented by the first column in the above table is:

Names.Firstname

(where 'Names' is the arbitrary name given to the data table)

A common use case for Data Series is in charting applications. Both the Chart and Javascript Chart control in the UX component consume data series for the data shown in the charts.