Data can be attached to a dashboard from code — here a JSON file is parsed and registered before the dashboard is shown.

Load, then parse and register JSON.
this.Report = StiReport.CreateNewDashboard();
this.Report.Load("Dashboards/Dashboard.mrt");

var jsonBytes = System.IO.File.ReadAllBytes("Dashboards/Demo.json");
var dataSet = StiJsonConnector.Get().GetDataSet(new StiJsonOptions(jsonBytes));

this.Report.Dictionary.Databases.Clear();
this.Report.RegData("Demo", "Demo", dataSet);

How it works. The dashboard elements resolve their expressions against the registered data, so one template works with any compatible JSON source.
In the screenshot below you can see the result of the sample code:

Registering a Data for the Dashboard

Hi. Need any help?