日期:2014-05-16  浏览次数:20402 次

highcharts中怎么调整第一个数据的宽度
如图


我这每个的第一个元素的宽度和后面的都不一样,请问怎么调增,在js中我没有写控制这个的代码,估计是自动生成的吧

------解决方案--------------------
是table表格吗?如果是设置一个td的样式宽带
------解决方案--------------------
探讨

是table表格吗?如果是设置一个td的样式宽带

------解决方案--------------------
我以前也遇到这个问题,这个事highchart引用文件中自动生成的,你要改只能改这里了
JScript code

//304行
else if (c === "isTracker") this[c] = d; else if (c === "width") d = ja(d); else if (c === "align") { c = "text-anchor"; 
d = { left: "start", 
center: "right", //改这边
right: "end"}[d] } 
if (c === "strokeWidth") c = "stroke-width"; if (Nd && c === "stroke-width" && d === 0) d = 1.0E-6; if (this.symbolName && /^(x|y|r|start|end|innerR)/.test(c)) {
                if (!J) {
                    this.symbolAttr(a);
                    J = true
                } l = true
            } if (n && /^(width|height|visibility|x|y|d)$/.test(c)) for (e = n.length; e--; ) Ea(n[e], c, d); if ((c === "width" || c === "height") && h === "rect" && d < 0) d = 0; if (c === "text") { this.textStr = d; this.added && j.buildText(this) } else l || Ea(g, c, d)
        } return D