@@ -37,15 +37,18 @@ export function resultsFail() {
37
37
// TODO: do I need to do anything here?
38
38
}
39
39
40
- export function setOptions ( groupKey , histogramParams , key = null ) {
40
+ export function setOptions ( groupKey , histogramParams ) {
41
41
const flds = [
42
42
{ fieldKey : 'columnOrExpr' , value : get ( histogramParams , 'columnOrExpr' ) } ,
43
43
{ fieldKey : 'x' , value : get ( histogramParams , 'x' , '_none_' ) } ,
44
44
{ fieldKey : 'y' , value : get ( histogramParams , 'y' , '_none_' ) } ,
45
45
{ fieldKey : 'algorithm' , value : get ( histogramParams , 'algorithm' , 'fixedSizeBins' ) } ,
46
46
{ fieldKey : 'falsePositiveRate' , value : get ( histogramParams , 'falsePositiveRate' , '0.05' ) } ,
47
- { fieldKey : 'fixedBinSizeSelection' , value : get ( histogramParams , 'fixedBinSizeSelection' , 'numBins' ) } ,
48
- { fieldKey : 'numBins' , value : get ( histogramParams , 'numBins' , '50' ) }
47
+ { fieldKey : 'fixedBinSizeSelection' , value :'numBins' } ,
48
+ { fieldKey : 'numBins' , value : get ( histogramParams , 'numBins' , '50' ) } ,
49
+ { fieldKey : 'binWidth' , value : get ( histogramParams , 'binWidth' , '' ) } ,
50
+ { fieldKey : 'minCutoff' , value : get ( histogramParams , 'minCutoff' , '' ) } ,
51
+ { fieldKey : 'maxCutoff' , value : get ( histogramParams , 'maxCutoff' , '' ) }
49
52
50
53
51
54
] ;
0 commit comments