Skip to main content

Interface: MuiMarkProps

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

What MUI hands a line's mark slot: the subset read here.

Properties​

dataIndex​

dataIndex: number

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

The mark's index along the x axis.


hidden?​

optional hidden?: boolean

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

The series is hidden (from its legend): nothing is drawn.


isFaded?​

optional isFaded?: boolean

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

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


isHighlighted?​

optional isHighlighted?: boolean

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

MUI highlights the mark; a logo keeps its size.


onClick?​

optional onClick?: (event) => void

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

MUI's click handler, kept on the image.

Parameters​

event​

never

Returns​

void


seriesId​

seriesId: string

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

The series the mark belongs to: by default its id is the team.


x?​

optional x?: string | number

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

The mark's centre in px.


y?​

optional y?: string | number

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

The mark's centre in px.