Skip to content

fix: legend text.lineHeight option not work#773

Merged
pissang merged 1 commit into
ecomfe:masterfrom
ssthouse:fix/legend-text-lineHeight
Jun 22, 2021
Merged

fix: legend text.lineHeight option not work#773
pissang merged 1 commit into
ecomfe:masterfrom
ssthouse:fix/legend-text-lineHeight

Conversation

@ssthouse
Copy link
Copy Markdown
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