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

splitArea显示bug #7118

Closed
Erimus-Koo opened this issue Nov 25, 2017 · 2 comments
Closed

splitArea显示bug #7118

Erimus-Koo opened this issue Nov 25, 2017 · 2 comments
Labels

Comments

@Erimus-Koo
Copy link

Erimus-Koo commented Nov 25, 2017

设置xAxis.splitArea后,且有interval时,尾端余数格未填充。

见图:
image

注意最右侧露出的grid背景。

option = {
    grid:{
        show:true,
        backgroundColor:'yellow',
    },
    xAxis: {
        type: 'category',
        data: [1,2,3,4,5,6,7,8,],
        splitArea:{
            show:true,
            interval:2, //<<<
            areaStyle:{
                color:['#181818','#222']
            },
        }
    },
    yAxis: {
        type: 'value',
    },
    series: [
        {
            name:'data',
            type:'line',
            smooth:true,
            data: [0,0.2,0.1,0.4,0.2,0.3,0.1,0],
        },
    ]
};
@Erimus-Koo
Copy link
Author

@pissang

@Ovilia
Copy link
Contributor

Ovilia commented Feb 8, 2018

@Erimus-Koo 已修复,下个版本上线

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants