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

axisLine.show doesn't work in the gauge #9194

Closed
YuriGor opened this issue Oct 10, 2018 · 0 comments · Fixed by OpenTMI/opentmi-default-gui#32 or DeviaVir/zenbot#2011 · May be fixed by dyna-dot/iClient-JavaScript-s#1
Closed

axisLine.show doesn't work in the gauge #9194

YuriGor opened this issue Oct 10, 2018 · 0 comments · Fixed by OpenTMI/opentmi-default-gui#32 or DeviaVir/zenbot#2011 · May be fixed by dyna-dot/iClient-JavaScript-s#1
Labels

Comments

@YuriGor
Copy link
Contributor

YuriGor commented Oct 10, 2018

axisLine.show doesn't work in the gauge
Example from docs:

option = {
    tooltip : {
        formatter: "{a} <br/>{b} : {c}%"
    },
    toolbox: {
        feature: {
            restore: {},
            saveAsImage: {}
        }
    },
    series: [
        {
            name: '业务指标',
            type: 'gauge',
            detail: {formatter:'{value}%'},
            data: [{value: 50, name: '完成率'}],
            axisLine: {"show": false}
        }
    ]
};

setInterval(function () {
    option.series[0].data[0].value = (Math.random() * 100).toFixed(2) - 0;
    myChart.setOption(option, true);
},2000);

YuriGor added a commit to YuriGor/incubator-echarts that referenced this issue Oct 10, 2018
As described in  apache#9194 - echarts ignores axisLine.show option. Support for this option added by this commit.
@Ovilia Ovilia added the bug label Oct 11, 2018
@Ovilia Ovilia closed this as completed Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants