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

Comments

Projects
None yet
3 participants
@Erimus-Koo

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

This comment has been minimized.

Erimus-Koo commented Dec 4, 2017

@pissang pissang added the bug label Dec 7, 2017

@Ovilia Ovilia closed this in 88b7b49 Feb 8, 2018

@Ovilia

This comment has been minimized.

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