diff --git a/html/index.html b/html/index.html index 268b383..5dec36d 100644 --- a/html/index.html +++ b/html/index.html @@ -12,21 +12,21 @@ function initViz() { var containerDiv = document.getElementById("vizContainer"), - url = "https://public.tableau.com/views/RegionalSampleWorkbook/College", + url = "https://dub01.online.tableau.com/#/site/xpanditservices/views/PorData-DashboardMonitorizaoTcnico/DashboardMonitorizao?:iid=2", options = { - "Academic Year": "", + "Estado": "", hideTabs: true }; viz = new tableau.Viz(containerDiv, url, options); } - function yearFilter(year) { + function estadoFilter(estado) { var sheet = viz.getWorkbook().getActiveSheet(); - if (year === "") { - sheet.clearFilterAsync("Academic Year"); + if (estado === "") { + sheet.clearFilterAsync("Estado"); } else { - sheet.applyFilterAsync("Academic Year", year, tableau.FilterUpdateType.REPLACE); + sheet.applyFilterAsync("Estado", estado, tableau.FilterUpdateType.REPLACE); } } @@ -35,10 +35,10 @@
- Year: - - + +