OBJECT

MetricGraphDataType

Metric Graph data

link GraphQL Schema definition

  • 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
  • }