This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch next in repository https://gitbox.apache.org/repos/asf/echarts.git
The following commit(s) were added to refs/heads/next by this push: new 7e05fa5 fix: show tooltip when all val are null new e7daf0c Merge pull request #16001 from kongmoumou/fix-tooltip 7e05fa5 is described below commit 7e05fa547fd758ce28f36efbbfe5bc6f80dfbf5f Author: kongmoumou <kongmoumou...@gmail.com> AuthorDate: Wed Nov 3 12:39:47 2021 +0800 fix: show tooltip when all val are null fix #15757 --- src/chart/helper/createSeriesData.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/chart/helper/createSeriesData.ts b/src/chart/helper/createSeriesData.ts index 704eed4..4e1bfd7 100644 --- a/src/chart/helper/createSeriesData.ts +++ b/src/chart/helper/createSeriesData.ts @@ -183,8 +183,7 @@ function createSeriesData( function isNeedCompleteOrdinalData(source: Source) { if (source.sourceFormat === SOURCE_FORMAT_ORIGINAL) { const sampleItem = firstDataNotNull(source.data as ArrayLike<any> || []); - return sampleItem != null - && !zrUtil.isArray(getDataItemValue(sampleItem)); + return !zrUtil.isArray(getDataItemValue(sampleItem)); } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org