Sha256: 08ae9ce6bc5501f2eea577df31968d1336208f1161d54b1598811c6d8296d799
Contents?: true
Size: 934 Bytes
Versions: 31
Compression:
Stored size: 934 Bytes
Contents
circosJS.Highlight = -> circosJS.Track.call @ @parseData = circosJS.parseSpanStringData @renderDatumContainer = (instance, parentElement, name, data, conf) => group = @renderBlock parentElement, data, instance._layout, conf @renderDatum = (parentElement, conf, layout, utils) -> parentElement.selectAll 'tile' .data (d) -> d.values .enter().append 'path' .attr 'class', 'tile' .attr 'd', d3.svg.arc() .innerRadius conf.innerRadius .outerRadius conf.outerRadius .startAngle (d, i) -> utils.theta d.start, layout.blocks[d.block_id] .endAngle (d, i) -> utils.theta d.end, layout.blocks[d.block_id] .attr 'fill', (d) -> d.value || conf.color .attr 'opacity', (d) -> d.opacity || conf.opacity .attr 'stroke-width', (d) -> d.strokeWidth || conf.strokeWidth .attr 'stroke', (d) -> d.strokeColor || conf.strokeColor return @
Version data entries
31 entries across 31 versions & 1 rubygems