Log in

Metrics

Metric Model

Fields

Field

Type

Description

object
"metric"
id
string
name
string
team_id
string
project_id
string
deleted_at
| null When the metric is scheduled to be deleted; null when it is not.
view_id
string The view whose records the metric aggregates. Changing it to a compatible view in the same project rebuilds the metric's historical data.
status
Current lifecycle state for live collection and historical backfill.
group_by
string[] View fields whose value combinations define distinct metric series.
filters
string Filter expression applied to records before aggregation.
timestamp_field
string View field used as the aggregation timestamp.
value_field
string | null View field used as the numeric aggregation value.
unique_field
string | null View field used for distinct-value counts.
null_handling
How null or missing metric values are aggregated.
empty_bucket_handling
How chart buckets without observations are represented.
backfill_strategy
Order used when historical data is rebuilt.
ui_chart_family
Read-only: derived from ui_chart_type, grouping chart types by layout family.
ui_chart_type
ui_chart_color_mode
Strategy used to assign chart colors.
ui_chart_color_base
string | null Base color used by intensity mode, one of CHART_COLORS. In series mode, the color of a metric without group_by, which draws one series; null draws it blue. Null when the color mode does not use one.
ui_chart_color_rules
MetricColorRule[] | null Ordered value-to-color rules used by value mode.
ui_chart_series_rules
MetricSeriesRule[] | null Colors for series by value, in order: a series takes the color of the first rule that is not dismissed and matches it. Once the metric has such a rule, every series no rule matches is gray; without one, each series takes an automatic color that no other series on the chart uses, until the palette runs out. Rules color only a metric with group_by. When the color step runs, errors, warnings and successes it finds on a grouped field get default rules right away, marked is_default, and the AI's suggestions follow, marked is_suggested; a suggestion may replace the defaults of its field. Null when no rule was ever saved.
ai_color_fields
string[] | null Fields whose values carry color meaning: those the AI marked, and grouped fields where Tailglow's default list matched a value. Null before either found one.
ai_colors_next_run_at
| null When the color step runs next for this metric; null when no run is waiting. The step adds default rules marked is_default, and the AI's suggestions arrive marked is_suggested.
ai_colors_started_at
| null When the run in progress started; null when none is running.
ai_colors_completed_at
| null When the AI color step last finished for this metric; null before its first run.
ui_chart_curve
Line interpolation style.
ui_chart_show_alerts
boolean Whether the chart displays alert markers.
ui_chart_compact_values
boolean Whether chart tooltips round values to compact notation, such as 321.3M.
ui_chart_y_min
number | null Fixed lower bound for the y axis. Null lets the axis fit the data.
ui_chart_y_max
number | null Fixed upper bound for the y axis. Null lets the axis fit the data.
ui_chart_show_trends
boolean Whether the chart displays regression trends.
ui_chart_show_forecast
boolean Whether the chart opens with its forecast shown, projecting the fitted trend past now to the saved horizon. Viewers in the app can change the forecast for their own view without changing this setting.
ui_chart_forecast_horizon
How far past now the chart projects when it draws a forecast. Relative values resolve against the moment the chart is viewed, not the moment they were saved.
ui_chart_forecast_model
Curve the forecast is fitted with. auto follows whichever model fits the series best at view time, so the projected shape can change as data arrives.
ui_value_unit
string | null Unit label displayed with chart values.
ui_chart_value
Aggregation value displayed by default.
ui_chart_time_range
Window the chart covers by default.
ui_chart_interval
Bucket size the chart uses by default.
time_dimension
| null Calendar position the chart folds the metric's hourly data into. With one set, the aggregation merges every hour of the range into its hour of the day, weekday or hour of the week, read in the request's timezone, instead of returning a timeline. Null charts the data over time.
ui_chart_order
| null The order the chart shows its series in: highest largest first, lowest smallest first, natural largest first with a time dimension kept in its own order (hour 0 to 23, Monday to Sunday). Null is natural. An aggregation request's sort overrides the direction.
ui_chart_custom_range_start_at
| null Start of the custom chart range.
ui_chart_custom_range_end_at
| null End of the custom chart range.
ui_chart_max_series
number Number of series an aggregation returns per page when the request sends no limit.
created_at
updated_at
backfill_percent
number Percentage of the view's data files the historical backfill has processed.
backfill_total_count
number How many of the view's data files the historical backfill has to process. Seeded as 1 before the run is planned.
backfill_completed_count
number How many of those files it has processed.
backfill_completed_at
| null Null until the backfill finishes.
backfill_started_at
| null Null until the backfill starts.
compact_percent
number Percentage of rollup-building steps completed.
compact_total_count
number How many rollup-building steps the run has planned; 0 until that pass starts.
compact_completed_count
number How many of those steps are done.
compact_started_at
| null Null until the rollup-building pass starts.
has_triggered_monitors
boolean Whether at least one alert is currently open. Ended alerts remain in history.

