hive/html/d3js/sunburst_hierarchy.js
// Mapping of step names to colors.
Mapping of step names to colors.
Mapping of step names to colors .
function clr(d,i){
                if(!d.color){
                    return 'lightgray';
                }
                var shade = 2*d.lev_depth/thiSS.maxLevel;
                var max_lev = 0.75;
                return lightenColor (d.color,1-(1./(1.1+shade)));
                }
function clr ( d , i ) { if ( ! d . color ) { return 'lightgray' ; } var shade = 2 * d . lev_depth / thiSS . maxLevel ; var max_lev = 0.75 ; return lightenColor ( d . color , 1 - ( 1. / ( 1.1 + shade ) ) ) ; }
Mapping of step names to colors.
Mapping of step names to colors .
//return d.color; //var shade=thiSS.categClrArr[d.category] ? thiSS.categClrArr[d.category] : (thiSS.categClrArr[d.category]=thiSS.categClrDensity++); //                var shade=thiSS.categClrArr[d.category] ? thiSS.categClrArr[d.category] : (d.lev_depth); //                shade =   //                Math.exp (d.lev_depth - thiSS.maxLevel); //                return lightenColor (d.color, Math.pow (1.1, d.lev_depth - thiSS.maxLevel) );