var dashboardId = "AppsStats";
var revealSettings = new $.ig.RevealSettings(dashboardId);
$.ig.RevealUtility.loadDashboard(dashboardId, function (dashboard) {
revealSettings.dashboard = dashboard;
var applicationNameFilter = dashboard.getFilterByTitle("application_name");
revealSettings.setFilterSelectedValues(applicationNameFilter, ["App2"]);
window.revealView = new $.ig.RevealView("#revealView", revealSettings);
}, function (error) {
});