File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ export function formatSignalRef({
6161 const field = fieldToFormat ( fieldOrDatumDef , expr , normalizeStack ) ;
6262 const type = channelDefType ( fieldOrDatumDef ) ;
6363
64+ // FIXME: this `config.customFormatTypes` clause should wrap all code relevant to formatCustomType
6465 if ( format === undefined && formatType === undefined && config . customFormatTypes ) {
6566 if ( type === 'quantitative' ) {
6667 if ( normalizeStack && config . normalizedNumberFormatType )
@@ -337,6 +338,7 @@ function wrapFormatExprToHandleInvalidValues({
337338 return mainFormatExpr ;
338339}
339340
341+ // FIXME: we shouldn't really export this to be called directly
340342export function binFormatExpression (
341343 startField : string ,
342344 endField : string ,
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ export function tooltipData(
100100
101101 let value : string ;
102102
103+ // FIXME: why doesn't this file just call formatSignalRef directly?
103104 if ( isXorY ( channel ) ) {
104105 const channel2 = channel === 'x' ? 'x2' : 'y2' ;
105106 const fieldDef2 = getFieldDef ( encoding [ channel2 ] ) ;
You can’t perform that action at this time.
0 commit comments