API Reference
VisualCanvasInfoTileLayer
Reusable information tile layer.
Inheritance
- VisualCanvasLayer
- VisualCanvasInfoTileLayer
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.
Returned or exposed by 3
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
- The tile X coordinate.
- y System.Double
- The tile Y coordinate.
- width System.Double
- The tile width.
- height System.Double
- The tile height.
- icon System.String
- The compact icon or symbol.
- label System.String
- The tile label.
- value System.String
- The primary tile value.
Methods
public VisualCanvasInfoTileLayer WithMiniChart(VisualCanvasInfoTileMiniChartKind kind, IEnumerable<Double>? values, Double? maximum = null) #VisualCanvasInfoTileLayerSets the compact chart rendered inside the tile.
Parameters
- kind ChartForgeX.Composition.VisualCanvasInfoTileMiniChartKind
- values System.Collections.Generic.IEnumerable<System.Double>?
- maximum System.Double? = null
public VisualCanvasInfoTileLayer WithSparkline(SparklineData data, SparklineStyle style = Line) #VisualCanvasInfoTileLayerSets shared compact samples and presentation, retaining missing slots and real zeroes.
Parameters
- data ChartForgeX.Core.SparklineData
- style ChartForgeX.Core.SparklineStyle = Line
public VisualCanvasInfoTileLayer WithTextFitPolicy(VisualCanvasTextFitPolicy policy) #VisualCanvasInfoTileLayerSets the text fit policy used by renderers for this information tile.
Parameters
- policy ChartForgeX.Composition.VisualCanvasTextFitPolicy
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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.
Inherited Properties
public Double X { get; set; } #public Double Y { get; set; } #public Double Width { get; set; } #public Double Height { get; set; } #public ChartRect Bounds { get; } #