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

解决方案 »

  1.   

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

  2.   

    不是table啊,显示出来的是rect<rect rx="0" ry="0" fill="rgb(192,192,192)" x="148" y="1241" width="55" height="42" stroke-width="0" isTracker="1329203865780" fill-opacity="0.000001" visibility="visible" zIndex="1" style="cursor:pointer;">
    <rect rx="0" ry="0" fill="rgb(192,192,192)" x="30" y="1241" width="55" height="42" stroke-width="0" isTracker="1329203865780" fill-opacity="0.000001" visibility="visible" zIndex="1" style="cursor:pointer;">
      

  3.   

    我以前也遇到这个问题,这个事highchart引用文件中自动生成的,你要改只能改这里了
    //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