Timeseries Aggregation Model

Fields

Field

Type

Description

object
"aggregation"
coverage_reasons
{ view_id: string; view_name: string; reason: string; count: number | null; }[] Count is null when the reason reports a status rather than a measured count.
start_at
end_at
interval
Bucket size each entry in a series' records covers. For a time dimension it is hour, the size of the buckets folded into each category.
values
[] Declares what each number in a series' records arrays means; positions align.
series
[] One page of the series with data in the range, plus a synthetic __other__ entry that folds in every series not on the page. An explicit series filter returns those of its series with data in the range and nothing else. Without one, pinned series make up the first page and later pages walk the remaining series by value; with no pins every page ranks by value.
complete_through_at
| null Complete through this instant as of this response. A later arrival can reopen an older bucket. Null means coverage is unknown. Prefer pending_ranges when present for isolated pending dates.
pending_ranges
PendingTimeRange[] | null Known pending event-time windows within displayed buckets, end exclusive. Partial boundary buckets can extend beyond the requested window. [] means none; null means unknown. Absent when the response states no pending windows, as on server telemetry: complete_through_at decides.
input_checkpoint
{ processed_position: number; published_position: number; } | null Monotonic input progress, independent of the customer-selected event timestamp. Null when the response reports none.
first_incomplete_bucket_at
| null Key of the first bucket that is still filling. For isolated pending dates, prefer pending_ranges; this older field conservatively marks the suffix from the first pending bucket. Null when every bucket in the response is final, and always null on server telemetry, which makes no completeness statement. Always null for a time dimension, whose categories merge hours from across the range, including the current hour's data so far.
time_dimension
| null The time dimension the series were folded into, from the metric. When set, each series' records are keyed by category instead of bucket start: "0" to "23" for hour_of_day, "1" (Monday) to "7" for weekday, "0" to "167" for hour_of_week. Null for a timeline.
timezone
string | null The IANA timezone the request's date boundaries, and a time dimension's categories, were read in. Null on server telemetry.

Aggregation Series Model

Fields

Field

Type

Description

details
{ label: string; hash: string; dimensions: Record<string, string | number | boolean | null>; fields: Record<string, string | number | boolean>; } The series' identity (hash, dimensions), its label and the fields it carries. Colors come from the metric's ui_chart_series_rules: a series that matches a rule takes its color, and once the metric has a rule every other series is gray.
records
Record<string, (number | null)[]> One entry per bucket, keyed by bucket start, or per category when the aggregation has a time_dimension; values aligned with the aggregation's values list. null means the bucket had no data and the metric's empty_bucket_handling is gaps. In a time dimension the cumulative values are always null.
regression
LinearRegression | ExponentialRegression | LogarithmicRegression | LogisticRegression | SinusoidalRegression | null Trend line fitted over the series; null when none was computed.
forecast
RegressionForecast | null The trend line's projected next value; null when no trend was computed.

Metric Series Model

Fields

Field

Type

Description

object
"metric_series"
id
string
metric_id
string
hash
string Opaque identifier of the series' dimension combination, stable for the life of the metric.
label
string Per field in group_by, the value of the view's display field for it from fields, else the raw value; joined with " | ".
dimensions
Record<string, string | number | boolean | null> The group_by field values that define this series.
fields
Record<string, string | number | boolean> Values the series keeps from its latest records: the view's display fields for the fields in group_by, and the fields color rules read that are not in group_by. A field missing or null in a record leaves its value as it was.
first_seen_at
When the series was registered. Stamped with the processing time, so a backfill registers historical combinations at run time.
last_seen_at
Also stamped at registration; not a recency signal, use last_value_at for that.
last_value
number | null The most recent aggregated value observed for the series.
last_value_at
| null When last_value was recorded.

List Metrics

