Skip to content

Commit

Permalink
Why did autoformat change so much code, a mystery
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Jul 18, 2023
1 parent ed54fc3 commit 1dfd3b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/vega-lite-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -21739,6 +21739,10 @@
],
"description": "Sets the minimum value in the scale domain, overriding the domain property. This property is only intended for use with scales having continuous domains."
},
"domainRaw": {
"$ref": "#/definitions/ExprRef",
"description": "An expression for an array of raw values that, if non-null, directly overrides the _domain_ property. This is useful for supporting interactions such as panning or zooming a scale. The scale may be initially determined using a data-driven domain, then modified in response to user input by setting the rawDomain value."
},
"exponent": {
"anyOf": [
{
Expand Down
3 changes: 3 additions & 0 deletions src/scale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ const SCALE_PROPERTY_INDEX: Flag<keyof Scale<any>> = {
domainMax: 1,
domainMin: 1,
domainMid: 1,
domainRaw: 1,
align: 1,
range: 1,
rangeMax: 1,
Expand Down Expand Up @@ -793,6 +794,7 @@ export function scaleTypeSupportProperty(scaleType: ScaleType, propName: keyof S
case 'domainMax':
case 'domainMid':
case 'domainMin':
case 'domainRaw':
case 'clamp':
return isContinuousToContinuous(scaleType);
case 'nice':
Expand Down Expand Up @@ -838,6 +840,7 @@ export function channelScalePropertyIncompatability(channel: Channel, propName:
case 'domain':
case 'domainMax':
case 'domainMin':
case 'domainRaw':
case 'range':
case 'base':
case 'exponent':
Expand Down

0 comments on commit 1dfd3b7

Please sign in to comment.