0

高图表 我正在努力开发带有多个组件的折线图和列图。这里每个组件都有不同的x轴值。请帮帮我

提前致谢

一般来说,我的确切问题是............

第一个组件:组件A

 var y1-axis: [
            {
                "name" : "3D",
                "type" : "line",
                "data" : ["0","0","0"]

            },

            {
                "name" : "3C",
                "type" : "line",
                "data" : ["0","0","0"]
            },

            {
                "name" : "3B-NDT",
                "type" : "line",
                "data" : ["0","0","0"]
            },
            {
                "name" : "3B",
                "type" : "line",
                "data" : ["0","0","0"]
            }]


 var x1-axis : [
            {
                "name" : "jobDescription",
                "type" : "",
                "data"  : ["7799","1046","1112"]

            }

         ]

第二个组件:组件B

 var y2-axis: [
            {
                "name" : "3D",
                "type" : "column",
                "data" : ["0","7.98","0"]

            },

            {
                "name" : "3C",
                "type" : "column",
                "data" : ["0","1.82","6.64"]
            },

            {
                "name" : "3B-NDT",
                "type" : "column",
                "data" : ["0","48.12","37.87"]
            }]

 var x2-axis : [
            {
                "name" : "jobDescription1",
                "type" : "",
                "data"  : ["7801", "1111", "1147"]

            }

         ]

hw 可以在单个图表中设计包含两个组件的柱形图,例如

请找到附上的highchart图片

4

1 回答 1

0

一般来说,在这个例子中使用xAxis.left和喜欢这样的事情是可能的:http: //jsfiddle.net/45v24/4/xAxis.width

但是,似乎工具提示有错误,报告在这里

于 2013-07-24T10:25:38.620 回答