HTML JavaScript Dashboard Control

Topics in this section describe how to configure the client-side JavaScript Dashboard control and integrate it to the web application.

You can create a web application with the HTML JavaScript dashboard using one of the following approaches:

  • Global Namespaces

    When you use this approach, the HTML JavaSCript Dashboard control comes in a pre-assembled dx-dashboard.js bundle. In this approach, you need to get the scripts and dependencies from the npm package and manually add them to the page.

  • Modularity

    Alternatively, you can use Dashboard modules to import only the functionality you require. HTML JavaScript Dashboard use the following modules: Dashboard, Dashboard.Data, Dashboard.Designer, and Dashboard.Model. Unlike the global namespaces, modules are compact and can be loaded on demand. In this approach, scripts and dependencies are installed automatically from the npm package.

Both approaches are based on the client-server model, that is, you need to create a server (backend) project and a client (frontend) part that includes all the necessary styles, scripts and HTML-templates.

Basic Configuration

The topics below shows how to configure the HTML JavaScript control as a client (frontend) application and how to create and configure a server (backend) project.

Customization

Shows how to customize the HTML JavaScript dashboard on the client side.

Describes how to specify the Web Dashboard's mode.

Describes how to change the color scheme used to paint a Web Dashboard.

Shows how to extend the control's functionality using independent JavaScript modules/classes called extensions.

Contains tutorials that teach you how to create a custom dashboard item.

See Also