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

VisualSvgOptions

Namespace ChartForgeX.Rendering
Assembly ChartForgeX
Modifiers sealed

Controls safe host integration of a detached SVG without changing its layout or static pixels.

Inheritance

  • Object
  • VisualSvgOptions

Usage

Explore 1 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.

Accepted by parameters 1

Constructors

public VisualSvgOptions(String? idPrefix = null, SvgColorVariables? colorVariables = null, VisualSvgLinkTarget linkTarget = SameContext, Boolean responsive = false) #

Creates a detached SVG export policy.

Parameters

idPrefix System.String? = null optionalposition: 0
Unique host namespace; null uses a deterministic content namespace.
colorVariables ChartForgeX.Themes.SvgColorVariables? = null optionalposition: 1
Host CSS properties with resolved static fallback colors. The mapping is copied.
linkTarget ChartForgeX.Rendering.VisualSvgLinkTarget = SameContext optionalposition: 2
Whether safe scene links use the current browsing context or a new protected context.
responsive System.Boolean = false optionalposition: 3
Whether inline SVG shrinks to its host width while preserving the logical viewport and aspect ratio.

Properties

public String? IdPrefix { get; } #

Gets the host ID namespace, or null for a deterministic content namespace.

public SvgColorVariables? ColorVariables { get; } #

Gets an independent copy of the host color mapping.

public VisualSvgLinkTarget LinkTarget { get; } #

Gets the safe link target policy.

public Boolean Responsive { get; } #

Gets whether the SVG carries self-contained responsive sizing for inline hosts.