Skip to content

RadarSeries API

Extended documentation for the RadarSeries interface with detailed information on the module's properties and available APIs.

Demos

Import

import { RadarSeries } from '@mui/x-charts';
// or
import { RadarSeries } from '@mui/x-charts-pro';
// or
import { RadarSeries } from '@mui/x-charts-premium';

Properties

Type:number[]


Type:'radar'


Optional

Color to use when displaying the series. If `colorGetter` is provided, it will be used to get the color for each data point instead. Otherwise, this color will be used for all data points in the series.

Type:string


Optional

A function that returns a color based on the value and/or the data index of a point. The returned color is used when displaying the specific data point, e.g., a marker in a line chart. When the color of the entire series is required, e.g., in legends, the `color` property is used instead.

Type:(data: { value: number, dataIndex: number }) => string


Optional

If `true` fill the series area.

Type:boolean


Optional

If `true` hide marks at value position.

Type:boolean


Optional

The scope to apply when the series is highlighted.

Type:{ highlight?: 'item' | 'none' | 'series', fade?: 'global' | 'none' | 'series' }


Optional

The id of this series.

Type:string


Optional

The label to display on the tooltip or the legend. It can be a string or a function.

Type:(location: 'legend' | 'tooltip') => string | string


Optional

Defines the mark type for the series. There is a default mark type for each series type.

Type:'circle' | 'line' | 'line+mark' | 'square' | ComponentClass<ChartsLabelCustomMarkProps, any> | FunctionComponent<ChartsLabelCustomMarkProps>


Optional

Formatter used to render values in tooltip or other data display.

Type:(value: number, context: { dataIndex: number }) => string