Skip to main content

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.

public class Dashboard : wxBase

Constructors​

Instance member 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);

Instance member Dashboard(options)​

Constructs a new instance of the Dashboard class.

NameTypeDescription
optionsObjectInitial 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);

Implements​