Endpoint

Retrieve a list of metrics for a project.

GET
/v1/projects/:project_id/metrics

Path Parameters

Field

Type

Description

project_id
string Unique identifier of the project.

Query Parameters

Field

Type

Description

view_id
string Return metrics that read from this view.
order_by
string Field used to order the metrics. Defaults to "name". Accepted values: "name".
deleted_at
NullableDateFilter Filter on deletion state. Pass null for metrics that are not scheduled for deletion.
limit
number Defaults to 25. Minimum: 1. Maximum: 200.
after
string Cursor from pagination.next_cursor of a previous response. Returns the resources after that page.
before
string Cursor from pagination.prev_cursor of a previous response. Returns the resources before that page.
sort
string Defaults to "asc". Accepted values: "asc","desc".

Response

200
{
  message: string;
  data: Metric[];
  status: 200;
  error: null;
  pagination: Pagination;
  endpoint: string;
}

Retrieve Metric

Endpoint

Retrieve a single metric.

GET
/v1/projects/:project_id/metrics/:metric_id

Path Parameters

Field

Type

Description

project_id
string Unique identifier of the project.
metric_id
string Unique identifier of the metric.

Response

200
{
  message: string;
  data: Metric;
  status: 200;
  error: null;
  pagination: null;
  endpoint: string;
}

Retrieve Metric Aggregation

Endpoint

Retrieve aggregated time-series data for a metric.

GET
/v1/projects/:project_id/metrics/:metric_id/aggregation

Path Parameters

Field

Type

Description

project_id
string Unique identifier of the project.
metric_id
string Unique identifier of the metric.

Query Parameters

Field

Type

Description

start_at
Start of the aggregation range. Send together with end_at.
end_at
End of the aggregation range. Send together with start_at.
interval
Requested aggregation bucket interval. A metric with a time dimension ignores it and always folds hourly data.
time_range
Preset used to calculate the aggregation range. Ignored when start_at and end_at are both sent. Defaults to the metric's saved chart range.
timezone
string IANA timezone used to calculate date boundaries and to place each hour in a time dimension's categories.
page_id
string Page whose saved custom range should be used. Applies only when time_range is custom.
normalize
boolean Whether the response includes empty time buckets. Defaults to true.
forecast_at
Future timestamp requested for a forecast.
series
string Comma-separated series hashes to return.
limit
integer Number of series to return per page. Defaults to the metric's ui_chart_max_series. Minimum: 1. Maximum: 200.
after
string Cursor from pagination.next_cursor of a previous response. Returns the resources after that page.
before
string Cursor from pagination.prev_cursor of a previous response. Returns the resources before that page.
sort
string Ranking direction of the series. desc returns the largest first. Defaults to the metric's ui_chart_order: asc for lowest, desc otherwise. Accepted values: "asc","desc".

Response

200
{
  message: string;
  data: TimeseriesAggregation;
  status: 200;
  error: null;
  pagination: Pagination;
  endpoint: string;
}

Create Metric

Endpoint

Create a metric for a project.

POST
/v1/projects/:project_id/metrics

Path Parameters

Field

Type

Description

project_id
string Unique identifier of the project.

Request Body

Field

Type

Requirement

Description

