import { BaseVisConfig, ColumnInfo, ENumericalColorScaleType, EScatterSelectSettings, ESupportedPlotlyVis, IPlotStats } from '../interfaces'; export interface IScatterConfig extends BaseVisConfig { type: ESupportedPlotlyVis.SCATTER; numColumnsSelected: ColumnInfo[]; facets: ColumnInfo | null; subplots: { xColumn: ColumnInfo; yColumn: ColumnInfo; title: string; }[] | undefined; color: ColumnInfo | null; numColorScaleType: ENumericalColorScaleType; shape: ColumnInfo | null; dragMode: EScatterSelectSettings; alphaSliderVal: number; showLabels: ELabelingOptions; showLabelLimit?: number; regressionLineOptions?: IRegressionLineOptions; showLegend?: boolean; labelColumns?: ColumnInfo[]; /** * Scale type of the x-axis (linear or log) */ xAxisScale?: 'linear' | 'log'; /** * Scale type of the y-axis (linear or log) */ yAxisScale?: 'linear' | 'log'; } export declare function isScatterConfig(s: BaseVisConfig): s is IScatterConfig; export declare enum ELabelingOptions { NEVER = "Never", ALWAYS = "Always", SELECTED = "Selected" } export declare enum ERegressionLineType { NONE = "None", LINEAR = "Linear", POLYNOMIAL = "Polynomial" } export interface IRegressionResult { stats: IPlotStats; equation: string; svgPath: string; xref: string; yref: string; } export interface IRegressionFitOptions { order: number; precision: number; } export interface IRegressionLineOptions { type: ERegressionLineType; fitOptions?: IRegressionFitOptions; showStats?: boolean; lineStyle?: Partial<{ colors: string[]; colorSelected: number; width: number; dash: Plotly.Dash; }>; } //# sourceMappingURL=interfaces.d.ts.map