提交 e14fd922 编写于 作者: 1 100pah

fix: eslint.

上级 bb4559fe
...@@ -35,7 +35,9 @@ import { ...@@ -35,7 +35,9 @@ import {
import GlobalModel from '../../model/Global'; import GlobalModel from '../../model/Global';
import List from '../../data/List'; import List from '../../data/List';
import Radar from '../../coord/radar/Radar'; import Radar from '../../coord/radar/Radar';
import { createTooltipMarkup, retrieveVisualColorForTooltipMarker as retrieveVisualColorForTooltip } from '../../component/tooltip/tooltipMarkup'; import {
createTooltipMarkup, retrieveVisualColorForTooltipMarker
} from '../../component/tooltip/tooltipMarkup';
type RadarSeriesDataValue = OptionDataValue[]; type RadarSeriesDataValue = OptionDataValue[];
...@@ -103,7 +105,7 @@ class RadarSeriesModel extends SeriesModel<RadarSeriesOption> { ...@@ -103,7 +105,7 @@ class RadarSeriesModel extends SeriesModel<RadarSeriesOption> {
const indicatorAxes = coordSys.getIndicatorAxes(); const indicatorAxes = coordSys.getIndicatorAxes();
const name = this.getData().getName(dataIndex); const name = this.getData().getName(dataIndex);
const nameToDisplay = name === '' ? this.name : name; const nameToDisplay = name === '' ? this.name : name;
const markerColor = retrieveVisualColorForTooltip(this, dataIndex); const markerColor = retrieveVisualColorForTooltipMarker(this, dataIndex);
return createTooltipMarkup('section', { return createTooltipMarkup('section', {
header: nameToDisplay, header: nameToDisplay,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册