title: Setting Y axis range in dc series chart
body: <p>I am using dc.js to build a series chart. I am not able to set the Y axis start and end as desired. Can someone please suggest how to achieve a Y-axis that starts from 90 instead of 0 ? Ideally I would like to set Y-axis start as minimum of the data value and end as the maximum of the data value. </p>
  
  <p>Code: </p>
  
  <pre><code>d3.csv("data/compareData.txt", function(data) {
  
    ndx = crossfilter(data);
    runDimension = ndx.dimension(function(d) {return [+d3.time.format.iso.parse(d.timestamp), +d.meterid]; });
    runGroup = runDimension.group().reduceSum(function(d) { return +d.voltagemagnitude*100; });
  
    testChart
      .width(768)
      .height(480)
      .chart(function(c) { return dc.lineChart(c).interpolate('basis'); })
      .x(d3.time.scale().domain([1366621166000, 1366621179983]))
      .y(d3.scale.linear().domain([90, 100]))
      .brushOn(false)
      .yAxisLabel("Measured Speed km/s")
      .xAxisLabel("Run")
      .elasticY(true)
      .dimension(runDimension)
      .group(runGroup)
      .mouseZoomable(false)
      .seriesAccessor(function(d) {return "PMU: " + d.key[1];})
      .keyAccessor(function(d) {return +d.key[0];})
      .valueAccessor(function(d) {return +d.value;})
      .legend(dc.legend().x(350).y(350).itemHeight(13).gap(5).horizontal(1).legendWidth(140).itemWidth(70));
    testChart.yAxis().tickFormat(function(d) {return d3.format(',d')(d);});
    testChart.margins().left += 40;
  
    dc.renderAll();
  
  });
  </code></pre>