Forums
Script to change dataset text and styling if 'Data not available' - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43)
+---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16)
+---- Thread: Script to change dataset text and styling if 'Data not available' (/showthread.php?tid=632)



Script to change dataset text and styling if 'Data not available' - Anubhav - 12-24-2022

sdk.getWidget('plot200').m_status.noDataset = "Data set not yet available";
sdk.getWidget('plot200').m_status.m_statusfontsize=14;
sdk.getWidget('plot200').m_statuscolor = "#282830";