Project

ChartForgeX

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

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

VisualLayoutOptions

Namespace ChartForgeX.Rendering
Assembly ChartForgeX
Modifiers sealed

The resolved viewport and outer padding used by every prepared visual.

Inheritance

  • Object
  • VisualLayoutOptions

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Constructors

VisualLayoutOptions 2 overloads
public VisualLayoutOptions(VisualSize size, Double padding = 24) #

Creates a fixed viewport. Hosts implement fit sizing by supplying their measured viewport.

Parameters

size ChartForgeX.Rendering.VisualSize requiredposition: 0
padding System.Double = 24 optionalposition: 1
public VisualLayoutOptions(VisualSize size, ChartPadding padding) #

Creates a fixed viewport with independently configured outer edge insets.

Parameters

size ChartForgeX.Rendering.VisualSize requiredposition: 0
padding ChartForgeX.Primitives.ChartPadding requiredposition: 1

Properties

public VisualSize Size { get; } #

Gets the resolved logical size.

public Double Padding { get; } #

Gets the smallest outer edge inset. Uniform layouts return their configured scalar padding.

public ChartPadding PaddingEdges { get; } #

Gets the outer edge insets in logical units.