Skip to content

multiLineMetricGraphData

Fetch data for multi line metric graphs for a given user

Arguments

end_date · String · End of the date range, must be sent in with a start date.
start_date · String · Start of the date range, must be sent in with an end date.

Returns

MultiLineMetricGraphDataType

Example

query multiLineMetricGraphData(
$category: String
$end_date: String
$entry_type: String
$food_graph_type: String
$start_date: String
$sub_category: String
$user_id: String
) {
multiLineMetricGraphData(
category: $category
end_date: $end_date
entry_type: $entry_type
food_graph_type: $food_graph_type
start_date: $start_date
sub_category: $sub_category
user_id: $user_id
) {
category
category_label
has_entry
metric_graph_datas
}
}