AnalyticsControl Class

The AnalyticsControl is a control that can be dropped onto a client form or window to display analytics content from inmydata.

Definition

Namespace: inmydata.WindowsForms.Library
Assembly: inmydata.WindowsForms.Library (in inmydata.WindowsForms.Library.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public class AnalyticsControl : UserControl, 
	AnalyticsControl_AnalyticsControl

Constructors

Properties

AIChatChartID Gets the AIChatChartID which should be displayed with this control.
ContentType Gets the Content Type which should be displayed with this control.
Enabled Gets and sets the whether this control is enabled.
ID Gets the ID which should be used with this control.
InsightChartID Gets the InsightChartID which should be displayed with this control.
Question Gets the Question which should be used with this control.
Server Gets the inmydata server which should be used with this control.
ShowToolbar Gets whether the tool bar is shown when displaying content that is a visualisation.
ShowTools Gets whether the visualisation tools are displayed.
ShowToolToggle Gets whether the visualisation tools can be toggled.
Subject Gets the Subject which should be used with this control.
Tenant Gets an the inmydata tenant which should be used with this control.
Visible Gets and sets the whether this control is visible.
VisReadOnly Gets whether the visualisation can be modified.

Methods

AnalyticsControl Instantiates a new AnalyticsControl instance
LoadView Loads the content into the Analytics control based on the properties set previously.
ShowDevTools Shows the developer tools for the web view.

Events

AIChatMessage The AIChatMessage event which fires when a message is displayed in an AI chat. This could be the question, the answer or thinking messages from the AI as it reasons to determine an answer.
AIChatShowCharts The AIChatShowCharts event which fires when the user clicks the Show Charts button in an AI Chat. This event allows the developer to code how the chart should be presented to the user. It could be in the same Analytics Control as the AI chat or a separate one.
Drilldown The Drilldown event which fires when the user drills down on an inmydata dashboard or visualisation. This event allows the developer to override the drilldown based on the subject, dashboard/visualisation name, data values or user. It also allows the developer to code response to the drilldown such as opening a specific screen in the host application.
InsightOpened The InsightOpened event which fires when the user clicks on a insight in the insights view. This event allows the developer to code how the chart illustrating the insight should be presented to the user. It could be in the same Analytics Control as the AI chat or a separate one.

See Also