setPeriodicity

open override fun setPeriodicity(period: Int, interval: String, timeUnit: TimeUnit)

Sets periodicity to the chart

Parameters

period

A number of elements from masterData to roll-up together into one data point on the chart.

interval

An interval is a numeric portion of the time unit.

timeUnit

A particular time interval that represents a time unit. If not set, will default to "minute". *hour is NOT a valid timeUnit. Use timeUnit:"minute", interval:60 instead.