Question: I am using inappbrowser to open external link in my project for ios. But the external link has horizontal scroll in "inappbrowser" , when i am opening the link in system browser ,it is opening fine. Is there any way so that i can get the external link view without scroll in inappbrowser. I am using cordova 2.8.0.
Thanks in advance .

Answer: 
If you don't care about the appearance of the text and just want to force it to fit, you could do it with:

```
...
.style('font-size', 14)
.each(function (d, i) {
  var self = d3.select(this),
    pathLen = d3.select("#outerArc" + i).node().getTotalLength();

    self.attr("textLength", pathLen)
    self.attr("lengthAdjust", "spacingAndGlyphs");
    self.attr("y", "50%");
    self.attr("x", "50%");
  });

```

Updated [codpen](http://codepen.io/anon/pen/JXzEGe?editors=0010)
Did you try something like : 

```
.text(function (d) {
    if (d.yourTextString.length > attrs.width/20) {
        //use a specific size;
    }
    else if (d.yourTextString.length > attrs.width/40) {
        //use another specific size;
    }
    else if (d.yourTextString.length > attrs.width/60) { ...

```

It's easily usable on any chart, since it depends on the chart size, then you can adapt/change the /20 /40 /60 to fit your needs, you can use like 3 - 4 different cases and it should be enough, if you don't need to perfectly fill the chart with text. 
I used something like this few weeks ago, worked for me, not sure if it's enough here.