Skip to content

MetricGraphDataType

Metric Graph data

Fields

category · String · Category of the metric, e.g. "Weight" or "Steps"
category_label · String · Label for the category, e.g. "Weight" or "Steps"
data_points · [MetricDataPointType!] · Data points for the graph
has_entry · Boolean · False if the category has no entry
max · Float · Maximum value of the data points
min · Float · Minimum value of the data points
xtick_type · String · Type of xtick, e.g. "date" or "time"
ytick_type · String · Type of ytick, e.g. "date" or "time"

Used By

Definition

"""
Metric Graph data
"""
type MetricGraphDataType {
"""
Category of the metric, e.g. "Weight" or "Steps"
"""
category: String
"""
Label for the category, e.g. "Weight" or "Steps"
"""
category_label: String
"""
Data points for the graph
"""
data_points: [MetricDataPointType!]
"""
False if the category has no entry
"""
has_entry: Boolean
"""
Maximum value of the data points
"""
max: Float
"""
Minimum value of the data points
"""
min: Float
"""
Type of xtick, e.g. "date" or "time"
"""
xtick_type: String
"""
Type of ytick, e.g. "date" or "time"
"""
ytick_type: String
}