SHARE
TWEET

Untitled

a guest Nov 12th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function chartDarkTheme() {
  2.     _widgetMachineStatus.data.datasets[0].backgroundColor = '#7cb305'; //Running
  3.     _widgetMachineStatus.data.datasets[1].backgroundColor = '#fa8c16'; //Wait
  4.     _widgetMachineStatus.data.datasets[2].backgroundColor = '#ff7875'; //Error
  5.     _widgetMachineStatus.data.datasets[3].backgroundColor = '#8c8c8c'; //Unknown
  6.     _widgetMachineStatus.data.datasets[4].backgroundColor = '#8c8c8c'; //Disconnect
  7.     _widgetMachineStatus.update();
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top