Black background when data yields no results.
Hi, I am trying to adjust my script so the black background continues to be black even when "No Results" are shown. Right now, I have a dashboard that has black background with white text, but the charts the don't yield any data at certain times revert to white backgrounds. Is there a way to make the background remain black when there are "No Results?" code excerpt: // APPLY GLOBAL STYLES dashboard.on('initialized', (dash) => { const styles = ` body { background-color: black !important; } widget-header { background-color: black !important; color: white !important; } .widget-title { color: white; } .widget-body, .widget-empty, .widget-body .no-data { background-color: black !important; color: white !important; } .widget-chart-container, .widget-chart-container .no-data { background-color: black !important; color: white !important; } text, .no-data-text { color: white !important; font-size: 16px !important; fill: white !important; } .x-axis text { text-anchor: middle !important; } .pivot-container { border: none !important; } .pivot-header, .pivot-cell, .pvtVal { background-color: green; } .pivot-header, .pivot-cell, .table-grid_row { color: white; fill: white; } .table-grid.table-grid--fixed.table-grid--columns.table-grid--top.table-grid--right.active { background-color: black !important; } .tablewidget-widget-content, .tablewidget-widget-content tr, div#grid_paginate { background: black !important; } .tablewidget-widget-content tr th, .tablewidget-widget-content td { color: white !important; } .tablewidget-widget-content tr:hover td { color: black !important; } // Additional styles for potential empty chart elements .chart-container.empty-chart, .chart-container .empty-message { background-color: black !important; color: white !important; } ` const styleSheet = document.createElement("style") styleSheet.innerText = styles document.head.appendChild(styleSheet) })Solved1.4KViews0likes2CommentsTabber Automatic Switching
Hello All, I am creating a dashboard that is displayed on a TV monitor and someone will not be able to manually click between the tabs. Has anyone had success creating a script that would switch between the two tabs automatically every 30 seconds?Solved2.5KViews0likes5CommentsRSUM with multiple dimensions
Hi everyone, I am trying to create a running sum formula in a Pivot table. The formula is RSUM([Total net revenue )]). When I have 1 dimension in the Pivot table (item number), the formula works as expected. However, when I add more fields (item name, etc.) the running sum values are not correct. I have also tried RSUM([Total net revenue],TRUE) but this does not work.3.1KViews0likes5Comments