hive/html/d3js/correlation_cords.js
// Returns an array of tick angles and labels, given a group.
Returns an array of tick angles and labels, given a group.
Returns an array of tick angles and labels given a group .
function groupTicks(d) {
              var k = (d.endAngle - d.startAngle) / d.value;
              return d3.range(0, d.value, 1000).map(function(v, i) {
                return {
                   angle: v * k + d.startAngle
                  ,label: i % 5 ? null : v/1000 + "k"
                };
              });
            }
function groupTicks ( d ) { var k = ( d . endAngle - d . startAngle ) / d . value ; return d3 . range ( 0 , d . value , 1000 ) . map ( function ( v , i ) { return { angle : v * k + d . startAngle , label : i % 5 ? null : v / 1000 + "k" } ; } ) ; }
Returns an array of tick angles and labels, given a group.
Returns an array of tick angles and labels given a group .