You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/09/07 05:37:07 UTC
[incubator-echarts] branch new-tooltip2 updated: fix: eslint.
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch new-tooltip2
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/new-tooltip2 by this push:
new e14fd92 fix: eslint.
e14fd92 is described below
commit e14fd922bc0781df7eafd30dcca509e72350c5a8
Author: 100pah <su...@gmail.com>
AuthorDate: Mon Sep 7 13:36:37 2020 +0800
fix: eslint.
---
src/chart/radar/RadarSeries.ts | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/chart/radar/RadarSeries.ts b/src/chart/radar/RadarSeries.ts
index f7c5175..fb19f54 100644
--- a/src/chart/radar/RadarSeries.ts
+++ b/src/chart/radar/RadarSeries.ts
@@ -35,7 +35,9 @@ import {
import GlobalModel from '../../model/Global';
import List from '../../data/List';
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[];
@@ -103,7 +105,7 @@ class RadarSeriesModel extends SeriesModel<RadarSeriesOption> {
const indicatorAxes = coordSys.getIndicatorAxes();
const name = this.getData().getName(dataIndex);
const nameToDisplay = name === '' ? this.name : name;
- const markerColor = retrieveVisualColorForTooltip(this, dataIndex);
+ const markerColor = retrieveVisualColorForTooltipMarker(this, dataIndex);
return createTooltipMarkup('section', {
header: nameToDisplay,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org