Table of Contents

Class BOBChartTextAnnotation<TX, TY>

Namespace
BlazOrbit.Charts.Models
Assembly
BlazOrbit.Charts.dll

Text label anchored at a data coordinate, optionally offset by a pixel delta (so the label can sit beside its anchor without overlapping the data point).

public sealed class BOBChartTextAnnotation<TX, TY> : BOBChartAnnotation where TX : notnull

Type Parameters

TX

X-axis domain type.

TY

Numeric Y-axis domain type.

Inheritance
object
BOBChartTextAnnotation<TX, TY>
Inherited Members

Constructors

BOBChartTextAnnotation()

public BOBChartTextAnnotation()

Properties

DxPx

Pixel offset on X applied after projection (e.g. +8 to push label right of the point).

public double DxPx { get; init; }

Property Value

double

DyPx

Pixel offset on Y applied after projection.

public double DyPx { get; init; }

Property Value

double

Text

The text to render.

public string Text { get; init; }

Property Value

string

X

Anchor X in domain space.

public TX X { get; init; }

Property Value

TX

Y

Anchor Y in domain space.

public TY Y { get; init; }

Property Value

TY