JavaScript Embedded AnalyticsState Reference

Implements the AgReportState interface. See State for usage details.

AgReportState Copy Link

All pages in the report
selectedPageIdCopy Link
string
The currently selected (displayed) page
panelsCopy Link
AgPanelsState
Panel state
AI Assistant state
versionCopy Link
string
AG Studio version that state was created from. If undefined, will default to latest version

AgPageState Copy Link

string
string
widgetsCopy Link
Partial<Record<string, AgWidget>>
Widget configuration
widgetLayoutCopy Link
Partial<Record<string, AgWidgetLayoutState>>
Widget position and size in the layout
layoutCopy Link
Partial<AgPageLayoutState>
Layout configuration
filterCopy Link
AgFiltersState
Active page and widget-level filters that show in the filters panel
crossFilterCopy Link
AgCrossFilterState
Active cross-filter selection
selectionCopy Link
AgSelectionState
Active selection (widget or field)

AgAiAssistantState Copy Link

activeThreadIdCopy Link
string
ID of the currently active thread
threadsCopy Link
AgAiThreadState[]
AgAiThreadState[]