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

Legend 的第一个icon显示不全 #9471

Closed
yuhualingfeng opened this issue Nov 27, 2018 · 1 comment
Closed

Legend 的第一个icon显示不全 #9471

yuhualingfeng opened this issue Nov 27, 2018 · 1 comment

Comments

@yuhualingfeng
Copy link

    legend: {
        type: 'scroll',
        bottom: 0,
        data: (function (){
            var list = [];
            for (var i = 1; i <=28; i++) {
                list.push({name:i + 2000 + '',icon:'circle'});
            }
            return list;
        })()
    }

legend的type设置为scroll,且data中的icon被设置为circle时,如果出现滚动条,第一个icon会出现显示不全

@cuijian-dexter
Copy link
Contributor

@yuhualingfeng you can fix it by modifying the source code.
The links are as follows: #9480

@100pah 100pah closed this as completed in 4c86ca5 Dec 2, 2018
100pah added a commit that referenced this issue Dec 4, 2018
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

No branches or pull requests

2 participants