Skip to main content

Interface: MuiMarkerProps

Defined in: packages/sdvplot/src/mui.ts:151

What MUI hands a scatter's marker slot: the subset read here.

Properties​

dataIndex​

dataIndex: number

Defined in: packages/sdvplot/src/mui.ts:155

The point's index in its series' data.


isFaded?​

optional isFaded?: boolean

Defined in: packages/sdvplot/src/mui.ts:165

MUI fades the point (another series is highlighted): drawn at 0.3 of the opacity.


isHighlighted?​

optional isHighlighted?: boolean

Defined in: packages/sdvplot/src/mui.ts:163

MUI highlights the point (the pointer is on it or its series): drawn 1.2 times as tall.


onClick?​

optional onClick?: (event) => void

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

MUI's click handler, kept on the image.

Parameters​

event​

never

Returns​

void


seriesId​

seriesId: string

Defined in: packages/sdvplot/src/mui.ts:153

The series the point belongs to.


size​

size: number

Defined in: packages/sdvplot/src/mui.ts:161

The marker's radius in px: the series' markerSize. The logo is twice it tall.


x​

x: number

Defined in: packages/sdvplot/src/mui.ts:157

The point's centre in px.


y​

y: number

Defined in: packages/sdvplot/src/mui.ts:159

The point's centre in px.