Skip to main content
Version: 8.1

AnalyticsService class

Level: advanced

Class implements the functionality of getting settings and the dashboards data.

Methods

Stream GetDashboardViewConfig(Guid id)

Returns the settings of a view and widgets on the dashboards tab by the dashboard page Id.

Stream GetDashboardData(Guid id, int timeZoneOffset)

Returns the data from all widgets on the dashboards tab by the dashboard page Id.

Stream GetDashboardItemData(Guid dashboardId, string itemName, int timeZoneOffset)

Returns data from athe specific widget by the dashboard page Id and the widget name.

timeZoneOffset – the time zone offset (in minutes) from the UTC. Dashboards data will be received using this time zone.