A data source that generates realistic mock data based on dashboard widget configurations and mockOptions.
The following tables list the members exposed by the MockDataSource type.
Public Constructors| Name | Description | |
|---|---|---|
![]() |
Initializes a new instance of the MockDataSource class. |
Public Properties| Name | Description | |
|---|---|---|
![]() |
Gets a value indicating whether data has been loaded. (Inherited from DataSource.) |
|
![]() |
Gets or sets the automatic refresh interval in milliseconds. (Inherited from DataSource.) |
Public Methods| Name | Description | |
|---|---|---|
![]() |
Generates mock data for the specified widget |
|
![]() |
Generates a mock data tree matching the data paths of all widgets bound to this data source. |
|
![]() |
Retrieves the available keys at the specified path. (Inherited from DataSource.) |
|
![]() |
Retrieves a value from the cached data object using a dot-separated path. (Inherited from DataSource.) |
|
![]() |
When implemented in a derived class, fetches the data. (Inherited from DataSource.) |
|
![]() |
Refreshes the data by calling the load() method, caches the result in the 'data' property, and returns it. (Inherited from DataSource.) |
See Also