Search
ServiceDataSource Constructor
See Also
 






Initializes a new instance of the ServiceDataSource class.

Namespace: MindFusion.Dashboards
File: ServiceDataSource.js

 Syntax

JavaScript  Copy Code

function ServiceDataSource (id, [options])

 Parameters

id

String. A unique identifier for this data source.

options

object. Configuration options for the service.

options.url

string. The URL to fetch the JSON data from.

options.refreshInterval
Optional.

number. An interval in milliseconds to automatically poll the data.

 See Also