Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
{ "version": 1.0,
  layout:
  { "type": "singleColumn",
    "column": ["w1", "w2"], 
    
  },
  widgets:
  {
     "w1" :
        { "type:" : "query",
          "refreshPeriod", : 30000,
          "state" : "OPEN",
          "preference" : 
            {
               "id" : "<preference uuid>",
               "configuration" : { 
                 "queryLimit" ": 50
               }
            }
        },
    "w2" : {....}
  }
}
 

The layout dictionary specifies the layout of the widgets on page.  The type is used by a dashboard layout factory to produce a specialised dashboard layout widget .  Initially, there will be only one dashboard layout widget known as singleColumn.  It arranges the widgets vertically according to widget entries within an array list.  Widgets are identified by a identifier.  The widget identifier will be private and will neither be understood by  the end user nor the server.

...