From 10ab1f52ed4dd4bf8b39d24e4392d67a94eaf966 Mon Sep 17 00:00:00 2001 From: pissang Date: Mon, 6 Apr 2020 18:26:51 +0800 Subject: [PATCH] fix: export truncateText --- src/chart/parallel/ParallelView.ts | 1 + src/util/format.ts | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/chart/parallel/ParallelView.ts b/src/chart/parallel/ParallelView.ts index 9569dd31f..fe874d1ab 100644 --- a/src/chart/parallel/ParallelView.ts +++ b/src/chart/parallel/ParallelView.ts @@ -200,6 +200,7 @@ function updateElCommon( seriesScope: ParallelDrawSeriesScope ) { el.useStyle(data.getItemVisual(dataIndex, 'style')); + el.style.fill = null; seriesScope.smooth && (el.shape.smooth = seriesScope.smooth); } diff --git a/src/util/format.ts b/src/util/format.ts index 599fc17dc..d60a7311b 100644 --- a/src/util/format.ts +++ b/src/util/format.ts @@ -242,4 +242,7 @@ export function formatTime(tpl: string, value: number | string | Date, isUTC?: b */ export function capitalFirst(str: string): string { return str ? str.charAt(0).toUpperCase() + str.substr(1) : str; -} \ No newline at end of file +} + + +export {truncateText} from 'zrender/src/graphic/helper/parseText'; \ No newline at end of file -- GitLab