Widgets
Metric Widget
introduction the metric widget presents a high level interpretation based on metrics derived from data collected over an extended period by aggregating multiple measurements, it offers users a broader understanding of their health trends and insights ideal for users interested in comprehensive health tracking, this widget can display aggregated values like stress levels or fitness scores itβs designed to provide an overview that aids in interpreting long term health progress layout intelliwidgets js sdk docid\ dekcuoaphrmczxe caj5v usage creating the widget the code snippet below creates a metric widget and widgets docid\ sxvsw2jfsohr7xbxeyz j it to the dom create and mount widget const intelli = intelliprovewidgets("user action token"); const config = { / config / }; const variation = "default"; const themeoverrides = { / theme overrides / }; intelli mountwidget( "#heart rate tile", "metric", config, variation, themeoverrides ); config the metric widget requires additional configuration parameters that describes which parameter should be displayed config const config = { parameter "sleep quality" } true false 296false unhandled content type false unhandled content type false unhandled content type false unhandled content type list of available metrics docid\ yeqwskx81eju z8n3djhy true false 300,844false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type variation reserved for future use theme overrides the metric widget allows widget appearance