mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
18 lines
379 B
TypeScript
18 lines
379 B
TypeScript
import 'echarts/lib/chart/scatter';
|
|
|
|
import type {ScatterSeriesOption} from 'echarts';
|
|
|
|
import theme from 'sentry/utils/theme';
|
|
|
|
export default function ScatterSeries(props: ScatterSeriesOption): ScatterSeriesOption {
|
|
return {
|
|
symbolSize: theme.charts.symbolSize,
|
|
...props,
|
|
type: 'scatter',
|
|
emphasis: {
|
|
...props.emphasis,
|
|
scale: true,
|
|
},
|
|
};
|
|
}
|