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

fix: legend text.lineHeight option not work #773

Merged
merged 1 commit into from
Jun 22, 2021

Conversation

ssthouse
Copy link
Contributor

fix the Echart's issue:
apache/echarts#15165
apache/echarts#15077


with the following config:

        legend: {
            left: 'center',
            top: 'center',
            data:[
                'GoogleMaps','Facebook','Youtube','Google+','Weixin',
                'Twitter', 'Skype', 'Messenger', 'Whatsapp', 'Instagram'
            ],
            textStyle: {
                lineHeight: 100,
            },
        },

Before fixed, legend.textStyle.lineHeight is not working.

image

After fixed:

image

@pissang pissang merged commit 625efc0 into ecomfe:master Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants