Skip to content

[Bug]: text标记文本消失 #7063

@3185234167

Description

@3185234167

Describe the bug / 问题描述

我在制作一个饼图是遇到一个问题。
使用text()标记了几个文本,在重新加载数据后,文本都会消失。
当我使用异步加载数据或刷新数据后。点击图例文本就全都会消失。
这一点包括在设置data时设置类型 type 为 fetch ,同样会触发。
包括在文档中 的这个 页面 中如下图的示例
Image
我们如果直接点击左上角图例筛选,里面的text()同样会消失

Reproduction link / 复现链接

No response

Steps to Reproduce the Bug or Issue / 重现步骤

  1. 创建一个图表
  2. 使用异步加载数据
  3. 显示一个text文本
  4. 点击图例进行筛选
  5. text文本消失

Version / 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for maintainerTriage or intervention needed from a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions