Skip to main content

Interface: TanstackDotMarkOptions<X, Y>

Defined in: packages/sdvplot/src/tanstack.ts:162

What sdvplot hands TanStack's dot(data, options) (its DotOptions, structurally).

Type Parameters​

X​

X extends string = string

Y​

Y extends string = string

Properties​

fill​

fill: string

Defined in: packages/sdvplot/src/tanstack.ts:173

url(#<id>): the pattern withPatterns writes into the chart's SVG.


fillOpacity​

fillOpacity: number

Defined in: packages/sdvplot/src/tanstack.ts:174


id​

id: string

Defined in: packages/sdvplot/src/tanstack.ts:164

The mark's id, and its pattern's.


key​

key: (d) => string

Defined in: packages/sdvplot/src/tanstack.ts:169

Each dot's key: its row's index (sdv_key).

Parameters​

d​

TanstackImageFields

Returns​

string


r​

r: number

Defined in: packages/sdvplot/src/tanstack.ts:171

The dot's radius in px: the image fits inside it, uncut.


x​

x: X

Defined in: packages/sdvplot/src/tanstack.ts:166

The row fields of the x and y channels, as given.


y​

y: Y

Defined in: packages/sdvplot/src/tanstack.ts:167