...
Code Block |
---|
return api.dashboard("embeddedDashboardName") //.setParam("country_name", api.input("Country")) //.setParam("country_revenue", api.input("Revenu")) .showEmbedded() .andRecalculateOn(api.dashboardWideEvent("eventName")) .withEventDataAttr("name").asParam("country_name) .withEventDataAttr("value").asParam("country_revenue") |
Check out also the API Documentation.