bindingInfo.setTimeSeries(col, Boolean)

bindingInfo.isTimeSeries(col) to obtain the time-series status.

Specifies that gaps in Date data should be retained. For example, if the data in the chart is grouped by month, and there is no data for the month of June, setTimeSeries ensures that the month of June is still retained in the chart.

Paramater

col

Name of field to set as time-series

Boolean

true: gaps are preserved for date data
false: gaps are removed

Example

Chart1.bindingInfo.setTimeSeries("Order Date", true);

setTimeSeries 1

Dashboard script that modifies bindingInfo should generally be placed in the onRefresh handler. See Add Dashboard Script.