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

area 渲染出错 #3956

Closed
100pah opened this Issue Aug 29, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@100pah
Member

100pah commented Aug 29, 2016

记录一下:

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version): 3.2.3

ECharts配置项 (ECharts option)

var chart = echarts.init(document.getElementById('main'));

var option = {
    "grid": {
        "left": 72,
        "right": 77
    },
    "xAxis": {
        "type": "category",
        "data": ["2016-07-23","2016-08-22"]
    },
    "yAxis": {
        "type": "value"
    },
    "series": [
        {
            "type": "line",
            "areaStyle": {
                "normal": {
                    "color": "rgb(255, 242, 230)"
                }
            },
            "showAllSymbol": true,
            "data": ["69","62"]
        }
    ]
};

var option1 = {
    xAxis: {data: ["2016-05-24","2016-07-23","2016-08-22"]},
    series: {data: ["66","67","62"]}
};

var option2 = {
    xAxis: {data: ["2016-02-24","2016-05-24","2016-07-23","2016-08-22"]},
    series: {data: ["61","57","62","65"]}
};


chart.setOption(option);

setTimeout(function () {
    chart.setOption(option1);

    setTimeout(function () {
        chart.setOption(option2);
    }, 2000)

}, 2000)

})

其他信息 (Other comments)

2016-08-29 9 10 14

@100pah 100pah closed this in b094545 Aug 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment