Skip to content

fix: 修复迷你图 tooltip 不统一 #1578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 15, 2020
Merged

fix: 修复迷你图 tooltip 不统一 #1578

merged 2 commits into from
Sep 15, 2020

Conversation

lxfu1
Copy link
Member

@lxfu1 lxfu1 commented Sep 15, 2020

  • 修复 tiny tooltip 不统一问题。
  • 删除多余文件。

@auto-add-label auto-add-label bot added the Bug Something isn't working label Sep 15, 2020
@hustcc
Copy link
Member

hustcc commented Sep 15, 2020

这样改了之后,网站中 demo 的 tooltip 就是那个很大的吧,能默认是很小的那个 tooltip 吗?

@lxfu1
Copy link
Member Author

lxfu1 commented Sep 15, 2020

这样改了之后,网站中 demo 的 tooltip 就是那个很大的吧,能默认是很小的那个 tooltip 吗?

给默认 domStyles ?

@hustcc
Copy link
Member

hustcc commented Sep 15, 2020

这样改了之后,网站中 demo 的 tooltip 就是那个很大的吧,能默认是很小的那个 tooltip 吗?

给默认 domStyles ?

是的,给默认的 domStyles + customContent 吧,至少让不配置的时候就是 ok 的。他还要自定义,那就用自己写去。

@lxfu1
Copy link
Member Author

lxfu1 commented Sep 15, 2020

这样改了之后,网站中 demo 的 tooltip 就是那个很大的吧,能默认是很小的那个 tooltip 吗?

给默认 domStyles ?

是的,给默认的 domStyles + customContent 吧,至少让不配置的时候就是 ok 的。他还要自定义,那就用自己写去。

这是目前已有的
image

@hustcc
Copy link
Member

hustcc commented Sep 15, 2020

这样改了之后,网站中 demo 的 tooltip 就是那个很大的吧,能默认是很小的那个 tooltip 吗?

给默认 domStyles ?

是的,给默认的 domStyles + customContent 吧,至少让不配置的时候就是 ok 的。他还要自定义,那就用自己写去。

这是目前已有的
image

加一个 demo 截图看看 tooltip 吧。另外上图中,formatter 默认值是不是已经不需要了?

@lxfu1
Copy link
Member Author

lxfu1 commented Sep 15, 2020

这样改了之后,网站中 demo 的 tooltip 就是那个很大的吧,能默认是很小的那个 tooltip 吗?

给默认 domStyles ?

是的,给默认的 domStyles + customContent 吧,至少让不配置的时候就是 ok 的。他还要自定义,那就用自己写去。

这是目前已有的
image

加一个 demo 截图看看 tooltip 吧。另外上图中,formatter 默认值是不是已经不需要了?

image

@hustcc hustcc self-requested a review September 15, 2020 13:13
@hustcc hustcc merged commit 09b30d3 into master Sep 15, 2020
@hustcc hustcc deleted the fix/tiny branch September 15, 2020 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working PR: merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants