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

Log Axes bug: Working in Version 2, problem in Version 3 #3749

Closed
KrishnaPG opened this issue Jul 29, 2016 · 0 comments
Closed

Log Axes bug: Working in Version 2, problem in Version 3 #3749

KrishnaPG opened this issue Jul 29, 2016 · 0 comments
Labels

Comments

@KrishnaPG
Copy link

This below code is working in Version 2, and failing in Version 3. See the corrupted axes in Version 3.

Version 2 output:
image

Version 3 output:
image

The code:

{
    title: { text: "Plot", x: "center"      },
    tooltip: { trigger: "item", formatter: "{a} <br/>{b} : {c}"     },
    legend: { x: 'left',    data: ["Design 1"]      },
    xAxis: [
                {
                    type: "log",
                    name: "x",
                }
    ],
    yAxis: [
                {
                    type: "log",
                    name: "y",
                }
    ],
    toolbox: {
        show: true,
        feature: {
            mark: { show: true  },
            dataView: { show: true, readOnly: true  },
            restore: { show: true   },
            saveAsImage: { show: true   }
        }
    },
    calculable: true,
    series: [
                {
                    name: "Design 1",
                    type: "line",
                    data: [[50960, 10], [70960, 20], [90960, 30], [120960, 40], [150960, 50]]

                },
                {
                    name: "Design 2",
                    type: "line",
                    data: [],
                },
                {
                    name: "Design 3",
                    type: "line",
                    data: [],
                },
    ]
  }

Try the above code here for v3: http://echarts.baidu.com/demo.html#line-stack
and here for v2: http://echarts.baidu.com/echarts2/doc/example/line9.html#

@pissang pissang added the bug label Jul 30, 2016
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

2 participants