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

使用svg渲染时,tooltip指示轴文本内容显示位置错误 #7947

Closed
realeve opened this Issue Mar 16, 2018 · 3 comments

Comments

Projects
None yet
5 participants
@realeve

realeve commented Mar 16, 2018

One-line summary [问题简述]

image

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:
  • Browser version [浏览器类型和版本]:
  • OS Version [操作系统类型和版本]:

Expected behaviour [期望结果]

image

ECharts option [ECharts配置项]

 var myChart = echarts.init(document.querySelector("#container"), null, {
        renderer: "canvas"
    });
    var option = {
        xAxis: {
            type: 'category',
            data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
        },
        tooltip: {
            type: 'axis',
            axisPointer: {
                type: 'cross'
            }
        },
        yAxis: {
            type: 'value'
        },
        series: [{
            data: [820, 932, 901, 934, 1290, 1330, 1320],
            type: 'line'
        }]
    };

    myChart.setOption(option, true);

Other comments [其他信息]

@Paul-Kijtapart

This comment has been minimized.

Paul-Kijtapart commented Mar 16, 2018

Update
I found that this bug does not happen with echarts@3.8.5

@mecha9

This comment has been minimized.

mecha9 commented Apr 10, 2018

This bug started in 4.0.3 release commit: 0d19f00?diff=unified

The 'fix stupid mistake' commit before it did not have this problem. Unfortunately the 4.0.3 release commit is very big.

@Ovilia Ovilia self-assigned this Apr 13, 2018

@Ovilia

This comment has been minimized.

Contributor

Ovilia commented Apr 16, 2018

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