@rekurt/openkline - v0.2.0
    Preparing search index...

    Class WatermarkPrimitive

    A 'bottom' z-tier Primitive that paints a faint text or image watermark behind the grid and series. Pure consumer of the Primitives framework — it needs zero ChartEngine changes, which is what validates F4.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id: string

    Stable id used for detach and hit-test routing.

    zOrder: PrimitiveZOrder = 'bottom'

    Paint tier.

    Methods

    • Paint the primitive. Should self-clip if it must stay inside the chart. priceFormat is the chart's host-supplied price formatter (from ChartConfig.priceFormat), so primitives that render a price label (e.g. price lines) match the axis/crosshair formatting instead of falling back to the library default.

      Parameters

      Returns void