Skip to content
ChartForgeX
Class

PlacedLabel

ChartForgeX.Rendering

Namespace
ChartForgeX.Rendering
Assembly
ChartForgeX
Modifiers
sealed

The deterministic placement result for one requested label.

Inheritance

  • object
  • PlacedLabel

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.

Returned or exposed by 1

Properties

public LabelPlacementRequest Request { get; } #

Gets the original request.

public string Text { get; } #

Gets the displayed text, or an empty string when dropped.

public ChartRect Bounds { get; } #

Gets the measured text rectangle in logical pixels.

public bool IsDropped { get; } #

Gets whether the label was dropped after its candidates were exhausted.

public bool IsEllipsized { get; } #

Gets whether the visible text was shortened.

public int CandidateIndex { get; } #

Gets the chosen candidate index, or minus one when dropped.

public bool HasLeaderLine { get; } #

Gets whether to draw a leader to the nearest point on the label box.

public ChartPoint LeaderEnd { get; } #

Gets the leader's endpoint on the label box.

public ChartPoint LeaderStart { get; internal set; } #

Gets the leader start, clipped to the source boundary when its anchor is inside the mark and its caption is outside.