Versions Compared

Key

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

...

Folder structureDescription

└── RT

Name of the chart template

├── conf.json

This contains the user input for the provider configuration and chart configuration.

├── gadget-controller.jag This contains the channel to link the backend and the front-end of the gadget.
├── gadget.json This contains gadget meta information.
├── thumbnail.pngThis is the gadget thumbnail file.
 ├── gadget.xmlThis is the gadget XML file that defines the gadget.
 ├── css 
│ └── line-chart.cssThis refers to chart template that the author writes in CSS format. The author may opt to write CSS or JS files based on their requirement.
├── js 
│ ├── line-chart.js This refers to chart template that the author may write in JS format. The author may opt to write CSS or JS files based on their requirement.
│ ├── core  
│ │ ├── gadget-core.js This file handles the front-end rendering of the gadget.
│ │ ├── line-chart-api.jsThis refers to the api.js file that corresponds to the chart template, which is prefixed by the name of the chart (e.g., line-chart).
  │ │ ├── rdbms-provider-api.jsThis refers to the api.js file that corresponds to the provider, which is prefixed by the provider (e.g., rdbms).
│ │ └── provider-client.js In WSO2 Dashboard ServerDAS, the client.js file is automatically renamed to provider-client.js.
│ └── provider-libs These are libraries for client-side provider functionality.
│ └── ws-client.js  
└── libs  
│ └── vizGrammar-1.0.0 Chart specific third-party libraries.
│ ├── d3.min.js  
│ ├── test.css