        .attr("stroke-width", "none")
 
   ## configuration parameters
-
   chart.width = (value) ->
     if !arguments.length
       return width

      yscale.domain(ylim)
            .range([height, margin.inner])

      if yticks == null
        yticks = yscale.ticks(nyticks)

      # reorganize lod,pos by chromosomes
      data = reorgData(data, lodvarname)
      
      # chromosome scales
      data = chrscales(data, width, chrGap)
      xscale = data.xscale


                    .attr("r", pointsize)
                    .attr("fill", pointcolor)
                    .attr("pointer-events", "hidden")
      # these hidden points are what gets selected...a bit larger
      hiddenpoints = g.append("g").attr("id", "markerpoints_hidden")
      markerSelect =
        hiddenpoints.selectAll("empty")
