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

VisualArtifactInterchangeMapping

Namespace ChartForgeX.VisualArtifacts
Assembly ChartForgeX
Modifiers static

Creates portable semantic interchange envelopes from ChartForgeX visual artifacts.

Inheritance

  • Object
  • VisualArtifactInterchangeMapping

Methods

public static VisualArtifactInterchangeEnvelope ToInterchangeEnvelope(VisualArtifact artifact, VisualArtifactRenderOptions? renderOptions = null) #
Returns: VisualArtifactInterchangeEnvelope

Creates a versioned semantic interchange envelope for an artifact.

Parameters

artifact ChartForgeX.VisualArtifacts.VisualArtifact requiredposition: 0
The artifact to project.
renderOptions ChartForgeX.VisualArtifacts.VisualArtifactRenderOptions? = null optionalposition: 1
Optional topology preparation options used to capture deterministic coordinates.

Returns

A portable semantic envelope. Unsupported visual kinds retain common metadata and use their separately rendered SVG fallback.

public static String ToInterchangeJson(VisualArtifact artifact, VisualArtifactRenderOptions? renderOptions = null) #
Returns: String

Serializes an artifact's semantic interchange envelope to deterministic JSON.

Parameters

artifact ChartForgeX.VisualArtifacts.VisualArtifact requiredposition: 0
renderOptions ChartForgeX.VisualArtifacts.VisualArtifactRenderOptions? = null optionalposition: 1
public static Byte[] ToInterchangeUtf8Json(VisualArtifact artifact, VisualArtifactRenderOptions? renderOptions = null) #
Returns: Byte[]

Serializes an artifact's semantic interchange envelope to deterministic UTF-8 JSON bytes.

Parameters

artifact ChartForgeX.VisualArtifacts.VisualArtifact requiredposition: 0
renderOptions ChartForgeX.VisualArtifacts.VisualArtifactRenderOptions? = null optionalposition: 1