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

Struct

LabelCandidate

Namespace ChartForgeX.Rendering
Assembly ChartForgeX
Base ValueType
Modifiers sealed

A candidate text-box position relative to a label's anchor, tried in list order.

Inheritance

  • ValueType
  • LabelCandidate

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

public LabelCandidate(Double offsetX, Double offsetY, Double horizontalAlignment = 0, Double verticalAlignment = 0) #

Creates a candidate. Alignment fractions are zero at the leading edge and one at the trailing edge.

Parameters

offsetX System.Double requiredposition: 0
offsetY System.Double requiredposition: 1
horizontalAlignment System.Double = 0 optionalposition: 2
verticalAlignment System.Double = 0 optionalposition: 3

Properties

public Double OffsetX { get; } #

Gets the horizontal offset in logical pixels.

public Double OffsetY { get; } #

Gets the vertical offset in logical pixels.

public Double HorizontalAlignment { get; } #

Gets the horizontal alignment fraction.

public Double VerticalAlignment { get; } #

Gets the vertical alignment fraction.