name
string
Required
The subject only, without the aggregation. Charts title themselves as the aggregation followed by this name, so API Latency renders as P95 of API Latency. Putting the aggregation here produces P95 of API P95 Latency. Minimum length: 1. Maximum length: 64.
view_id
string
Required
View that provides the metric's records. Maximum length: 32.
group_by
string[]
Optional
View fields used to split records into series. Defaults to [].
filters
string
Optional
A query string of ?field=operator:value pairs joined by &, applied when records are aggregated. For example ?status=equals:200 or ?level=in:error,warn&path=starts_with:/api. Comma-separate the values of in, not_in, and between. Every operator must be spelled in full; short forms such as eq: are rejected. Defaults to "". Maximum length: 8192.
timestamp_field
string
Optional
View field used as the aggregation timestamp. Defaults to "timestamp". Minimum length: 1. Maximum length: 256.
value_field
string | null
Optional
View field used as the numeric aggregation value.
unique_field
string | null
Optional
View field used to count distinct values.
null_handling
Optional
How null or missing metric values are aggregated. Defaults to "skip".
empty_bucket_handling
Optional
How chart buckets without observations are represented.
ui_chart_type
Optional
Default chart type.
ui_chart_color_mode
Optional
Strategy used to assign chart colors.
ui_chart_color_base
Optional
Base color used by intensity mode. In series mode, the color of a metric without group_by, which draws one series; null draws it blue.
ui_chart_color_rules
object[] | null
Optional
Ordered value-to-color rules used by value mode.
ui_chart_series_rules
object[] | null
Optional
Colors for series by value, in order: a series takes the color of the first rule it matches, and once a rule is active every other series is gray. Rules color only a metric with group_by. Rules Tailglow adds from its default list (errors red, warnings amber, successes green) are marked is_default, and rules the AI suggests are marked is_suggested.
ui_chart_show_alerts
boolean
Optional
Whether the chart displays alert markers.
ui_chart_show_trends
boolean
Optional
Whether the chart displays regression trends.
ui_chart_compact_values
boolean
Optional
Whether chart tooltips round values to compact notation, such as 321.3M instead of the full number.
ui_chart_y_min
number | null
Optional
Fixed lower bound for the chart's y axis. Null lets the axis fit the data.
ui_chart_y_max
number | null
Optional
Fixed upper bound for the chart's y axis. Null lets the axis fit the data.
ui_chart_show_forecast
boolean
Optional
Whether the chart opens with its forecast shown, projecting the fitted trend past now to the saved horizon.
ui_chart_forecast_horizon
Optional
How far past now the chart projects its forecast. The value is relative to when the chart is viewed, so it keeps projecting the same distance ahead as time passes.
ui_chart_forecast_model
Optional
Curve the forecast is fitted with. Use auto to follow whichever model currently fits the series best.
ui_value_unit
string
Optional
Unit label displayed with chart values. Maximum length: 32.
ui_chart_curve
Optional
Chart line interpolation style.
ui_chart_value
Optional
Aggregation value displayed by default.
ui_chart_time_range
Optional
Time range displayed by default.
ui_chart_interval
Optional
Aggregation interval displayed by default.
time_dimension
Optional
Calendar position the chart folds the metric's hourly data into, such as the hour of the day. Null charts the data over time.
ui_chart_order
string | null
Optional
Order the chart shows its series in: highest largest first, lowest smallest first, natural largest first with a time dimension kept in its own order (hour 0 to 23, Monday to Sunday). Null is natural, and value is read as highest. Accepted values: "natural","highest","lowest","value".
ui_chart_custom_range_start_at
Optional
Start of the custom chart range.
ui_chart_custom_range_end_at
Optional
End of the custom chart range.
ui_chart_max_series
integer
Optional
Number of series an aggregation returns per page when the request sends no limit. Minimum: 1. Maximum: 50.
backfill_strategy
Optional
Order used to rebuild historical data.

Response

201
{
  message: string;
  data: Metric;
  status: 201;
  error: null;
  pagination: null;
  endpoint: string;
}

Update Metric

Endpoint

Update an existing metric.

POST
/v1/projects/:project_id/metrics/:metric_id

Path Parameters

Field

Type

Description

project_id
string Unique identifier of the project.
metric_id
string Unique identifier of the metric.

Request Body

Field

Type

Requirement

Description

