Statistic.TimeScale (charts v1.12.1)
Link to this section Summary
Functions
Define the data domain for the scale from a list of data. Extents will be calculated by the scale.
Define the data domain for the scale
Specifies the number of intervals the scale should display. Default is 10.
Creates a new TimeScale struct with basic defaults set
Link to this section Types
Link to this type
datetimes()
@type datetimes() :: NaiveDateTime.t() | DateTime.t()
Link to this section Functions
Link to this function
domain(scale, data)
Define the data domain for the scale from a list of data. Extents will be calculated by the scale.
Link to this function
domain(scale, min, max)
Define the data domain for the scale
Link to this function
interval_count(scale, interval_count)
Specifies the number of intervals the scale should display. Default is 10.
Link to this function
new()
@spec new() :: t()
Creates a new TimeScale struct with basic defaults set