Table of Contents

Class VizReportBuilder

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

Fluent builder for configuring a viz report.

public class VizReportBuilder
Extension Methods

Methods

AddPage(string)

Add a page to the report.

public VizPageBuilder AddPage(string name)

Parameters

Type Name Description
string name

Returns

Type Description
VizPageBuilder

SetFont(string)

Set the report font family.

public VizReportBuilder SetFont(string family)

Parameters

Type Name Description
string family

Returns

Type Description
VizReportBuilder

SetPalette(string)

Set the color palette by preset name (e.g. "default", "warm-earth", "ocean").

public VizReportBuilder SetPalette(string name)

Parameters

Type Name Description
string name

Returns

Type Description
VizReportBuilder

SetPalette(params string[])

Set a custom color palette from hex color strings.

public VizReportBuilder SetPalette(params string[] hexColors)

Parameters

Type Name Description
string[] hexColors

Returns

Type Description
VizReportBuilder