name
string
Optional
The subject only, without the aggregation. Charts title themselves as the aggregation followed by this name, so API Latency renders as P95 of API Latency. Putting the aggregation here produces P95 of API P95 Latency. Minimum length: 1. Maximum length: 64.
view_id
string
Optional
View that provides the metric's records. Maximum length: 32.
group_by
string[]
Optional
View fields used to split records into series.
filters
string
Optional
A query string of ?field=operator:value pairs joined by &, applied when records are aggregated. For example ?status=equals:200 or ?level=in:error,warn&path=starts_with:/api. Comma-separate the values of in, not_in, and between. Every operator must be spelled in full; short forms such as eq: are rejected. Maximum length: 8192.
timestamp_field
string
Optional
View field used as the aggregation timestamp. Minimum length: 1. Maximum length: 256.
value_field
string | null
Optional
View field used as the numeric aggregation value.
unique_field
string | null
Optional
View field used to count distinct values.
null_handling
Optional
How null or missing metric values are aggregated.
empty_bucket_handling
Optional
How chart buckets without observations are represented.
ui_chart_type
Optional
Default chart type.
ui_chart_color_mode
Optional
Strategy used to assign chart colors.
ui_chart_color_base
Optional
Base color used by intensity mode. In series mode, the color of a metric without group_by, which draws one series; null draws it blue.
ui_chart_color_rules
object[] | null
Optional
Ordered value-to-color rules used by value mode.
ui_chart_series_rules
object[] | null
Optional
Colors for series by value, in order: a series takes the color of the first rule it matches, and once a rule is active every other series is gray. Rules color only a metric with group_by. Rules Tailglow adds from its default list (errors red, warnings amber, successes green) are marked is_default, and rules the AI suggests are marked is_suggested.
seen_suggestions_at
Optional
The newest suggested_at among the rules you loaded. A suggestion or default left out of ui_chart_series_rules is dismissed only when it is no newer than this; without it, nothing is dismissed.
ui_chart_show_alerts
boolean
Optional
Whether the chart displays alert markers.
ui_chart_show_trends
boolean
Optional
Whether the chart displays regression trends.
ui_chart_compact_values
boolean
Optional
Whether chart tooltips round values to compact notation, such as 321.3M instead of the full number.
ui_chart_y_min
number | null
Optional
Fixed lower bound for the chart's y axis. Null lets the axis fit the data.
ui_chart_y_max
number | null
Optional
Fixed upper bound for the chart's y axis. Null lets the axis fit the data.
ui_chart_show_forecast
boolean
Optional
Whether the chart opens with its forecast shown, projecting the fitted trend past now to the saved horizon.
ui_chart_forecast_horizon
Optional
How far past now the chart projects its forecast. The value is relative to when the chart is viewed, so it keeps projecting the same distance ahead as time passes.
ui_chart_forecast_model
Optional
Curve the forecast is fitted with. Use auto to follow whichever model currently fits the series best.
ui_value_unit
string
Optional
Unit label displayed with chart values. Maximum length: 32.
ui_chart_curve
Optional
Chart line interpolation style.
ui_chart_value
Optional
Aggregation value displayed by default.
ui_chart_time_range
Optional
Time range displayed by default.
ui_chart_interval
Optional
Aggregation interval displayed by default.
time_dimension
Optional
Calendar position the chart folds the metric's hourly data into, such as the hour of the day. Null charts the data over time.
ui_chart_order
string | null
Optional
Order the chart shows its series in: highest largest first, lowest smallest first, natural largest first with a time dimension kept in its own order (hour 0 to 23, Monday to Sunday). Null is natural, and value is read as highest. Accepted values: "natural","highest","lowest","value".
ui_chart_custom_range_start_at
Optional
Start of the custom chart range.
ui_chart_custom_range_end_at
Optional
End of the custom chart range.
ui_chart_max_series
integer
Optional
Number of series an aggregation returns per page when the request sends no limit. Minimum: 1. Maximum: 50.
backfill_strategy
Optional
Order used to rebuild historical data.
deleted_at
null
Optional
Send null to restore a metric that is scheduled for deletion. The deletion date itself is set by the delete endpoint and cannot be written here.

Response

200
{
  message: string;
  data: Metric;
  status: 200;
  error: null;
  pagination: null;
  endpoint: string;
}

Backfill Metric Data

Endpoint

Backfill a metric's historical data from its view.

POST
/v1/projects/:project_id/metrics/:metric_id/backfill

Path Parameters

Field

Type

Description

project_id
string Unique identifier of the project.
metric_id
string Unique identifier of the metric.

Response

200
{
  message: string;
  data: Metric;
  status: 200;
  error: null;
  pagination: null;
  endpoint: string;
}

Delete Metric

Endpoint

Delete a metric.

DELETE
/v1/projects/:project_id/metrics/:metric_id

Path Parameters

Field

Type

Description

project_id
string Unique identifier of the project.
metric_id
string Unique identifier of the metric.

Response

200
{
  message: string;
  data: Metric;
  status: 200;
  error: null;
  pagination: null;
  endpoint: string;
}

Force Delete Metric

Endpoint

Delete a metric permanently, without waiting out its restore window.

DELETE
/v1/projects/:project_id/metrics/:metric_id/force

Path Parameters

Field

Type

Description

project_id
string Unique identifier of the project.
metric_id
string Unique identifier of the metric.

Response

200
{
  message: string;
  data: null;
  status: 200;
  error: null;
  pagination: null;
  endpoint: string;
}

