Table of Contents

Class VizPageBuilder

Inheritance
VizPageBuilder
Inherited Members
Namespace
TabularEditor.Shared.Scripting
Assembly
TabularEditor3.Shared.dll

Fluent builder for configuring a viz page.

public class VizPageBuilder
Extension Methods

Methods

AddPageFilter(string, string)

Add a page-level filter (slicer) for the specified table column.

public VizPageBuilder AddPageFilter(string table, string column)

Parameters

Type Name Description
string table
string column

Returns

Type Description
VizPageBuilder

AddVisual(string, int?, int?, int?, int?)

Add a visual to the page. Supported types: bar, line, donut, kpi, table, matrix, scatter, histogram, heatmap, radar, sankey, waterfall, treemap, choropleth, distribution. Position and size are optional (auto-layout if omitted).

public VizVisualBuilder AddVisual(string type, int? x = null, int? y = null, int? w = null, int? h = null)

Parameters

Type Name Description
string type
int? x
int? y
int? w
int? h

Returns

Type Description
VizVisualBuilder

SetName(string)

Set the page name.

public VizPageBuilder SetName(string name)

Parameters

Type Name Description
string name

Returns

Type Description
VizPageBuilder