Skip to content
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

怎样该表图标中文字的样式和对齐方式? #18123

Open
huluBrother opened this issue Dec 29, 2022 · 1 comment
Open

怎样该表图标中文字的样式和对齐方式? #18123

huluBrother opened this issue Dec 29, 2022 · 1 comment
Labels
new-feature pending We are not sure about whether this is a bug/new feature.

Comments

@huluBrother
Copy link

What problem does this feature solve?

这是示例
image

这是代码

label: {
              show: true, // 图形上的文本标签, 可用于说明图形的一些数据信息, 比如值, 名称等
              fontSize: 12,
              color: '#000', //如果设置为 'inherit',则为视觉映射得到的颜色,如系列色。
              width: 100,
              overflow: "break", //文字超出宽度是否截断或者换行。配置width时有效
            },

What does the proposed API look like?

这是我找到的API
https://echarts.apache.org/handbook/zh/concepts/style

@echarts-bot echarts-bot bot added the pending We are not sure about whether this is a bug/new feature. label Dec 29, 2022
@echarts-bot
Copy link

echarts-bot bot commented Dec 29, 2022

@huluBrother It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

What about the style and alignment of the text in the table icon?

BODY

What problem does this feature solve?

Here is the example
image

Here is the code

label: {
              show: true, // text label on the graph, which can be used to illustrate some data information of the graph, such as value, name, etc.
              fontSize: 12,
              color: '#000', //If set to 'inherit', it is the color obtained by visual mapping, such as series color.
              width: 100,
              overflow: "break", //Whether the text is truncated or wraps if it exceeds the width. Valid when width is configured
            },

What does the proposed API look like?

Here is the API I found
https://echarts.apache.org/handbook/zh/concepts/style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

1 participant