Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

VisualBlock`1

Namespace ChartForgeX.VisualBlocks

Base class for fluent visual block models.

Inheritance

  • Object
  • VisualBlock`1

Type Parameters

TSelf
The concrete visual block type.

Methods

WithCard(System.Boolean arg1) #

Sets whether the outer card surface should be rendered.

Parameters

arg1 System.Boolean required
WithPadding 2 overloads
WithPadding(System.Double arg1) #

Sets uniform inner content padding.

Parameters

arg1 System.Double required
WithPadding(System.Double arg1, System.Double arg2, System.Double arg3, System.Double arg4) #

Sets the inner content padding.

Parameters

arg1 System.Double required
arg2 System.Double required
arg3 System.Double required
arg4 System.Double required
WithPngOutputScale(System.Int32 arg1) #

Sets the output pixel multiplier used by PNG exports.

Parameters

arg1 System.Int32 required
WithSize(System.Int32 arg1, System.Int32 arg2) #

Sets the rendered block size.

Parameters

arg1 System.Int32 required
arg2 System.Int32 required
WithSubtitle(System.String arg1) #

Sets the block subtitle.

Parameters

arg1 System.String required
WithTheme(ChartForgeX.Themes.ChartTheme arg1) #

Sets the visual theme.

Parameters

arg1 ChartForgeX.Themes.ChartTheme required
WithTitle(System.String arg1) #

Sets the block title.

Parameters

arg1 System.String required
WithTransparentBackground(System.Boolean arg1) #

Sets whether the full background should stay transparent.

Parameters

arg1 System.Boolean required

Properties

Title #

Gets or sets the block title.

Subtitle #

Gets or sets the block subtitle.

Options #

Gets shared rendering options.

AccessibleName #

Gets a concise accessibility label.