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

toolbox title is cut by parent container #10951

Closed
aterilio opened this issue Aug 1, 2019 · 1 comment
Closed

toolbox title is cut by parent container #10951

aterilio opened this issue Aug 1, 2019 · 1 comment
Assignees
Labels
difficulty: normal Issues that can be fixed with the average difficulty. en This issue is in English enhancement priority: high
Milestone

Comments

@aterilio
Copy link

aterilio commented Aug 1, 2019

  • previous version (probably 2.0.2)

image1

  • lastest version (4.2.1)

image2

Version

4.2.1

Steps to reproduce

var option = {
	toolbox: {
		show: true,
		itemSize: 20,
		itemGap: 13,
		feature: {
			saveAsImage: {
				show: true,
				title: 'Save as Image'
			}
		}
	}
}

If I create a toolbox with the above options,
the title will be truncated and only 'Save as Im' will be shown.

In previous versions (see section 'GlobalRequire.version = '2.0.2', probably 2.0.2),
the position was adjusted appropriately and was not cut.

What is expected?

toolbox's title not to be truncated (appropriate positioning)

What is actually happening?

toolbox's title was cut (only visible 'Save as Im')


Additionally , I wanna set each different info for icon, iconStyle and emphasis in toolbox's magictype element..
(for now, I'm making a custom button and using it.)

@echarts-bot
Copy link

echarts-bot bot commented Aug 1, 2019

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for-help labels Aug 1, 2019
@deqingli deqingli removed pending We are not sure about whether this is a bug/new feature. waiting-for-help labels Aug 6, 2019
@Ovilia Ovilia added difficulty: normal Issues that can be fixed with the average difficulty. enhancement priority: high and removed bug labels Aug 30, 2019
@Ovilia Ovilia added this to the 4.5.0 milestone Sep 4, 2019
@Ovilia Ovilia self-assigned this Sep 24, 2019
Ovilia added a commit that referenced this issue Oct 22, 2019
Ovilia added a commit that referenced this issue Oct 25, 2019
fix(toolbox): avoid text overflow when mouseon #10951
@Ovilia Ovilia closed this as completed Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: normal Issues that can be fixed with the average difficulty. en This issue is in English enhancement priority: high
Projects
None yet
Development

No branches or pull requests

3 participants