Skip to main content

ejPivotTreeMap

Namespace: Wisej.Web.Ext.Syncfusion

Assembly: Wisej.Web.Ext.Syncfusion (4.1.0.0)

The PivotTreemap is a lightweight control that reads OLAP information and visualizes it in graphical format with the ability to drill up and down.

public class ejPivotTreeMap : ejBase

Constructors​

Instance member ejPivotTreeMap()​

Constructs a new instance of the ejPivotTreeMap class.

Example:

The following example creates the pivot tree map and defines the OLAP data source through the options.

var pivotTreeMap = new ejPivotTreeMap();
pivotTreeMap.Options.dataSource = new
{
data = "https://server/olap/msmdpump.dll",
catalog = "Adventure Works DW 2008 SE",
cube = "Adventure Works",
rows = new[] { new { fieldName = "[Date].[Fiscal]" } },
columns = new[] { new { fieldName = "[Customer].[Customer Geography]" } },
values = new[]
{
new
{
measures = new[] { new { fieldName = "[Measures].[Internet Sales Amount]" } },
axis = "columns"
}
}
};
pivotTreeMap.Dock = DockStyle.Fill;
this.Controls.Add(pivotTreeMap);

Instance member ejPivotTreeMap(options)​

Constructs a new instance of the ejPivotTreeMap class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a pivot tree map that reads the sales amount by customer geography from an OLAP cube.

var pivotTreeMap = new ejPivotTreeMap(new
{
dataSource = new
{
data = "https://server/olap/msmdpump.dll",
catalog = "Adventure Works DW 2008 SE",
cube = "Adventure Works",
rows = new[] { new { fieldName = "[Customer].[Customer Geography]" } },
columns = new[] { new { fieldName = "[Date].[Fiscal]" } },
values = new[]
{
new
{
measures = new[] { new { fieldName = "[Measures].[Internet Sales Amount]" } },
axis = "columns"
}
}
}
});
pivotTreeMap.Dock = DockStyle.Fill;
this.Controls.Add(pivotTreeMap);

Implements​