multiLineMetricGraphData
Graph data with multiple data series for a single specified metric category
Arguments
entry_type
· String · The entry type to filter by. Defaults to MetricEntry. food_graph_type
· String · Type of nutrition graph breakdown: nutrients_split, nutrients_split_full, or a specific nutrient. Defaults to nutrients_split. start_date
· String · Start of the date range, must be sent in with an end date. sub_category
· String · A sub-category filter within the selected category. When category is Client Sources, specifies which referral channel to break down into individual source lines. Not used by other categories currently. Defaults to empty string which returns no data. 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 }}