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

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

Comments

Projects
None yet
2 participants
@KrishnaPG

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

@pissang pissang closed this in f275b2e Jul 30, 2016

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