List Metric Series

Endpoint

Retrieve the series discovered for a metric.

GET
/v1/projects/:project_id/metrics/:metric_id/series

Path Parameters

Field

Type

Description

project_id
string Unique identifier of the project.
metric_id
string Unique identifier of the metric.

Query Parameters

Field

Type

Description

limit
number Maximum number of items to return. Defaults to 25. Minimum: 1. Maximum: 200.
after
string Cursor from pagination.next_cursor of a previous response. Returns the resources after that page.
before
string Cursor from pagination.prev_cursor of a previous response. Returns the resources before that page.
sort
string Sort direction for the result set. Defaults to "desc". Accepted values: "asc","desc".
order_by
string Field used to order the metric series. Defaults to "first_seen_at". Accepted values: "first_seen_at","last_seen_at".
search
string Substring matched against hashes, dimension values and carried field values. Minimum length: 1. Maximum length: 128.

Response

200
{
  message: string;
  data: MetricSeriesRecord[];
  status: 200;
  error: null;
  pagination: Pagination;
  endpoint: string;
}

Referenced Types

NullableDateFilter

Nullable date filters accept everything a date filter accepts, plus null to match records where the field is unset and not:null to match records where it is set.

ISODateString

An ISO 8601 date-time string returned at the JSON API boundary.

MetricStatus

initializing
waiting_for_transforms
backfilling
active
error
cancelled

NullHandling

skip
count_as_zero

EmptyBucketHandling

zero
gaps

BackfillStrategy

newest_first
oldest_first

ChartFamily

cartesian
radial
geographic
temporal
hierarchical

ChartType

line
area
bar
pie
scatter
radar
stat
gauge
calendar
uptime
breakdown
heatmap
table

ChartColorMode

by_series
by_intensity
by_value

ChartColor

blue
red
amber
green
teal
purple
pink
lime
indigo
fuchsia
orange

ChartCurve

linear
step
smooth

ForecastHorizon

next_7_days
next_30_days
next_90_days
end_of_quarter
end_of_year
next_year

How far past now a chart projects its forecast. Values are relative to the moment the chart is viewed, so a saved horizon keeps projecting the same distance ahead as time passes rather than expiring on a fixed date. end_of_quarter and end_of_year run to the end of the calendar period that contains today, in UTC.

ForecastModel

auto
linear
exponential
logarithmic
logistic
sinusoidal

The curve a forecast is fitted with. auto follows the best-fitting model for the series, which is recalculated as data arrives and can therefore change between views; naming a model pins the projection to that curve.

MetricChartValue

count
average
sum
min
max
last
cumulative_sum
cumulative_count
p50
p95
p99
count_unique

Aggregation applied to a metric's values. Use last when records are snapshots of a persistent thing such as a deal, user, or inventory item: each time bucket contains the latest reading for that series in the bucket. Within the requested range, the last observed value carries forward across complete empty intervals instead of reading them as zero.

AnalyticsTimeRange

last_hour
last_6_hours
today
last_24_hours
yesterday
this_week
last_week
this_month
last_month
this_quarter
last_quarter
this_year
last_year
last_7_days
last_30_days
last_90_days
last_365_days
all_time
custom
next_7_days
next_30_days
next_90_days

The window a chart reads. Stored as a plain string rather than a database enum: the set is presentation, not something any query filters on, and the forward ranges in particular are expected to change as we learn what people forecast over. A next_* range ends after now, which is what turns a fitted trend into a visible forecast. The measured half of such a range is still measured; only the part past now is projected.

ChartInterval

minute
hour
day
month
auto

The Data Interval setting (Metric.ui_chart_interval and the aggregation interval query param). "auto" means the server picks the finest-safe tier for the current view, so brush-zoom naturally drills into a finer bucket. The RESOLVED tier returned by aggregation is always a plain DataInterval.

TimeDimension

hour_of_day
weekday
hour_of_week

The calendar position a metric's hourly data folds into. hour_of_day folds into hours 0 to 23, weekday into ISO weekdays 1 (Monday) to 7 (Sunday), and hour_of_week into the 168 hours of a week, numbered (weekday - 1) * 24 + hour.

ChartOrder

natural
highest
lowest

How a breakdown chart orders its groups. natural keeps their own order (hours, weekdays), value ranks them largest first.

DataInterval

minute
hour
day
month