Skip to content

Commit

Permalink
make facets and regressionLineOptions optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dvmartinweigl committed Apr 30, 2024
1 parent 23a8390 commit 3810238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vis/scatter/interfaces.ts
Expand Up @@ -3,15 +3,15 @@ import { BaseVisConfig, ColumnInfo, ENumericalColorScaleType, EScatterSelectSett
export interface IScatterConfig extends BaseVisConfig {
type: ESupportedPlotlyVis.SCATTER;
numColumnsSelected: ColumnInfo[];
facets: ColumnInfo | null;
color: ColumnInfo | null;
numColorScaleType: ENumericalColorScaleType;
shape: ColumnInfo | null;
dragMode: EScatterSelectSettings;
alphaSliderVal: number;
sizeSliderVal: number;
showLabels: ELabelingOptions;
regressionLineOptions: IRegressionLineOptions;
facets?: ColumnInfo | null;
regressionLineOptions?: IRegressionLineOptions;
}

export function isScatterConfig(s: BaseVisConfig): s is IScatterConfig {
Expand Down

0 comments on commit 3810238

Please sign in to comment.