Dashboard
Namespace: Wisej.Web.Ext.Webix
Assembly: Wisej.Web.Ext.Webix (4.1.0.0)
Webix Dashboard is a precise but flexible widget that will help you to build an easily configurable web application.
- C#
- VB.NET
public class Dashboard : wxBase
Public Class Dashboard
Inherits wxBase
Constructors
Dashboard()
Constructs a new instance of the Dashboard class.
Example:
The following example creates a dashboard with a grid of 4 x 3 cells and adds two panels.
var dashboard = new Dashboard();
dashboard.Options.gridColumns = 4;
dashboard.Options.gridRows = 3;
dashboard.Options.cells = new[]
{
new { view = "panel", x = 0, y = 0, dx = 2, dy = 1, body = new { template = "Sales" } },
new { view = "panel", x = 2, y = 0, dx = 2, dy = 1, body = new { template = "Orders" } }
};
dashboard.Dock = DockStyle.Fill;
this.Controls.Add(dashboard);
Dashboard(options)
Constructs a new instance of the Dashboard class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a dashboard with resizable panels; x, y, dx and dy are expressed in grid cells.
var dashboard = new Dashboard(new
{
gridColumns = 3,
gridRows = 2,
cells = new[]
{
new { view = "panel", x = 0, y = 0, dx = 1, dy = 2, resize = true, body = new { template = "Tasks" } },
new { view = "panel", x = 1, y = 0, dx = 2, dy = 1, resize = true, body = new { template = "Revenue" } },
new { view = "panel", x = 1, y = 1, dx = 2, dy = 1, resize = true, body = new { template = "Visitors" } }
}
});
dashboard.Dock = DockStyle.Fill;
this.Controls.Add(dashboard);