This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/next by this push:
new 10ab1f5 fix: export truncateText
10ab1f5 is described below
commit 10ab1f52ed4dd4bf8b39d24e4392d67a94eaf966
Author: pissang <[email protected]>
AuthorDate: Mon Apr 6 18:26:51 2020 +0800
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 9569dd3..fe874d1 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 599fc17..d60a731 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]