Forums
Script for best fit line dashboard - 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 for best fit line dashboard (/showthread.php?tid=610)



Script for best fit line dashboard - shreekantgosavi - 12-23-2022

sdk.setBestFitLine('Plot1',[{
'FieldName': 'X1',
'EnableLine': true,
'LineWidth': "2",
'LineColor': "#000000",
'LineType': 'straight' // (dot,dash,dash1)
}]);