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

VisualCanvasInfoTileLayer

Namespace ChartForgeX.Composition
Assembly ChartForgeX.Visuals
Modifiers sealed

Reusable information tile layer.

Inheritance

Usage

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

Constructors

public VisualCanvasInfoTileLayer(Double x, Double y, Double width, Double height, String icon, String label, String value) #

Initializes a reusable information tile layer.

Parameters

x System.Double requiredposition: 0
The tile X coordinate.
y System.Double requiredposition: 1
The tile Y coordinate.
width System.Double requiredposition: 2
The tile width.
height System.Double requiredposition: 3
The tile height.
icon System.String requiredposition: 4
The compact icon or symbol.
label System.String requiredposition: 5
The tile label.
value System.String requiredposition: 6
The primary tile value.

Methods

public VisualCanvasInfoTileLayer WithMiniChart(VisualCanvasInfoTileMiniChartKind kind, IEnumerable<Double>? values, Double? maximum = null) #
Returns: VisualCanvasInfoTileLayer

Sets the compact chart rendered inside the tile.

Parameters

kind ChartForgeX.Composition.VisualCanvasInfoTileMiniChartKind requiredposition: 0
values System.Collections.Generic.IEnumerable<System.Double>? requiredposition: 1
maximum System.Double? = null optionalposition: 2
public VisualCanvasInfoTileLayer WithSparkline(SparklineData data, SparklineStyle style = Line) #
Returns: VisualCanvasInfoTileLayer

Sets shared compact samples and presentation, retaining missing slots and real zeroes.

Parameters

data ChartForgeX.Core.SparklineData requiredposition: 0
style ChartForgeX.Core.SparklineStyle = Line optionalposition: 1
public VisualCanvasInfoTileLayer WithTextFitPolicy(VisualCanvasTextFitPolicy policy) #
Returns: VisualCanvasInfoTileLayer

Sets the text fit policy used by renderers for this information tile.

Parameters

policy ChartForgeX.Composition.VisualCanvasTextFitPolicy requiredposition: 0

Properties

public SparklineData? SparklineData { get; private set; } #

Gets configured sample slots, including missing observations.

public String Icon { get; set; } #

Gets or sets the compact icon or symbol.

public String Label { get; set; } #

Gets or sets the tile label.

public String Value { get; set; } #

Gets or sets the primary value.

public String Detail { get; set; } #

Gets or sets optional detail text.

public ChartColor Accent { get; set; } #

Gets or sets the accent color.

public ChartColor? AccentOverride { get; set; } #

Gets or sets an explicit accent color. When empty, renderers use the current theme accent.

public VisualCanvasInfoTileSurfaceStyle SurfaceStyle { get; set; } #

Gets or sets the tile surface treatment.

public VisualCanvasInfoTileIconKind IconKind { get; set; } #

Gets or sets the tile icon treatment.

public VisualCanvasInfoTileMiniChartKind MiniChartKind { get; set; } #

Gets or sets the compact chart kind rendered inside the tile.

public VisualCanvasTextFitPolicy TextFitPolicy { get; set; } #

Gets or sets how label, value, and detail text should be fitted inside this tile.

public IReadOnlyList<Double> MiniChartValues { get; } #

Gets finite compact observations. Use VisualCanvasInfoTileLayer.SparklineData for original nullable sample slots.

public Double? MiniChartMaximum { get; set; } #

Gets or sets the optional compact chart maximum. When empty, the values define the scale.

public Double? Progress { get; set; } #

Gets or sets optional progress from zero to one.