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

Comments

Projects
None yet
2 participants
@yuhualingfeng
Copy link

commented Nov 27, 2018

    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

This comment has been minimized.

Copy link
Contributor

commented Nov 28, 2018

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

@100pah 100pah closed this in 4c86ca5 Dec 2, 2018

100pah added a commit that referenced this issue 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
You can’t perform that action at this time.