function addTicks(parent, config, data) {
    var ticks = parent.selectAll('g.ticks')
      .data(config.x.ticks(config.ticks))
      .enter()
        .append('svg:g')
          .attr('transform', function (d, i) { return formatString('translate({0}, 0)', config.left + config.x(d)); });
    ticks.append('svg:line')
          .attr('class', 'tick')
          .attr('y1', config.top)
          .attr('y2', config.bottom);
    ticks.append('svg:text')
          .attr('class', 'tickval')
          .attr('y', config.top)
          .attr('dy', -5)
          .text(config.x.tickFormat(config.ticks));

    return ticks;
  }
// Adds the ticks to the chart.
Adds the ticks to the chart.
Adds the ticks to the chart .
function addTicks(parent, config, data) {
    var ticks = parent.selectAll('g.ticks')
      .data(config.x.ticks(config.ticks))
      .enter()
        .append('svg:g')
          .attr('transform', function (d, i) { return formatString('translate({0}, 0)', config.left + config.x(d)); });
    ticks.append('svg:line')
          .attr('class', 'tick')
          .attr('y1', config.top)
          .attr('y2', config.bottom);
    ticks.append('svg:text')
          .attr('class', 'tickval')
          .attr('y', config.top)
          .attr('dy', -5)
          .text(config.x.tickFormat(config.ticks));
    return ticks;
  }
function addTicks ( parent , config , data ) { var ticks = parent . selectAll ( 'g.ticks' ) . data ( config . x . ticks ( config . ticks ) ) . enter ( ) . append ( 'svg:g' ) . attr ( 'transform' , function ( d , i ) { return formatString ( 'translate({0}, 0)' , config . left + config . x ( d ) ) ; } ) ; ticks . append ( 'svg:line' ) . attr ( 'class' , 'tick' ) . attr ( 'y1' , config . top ) . attr ( 'y2' , config . bottom ) ; ticks . append ( 'svg:text' ) . attr ( 'class' , 'tickval' ) . attr ( 'y' , config . top ) . attr ( 'dy' , - 5 ) . text ( config . x . tickFormat ( config . ticks ) ) ; return ticks ; }
Adds the ticks to the chart.
Adds the ticks to the chart .