The dashboard's data can be replaced at run time — re-register a fresh dataset and clear the cache so the viewer rebuilds.

Register new data and refresh.
function setData() {
    var jsonData = JSON.parse(jsonString.value);
    var dataSet = new Stimulsoft.System.Data.DataSet("Demo");
    dataSet.readJson(jsonData);

    report.regData("Demo", "Demo", dataSet);
    Stimulsoft.Report.Dashboard.StiCacheCleaner.clean();
    viewer.report = report;
}

How it works. Re-registering data and clearing the cache forces a rebuild, so the dashboard reflects updated values without reloading the page.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.