0.1.4 • Published 6 years ago

dd-dashboard-widget-dynamic-sample v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

DO4DSX Dashboard Widget Dynamic Sample

Decision Optimization for DSX Dashboard Widget Sample. https://github.ibm.com/gilles-dandrea/dd-dashboard-widget-dynamic-sample

See Dashboard GitHub Repository for more informations on Dashboards.

Requirements for development

  • Recent Node and Npm installed. I currently use node v8.9.4 and npm v5.6.0
  • Install yarn with npm i -g yarn

Note that everything below is MacOS oriented, but it should work on windows too.

How to use this Widget:

  1. Install required packages with yarn install

  2. Build the dynamic sample widget library with yarn build

  3. (Don't) publish the library with yarn publish. (it is already published)

  4. In DO4DSX Dashboard, edit the JSON configuration file and add the following lines:

  "extensions": [
    {
      "widget": "dd-dashboard-widget-dynamic-sample",
      "js": "https://unpkg.com/dd-dashboard-widget-dynamic-sample"
    }
  ]

widget is the global variable defined by the library. By default it's the library name and it can be customized in webpack.config.lib.js thanks to library field. js is the URL of the widget library. An additional CSS can be loaded with css.

How to enhance this Widget:

See mode advanced examples in Dashboard GitHub Repository, such in packages/dd-dashboard-widget-table or packages/dd-dashboard-widget-vega-charts

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago